summaryrefslogtreecommitdiff
path: root/src/dynamics
diff options
context:
space:
mode:
Diffstat (limited to 'src/dynamics')
-rw-r--r--src/dynamics/ADMlatticeDescriptors.h63
-rw-r--r--src/dynamics/MakeHeader33
-rw-r--r--src/dynamics/SmagorinskyPorousParticleBGKdynamics.h71
-rw-r--r--src/dynamics/SmagorinskyPorousParticleBGKdynamics.hh119
-rw-r--r--src/dynamics/SmagorinskyPowerLawBGKdynamics.h73
-rw-r--r--src/dynamics/SmagorinskyPowerLawBGKdynamics.hh154
-rw-r--r--src/dynamics/SmagorinskyPowerLawPorousBGKdynamics.h66
-rw-r--r--src/dynamics/SmagorinskyPowerLawPorousBGKdynamics.hh133
-rw-r--r--src/dynamics/WALELatticeDescriptors.h54
-rw-r--r--src/dynamics/advectionDiffusionDynamics.h201
-rw-r--r--src/dynamics/advectionDiffusionDynamics.hh442
-rw-r--r--src/dynamics/advectionDiffusionForces.h108
-rw-r--r--src/dynamics/advectionDiffusionForces.hh130
-rw-r--r--src/dynamics/advectionDiffusionMomenta.h88
-rw-r--r--src/dynamics/advectionDiffusionMomenta.hh159
-rw-r--r--src/dynamics/chopardDynamics.cpp39
-rw-r--r--src/dynamics/chopardDynamics.h67
-rw-r--r--src/dynamics/chopardDynamics.hh139
-rw-r--r--src/dynamics/d3q13Helpers.h141
-rw-r--r--src/dynamics/descriptorBase.h110
-rw-r--r--src/dynamics/descriptorField.h201
-rw-r--r--src/dynamics/descriptorFunction.h190
-rw-r--r--src/dynamics/descriptorTag.h75
-rw-r--r--src/dynamics/dynOmegaLatticeDescriptors.h73
-rw-r--r--src/dynamics/dynSmagorinskyLatticeDescriptors.h47
-rw-r--r--src/dynamics/dynamics.cpp105
-rw-r--r--src/dynamics/dynamics.h995
-rw-r--r--src/dynamics/dynamics.hh2026
-rw-r--r--src/dynamics/dynamics2D.h64
-rw-r--r--src/dynamics/dynamics2D.hh56
-rw-r--r--src/dynamics/dynamics3D.h68
-rw-r--r--src/dynamics/dynamics3D.hh59
-rw-r--r--src/dynamics/entropicDynamics.cpp41
-rw-r--r--src/dynamics/entropicDynamics.h143
-rw-r--r--src/dynamics/entropicDynamics.hh433
-rw-r--r--src/dynamics/entropicLbHelpers.h79
-rw-r--r--src/dynamics/entropicLbHelpers2D.h102
-rw-r--r--src/dynamics/entropicLbHelpers3D.h106
-rw-r--r--src/dynamics/firstOrderLbHelpers.h132
-rw-r--r--src/dynamics/firstOrderLbHelpers2D.h105
-rw-r--r--src/dynamics/firstOrderLbHelpers3D.h285
-rw-r--r--src/dynamics/freeEnergyDynamics.cpp48
-rw-r--r--src/dynamics/freeEnergyDynamics.h120
-rw-r--r--src/dynamics/freeEnergyDynamics.hh243
-rw-r--r--src/dynamics/freeEnergyPostProcessor2D.h242
-rw-r--r--src/dynamics/freeEnergyPostProcessor2D.hh511
-rw-r--r--src/dynamics/freeEnergyPostProcessor3D.h231
-rw-r--r--src/dynamics/freeEnergyPostProcessor3D.hh631
-rw-r--r--src/dynamics/guoZhaoDynamics.h74
-rw-r--r--src/dynamics/guoZhaoDynamics.hh143
-rw-r--r--src/dynamics/guoZhaoLatticeDescriptors.h67
-rw-r--r--src/dynamics/guoZhaoLbHelpers.h166
-rw-r--r--src/dynamics/interactionPotential.cpp62
-rw-r--r--src/dynamics/interactionPotential.h140
-rw-r--r--src/dynamics/interactionPotential.hh194
-rw-r--r--src/dynamics/latticeDescriptors.cpp51
-rw-r--r--src/dynamics/latticeDescriptors.h404
-rw-r--r--src/dynamics/lbHelpers.h678
-rw-r--r--src/dynamics/lbHelpersD2Q5.h222
-rw-r--r--src/dynamics/lbHelpersD2Q9.h343
-rw-r--r--src/dynamics/lbHelpersD3Q15.h305
-rw-r--r--src/dynamics/lbHelpersD3Q19.h567
-rw-r--r--src/dynamics/lbHelpersD3Q27.h548
-rw-r--r--src/dynamics/lbHelpersD3Q7.h305
-rw-r--r--src/dynamics/module.mk27
-rw-r--r--src/dynamics/mrtDynamics.cpp75
-rw-r--r--src/dynamics/mrtDynamics.h97
-rw-r--r--src/dynamics/mrtDynamics.hh203
-rw-r--r--src/dynamics/mrtHelpers.h182
-rw-r--r--src/dynamics/mrtHelpers2D.h229
-rw-r--r--src/dynamics/mrtHelpers3D.h586
-rw-r--r--src/dynamics/mrtLatticeDescriptors.h477
-rw-r--r--src/dynamics/navierStokesAdvectionDiffusionCouplingPostProcessor2D.h184
-rw-r--r--src/dynamics/navierStokesAdvectionDiffusionCouplingPostProcessor2D.hh417
-rw-r--r--src/dynamics/navierStokesAdvectionDiffusionCouplingPostProcessor3D.h244
-rw-r--r--src/dynamics/navierStokesAdvectionDiffusionCouplingPostProcessor3D.hh485
-rw-r--r--src/dynamics/navierStokesAdvectionDiffusionMRTCouplingPostProcessor2D.h91
-rw-r--r--src/dynamics/navierStokesAdvectionDiffusionMRTCouplingPostProcessor2D.hh134
-rw-r--r--src/dynamics/navierStokesAdvectionDiffusionMRTCouplingPostProcessor3D.h149
-rw-r--r--src/dynamics/navierStokesAdvectionDiffusionMRTCouplingPostProcessor3D.hh281
-rw-r--r--src/dynamics/porousAdvectionDiffusionDescriptors.h43
-rw-r--r--src/dynamics/porousAdvectionDiffusionDynamics.h63
-rw-r--r--src/dynamics/porousAdvectionDiffusionDynamics.hh117
-rw-r--r--src/dynamics/porousBGKdynamics.h273
-rw-r--r--src/dynamics/porousBGKdynamics.hh671
-rw-r--r--src/dynamics/porousForcedBGKDynamics.h65
-rw-r--r--src/dynamics/porousForcedBGKDynamics.hh104
-rw-r--r--src/dynamics/porousLatticeDescriptors.h87
-rw-r--r--src/dynamics/powerLawBGKdynamics.h93
-rw-r--r--src/dynamics/powerLawBGKdynamics.hh157
-rw-r--r--src/dynamics/rtlbmDescriptors.h104
-rw-r--r--src/dynamics/rtlbmDynamics.h90
-rw-r--r--src/dynamics/rtlbmDynamics.hh187
-rw-r--r--src/dynamics/shanChenDynGForcedPostProcessor2D.h87
-rw-r--r--src/dynamics/shanChenDynGForcedPostProcessor2D.hh205
-rw-r--r--src/dynamics/shanChenDynOmegaForcedPostProcessor2D.h85
-rw-r--r--src/dynamics/shanChenDynOmegaForcedPostProcessor2D.hh197
-rw-r--r--src/dynamics/shanChenDynOmegaForcedPostProcessor3D.h85
-rw-r--r--src/dynamics/shanChenDynOmegaForcedPostProcessor3D.hh206
-rw-r--r--src/dynamics/shanChenForcedLatticeDescriptors.h70
-rw-r--r--src/dynamics/shanChenForcedPostProcessor2D.h85
-rw-r--r--src/dynamics/shanChenForcedPostProcessor2D.hh197
-rw-r--r--src/dynamics/shanChenForcedPostProcessor3D.h85
-rw-r--r--src/dynamics/shanChenForcedPostProcessor3D.hh206
-rw-r--r--src/dynamics/shanChenForcedSingleComponentPostProcessor2D.h87
-rw-r--r--src/dynamics/shanChenForcedSingleComponentPostProcessor2D.hh171
-rw-r--r--src/dynamics/shanChenForcedSingleComponentPostProcessor3D.h85
-rw-r--r--src/dynamics/shanChenForcedSingleComponentPostProcessor3D.hh176
-rw-r--r--src/dynamics/shearSmagorinskyLatticeDescriptors.h77
-rw-r--r--src/dynamics/smagorinskyBGKdynamics.cpp44
-rw-r--r--src/dynamics/smagorinskyBGKdynamics.h374
-rw-r--r--src/dynamics/smagorinskyBGKdynamics.hh1361
-rw-r--r--src/dynamics/smagorinskyGuoZhaoDynamics.h75
-rw-r--r--src/dynamics/smagorinskyGuoZhaoDynamics.hh118
-rw-r--r--src/dynamics/smagorinskyMRTdynamics.h95
-rw-r--r--src/dynamics/smagorinskyMRTdynamics.hh164
-rw-r--r--src/dynamics/stochasticSGSdynamics.h102
-rw-r--r--src/dynamics/stochasticSGSdynamics.hh293
-rw-r--r--src/dynamics/superGuoZhaoPostProcessor2D.h54
-rw-r--r--src/dynamics/superGuoZhaoPostProcessor2D.hh92
-rw-r--r--src/dynamics/wallFunctionLatticeDescriptors.h42
121 files changed, 24903 insertions, 0 deletions
diff --git a/src/dynamics/ADMlatticeDescriptors.h b/src/dynamics/ADMlatticeDescriptors.h
new file mode 100644
index 0000000..d6bb59d
--- /dev/null
+++ b/src/dynamics/ADMlatticeDescriptors.h
@@ -0,0 +1,63 @@
+/* This file is part of the OpenLB library
+ *
+ * Copyright (C) 2012 Mathias J. Krause, Jonas Latt
+ * E-mail contact: info@openlb.net
+ * The most recent release of OpenLB can be downloaded at
+ * <http://www.openlb.net/>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+*/
+
+#ifndef ADM_BGK_DYNAMICS_DESCRIPTOR_H
+#define ADM_BGK_DYNAMICS_DESCRIPTOR_H
+
+#include "dynamics/latticeDescriptors.h"
+//#include <cmath>
+
+
+namespace olb {
+
+namespace descriptors {
+
+// 2D Descriptors for ADM
+
+using ADMD2Q9Descriptor = D2Q9<FIL_RHO,LOCAL_FIL_VEL_X,LOCAL_FIL_VEL_Y>;
+
+////////////////////////////////////////////////////////////////////////////////
+// extended descriptor for ADM
+
+using ADMD3Q19Descriptor = D3Q19<FIL_RHO,LOCAL_FIL_VEL_X,LOCAL_FIL_VEL_Y,LOCAL_FIL_VEL_Z>;
+
+////////////////////////////////////////
+/// ADM Descriptors for forced fields
+
+//// Forced 2D ADM scheme
+using ForcedADMD2Q9Descriptor = D2Q9<FORCE,FIL_RHO,LOCAL_FIL_VEL_X,LOCAL_FIL_VEL_Y>;
+
+//// Forced 3D ADM scheme
+
+using ForcedADMD3Q19Descriptor = D3Q19<FORCE,FIL_RHO,LOCAL_FIL_VEL_X,LOCAL_FIL_VEL_Y,LOCAL_FIL_VEL_Z>;
+
+//// Forced adapted 3D ADM scheme
+
+using ForcedAdaptiveADMD3Q19Descriptor = D3Q19<FORCE,FIL_RHO,LOCAL_FIL_VEL_X,LOCAL_FIL_VEL_Y,LOCAL_FIL_VEL_Z,LOCAL_AV_DISS,LOCAL_AV_TKE,LOCAL_SIGMA_ADM,LOCAL_NU_EDDY,TAU_W>;
+
+
+} // namespace descriptors
+
+} // namespace olb
+
+#endif
diff --git a/src/dynamics/MakeHeader b/src/dynamics/MakeHeader
new file mode 100644
index 0000000..b1acde0
--- /dev/null
+++ b/src/dynamics/MakeHeader
@@ -0,0 +1,33 @@
+# This file is part of the OpenLB library
+#
+# Copyright (C) 2007 Mathias Krause
+# E-mail contact: info@openlb.net
+# The most recent release of OpenLB can be downloaded at
+# <http://www.openlb.net/>
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public
+# License along with this program; if not, write to the Free
+# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+# Boston, MA 02110-1301, USA.
+
+
+generic :=
+
+precompiled := chopardDynamics \
+ dynamics \
+ entr