This commit is contained in:
crivelphilip committed 2023-01-20 10:29:35 +01:00
1 parent 6fc22b0da5
commit 766efce688
475 files changed
+72727 -1

No files matched your search

+56
View File
@@ -0,0 +1,56 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
location "0";
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
internalField uniform (0 0 0);
boundaryField
{
atmosphere
{
type directionMixed;
refValue uniform (0 0 0);
refGradient uniform (0 0 0);
valueFraction uniform (0 0 0 0 0 1);
value uniform (0 0 0);
}
snowBed
{
type fixedValue;
value uniform (0 0 0);
}
xMin
{
type cyclic;
}
xMax
{
type cyclic;
}
yMin
{
type cyclic;
}
yMax
{
type cyclic;
}
}
// ************************************************************************* //
+52
View File
@@ -0,0 +1,52 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object epsilon;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -3 0 0 0 0];
internalField uniform 14.855;
boundaryField
{
atmosphere
{
type zeroGradient;
}
snowBed
{
type epsilonLowReWallFunction;
value uniform 14.855;
}
xMin
{
type cyclic;
}
xMax
{
type cyclic;
}
yMin
{
type cyclic;
}
yMax
{
type cyclic;
}
}
// ************************************************************************* //
+52
View File
@@ -0,0 +1,52 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0];
internalField uniform 0.24;
boundaryField
{
atmosphere
{
type zeroGradient;
}
snowBed
{
type kLowReWallFunction;
value uniform 0.24;
}
xMin
{
type cyclic;
}
xMax
{
type cyclic;
}
yMin
{
type cyclic;
}
yMax
{
type cyclic;
}
}
// ************************************************************************* //
+51
View File
@@ -0,0 +1,51 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object nuSgs;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -1 0 0 0 0];
internalField uniform 0;
boundaryField
{
atmosphere
{
type zeroGradient;
}
snowBed
{
type zeroGradient;
}
xMin
{
type cyclic;
}
xMax
{
type cyclic;
}
yMin
{
type cyclic;
}
yMax
{
type cyclic;
}
}
// ************************************************************************* //
+51
View File
@@ -0,0 +1,51 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object nuTilda;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -1 0 0 0 0];
internalField uniform 0;
boundaryField
{
atmosphere
{
type zeroGradient;
}
snowBed
{
type zeroGradient;
}
xMin
{
type cyclic;
}
xMax
{
type cyclic;
}
yMin
{
type cyclic;
}
yMax
{
type cyclic;
}
}
// ************************************************************************* //
+53
View File
@@ -0,0 +1,53 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object nut;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -1 0 0 0 0];
internalField uniform 0;
boundaryField
{
atmosphere
{
type zeroGradient;
}
snowBed
{
type nutkAtmRoughWallFunction;
z0 1e-05;
value uniform 0;
}
xMin
{
type cyclic;
}
xMax
{
type cyclic;
}
yMin
{
type cyclic;
}
yMax
{
type cyclic;
}
}
// ************************************************************************* //
+51
View File
@@ -0,0 +1,51 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0];
internalField uniform 0;
boundaryField
{
atmosphere
{
type zeroGradient;
}
snowBed
{
type zeroGradient;
}
xMin
{
type cyclic;
}
xMax
{
type cyclic;
}
yMin
{
type cyclic;
}
yMax
{
type cyclic;
}
}
// ************************************************************************* //
+9
View File
@@ -0,0 +1,9 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cleanCase
# ----------------------------------------------------------------- end-of-file
+29
View File
@@ -0,0 +1,29 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
rm -r log.*
rm -r *.obj
# Get application directory
application=`getApplication`
echo $application
## Get the number of processors to run on from system/decomposeParDict
nProc=$(getNumberOfProcessors)
echo "the number of processors to run on from system/decomposeParDict: $nProc"
# Create mesh
runApplication fluent3DMeshToFoam MOSAiC_seaice.msh
# Re-assign the patches
runApplication createPatch -overwrite
# Distribute domain among processors
runApplication decomposePar
# Run snow transport model
runApplication mpirun -np $nProc $application -parallel
Binary file not shown.
+22
View File
@@ -0,0 +1,22 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class uniformDimensionedVectorField;
location "constant";
object g;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -2 0 0 0 0];
value (0 0 -9.81);
// ************************************************************************* //
@@ -0,0 +1,191 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object kinematicCloudProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#include "../setUp" // include file with all the settings
// NUMERICAL SETTINGS
solution
{
// Activation of particles and coupling method
active true;//false; // activation of particles
coupled true;//false; //two-way coupling
transient yes;
cellValueSourceCorrection on;
// Interpolation method
interpolationSchemes
{
rho cell;
U cellPoint;
mu cell;
}
// Integration method
integrationSchemes
{
U analytical; //Euler;
}
// Relaxation
sourceTerms
{
schemes
{
U semiImplicit 0.5; //the number is relaxCoeff for the field
}
}
}
// FLOW PROPERTIES
constantProperties
{
rho0 $rhoPar;
alphaMax 1;
}
// PARTICLE SUBMODELS
subModels
{
// Acting forces
particleForces
{
sphereDrag;
gravity;
}
// Injection models
injectionModels
{
/*
model1
{
type patchInjection;
parcelBasisType mass;
patchName atmosphere; //patch for injecting particles
U0 (0 0 -1.544); //terminal fall velocity
sizeDistribution //particle size distribution
{
type normal;
normalDistribution
{
expectation 0.0002;
variance 0.00005;
minValue 5e-5;
maxValue 0.0005;
}
}
flowRateProfile constant 1; //flow rate
massTotal 3543.45; //kg. Mass injected in "duration"
SOI 0;
duration 3600; //s. Time duration where massTotal is injected.
parcelsPerSecond 0.05e6; //number of particles per s.
}
*/
}
// Particle dispersion model
dispersionModel none;
// Rebound-splash of snow particles
patchInteractionModel localInteractionStickReboundSplash; //none;
localInteractionStickReboundSplashCoeffs
{
patches
(
atmosphere
{
type escape;
e 1.0;
mu 0.0;
}
// Snow surface settings
snowBed
{
// Rebound coefficients
type stickReboundSplash;
Pm 0.9; //(-) max probability of rebound.
gamma 2.0; //(-) rebound
// Splash entrainment coefficients
epsilonr 0.25; //(-) energy balance
mur 0.5; //(-) momentum balance
muf 0.4; //(-) momentum balance
bEne 10e-9; //(-) bed cohesion
corrm 0.0; //(-) mass-velocity correlation
corre 0.0; //(-) mass-velocity correlation
pppMax $pppMax; //maximum number of particles per parcel
// Particle diameter properties
dm $dm; //m. mean particle diameter
ds $ds; //m. std deviation of diameter
d_max $d_max; //m. maximum particle diameter
d_min $d_min; //m. minimum particle diameter
}
);
// Particle probability distributions
sizeDistributionTriple
{
type normalLogNormalExponential;
normalLogNormalExponentialDistribution
{
//nothing
}
}
}
heatTransferModel none;
surfaceFilmModel none;
collisionModel none;
stochasticCollisionModel none;
radiation off;
// Aerodynamic entrainment of snow particles
bedAerodynamicLiftInjectionModel logLawShearStress; //none;
logLawShearStressCoeffs
{
// Particle probability distributions
sizeDistributionTriple
{
type normalLogNormalExponential;
normalLogNormalExponentialDistribution
{
//nothing
}
};
// Particle and coefficient settings
aerodynamicLiftPatch snowBed; //patch for entrainement
tauLogLaw false; //shear stress computation method
dm $dm; //m. mean particle diameter.
ds $ds; //m. std deviation of diameter
d_max $d_max; //m. maximum particle diameter
d_min $d_min; //m. minimum particle diameter
z0 $Z0; //m. aerodynamic roughness.
pppMin $pppMin; //number of particles per parcel.
SOA 100; //s. start of activation.
Acst 0.2; //(-). fluid threshold coefficient.
}
}
cloudFunctions
{
}
// ************************************************************************* //
+59
View File
@@ -0,0 +1,59 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class polyBoundaryMesh;
location "constant/polyMesh";
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
6
(
xMi_shadow
{
type patch;
nFaces 8004;
startFace 6108402;
}
xMi
{
type patch;
nFaces 8004;
startFace 6116406;
}
yMi_shadow
{
type patch;
nFaces 7482;
startFace 6124410;
}
yMi
{
type patch;
nFaces 7482;
startFace 6131892;
}
atmosphere
{
type patch;
nFaces 71208;
startFace 6139374;
}
snowBed
{
type wall;
inGroups 1(wall);
nFaces 71208;
startFace 6210582;
}
)
// ************************************************************************* //
+36
View File
@@ -0,0 +1,36 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object transportProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#include "../setUp"
contiuousPhaseName ;
transportModel Newtonian;
rho $rho; //continuous phase field
nu nu [ 0 2 -1 0 0 0 0 ] $nu; //continuous phase field
// ************************************************************************* //
vKC $vKC; // the Von Kármán constant
Z0 $Z0; // the surface roughness, in m s-1
Ustar $Ustar; // the friction velocity, in m s-1
flowDirection $flowDirection; // the friction velocity, (0 0 0) means no cyclic BCs and no external pressure gradient
H $zMax; // the height for the fluid domain, in m
noiseFactor $noiseFactor;
// ************************************************************************* //
constantPGrad true;
+38
View File
@@ -0,0 +1,38 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object turbulenceProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
simulationType RAS;
RAS
{
RASModel kEpsilon;
turbulence on;
printCoeffs on;
// Optional model coefficients, kEpsilon
kEpsilonCoeffs
{
Cmu 0.033;
C1 1.44;
C2 1.92;
C3 0.0;
sigmak 1.0;
sigmaEps 1.85;
}
// ************************************************************************* //
View File
Whitespace-only changes.
+42
View File
@@ -0,0 +1,42 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
// ************************************************************************* //
zMax 15; // maximum z-extent of domain (m).
// Initial values for the variables.
p0 0.0; // initial pressure (normalized by density) (m^2/s^2).
nut0 0.0; // initial turbulent viscosity (m^2/s).
nuTilda0 0.0; // initial value for nuTilda (m^2/s).
k0 0.24; // initial turbulent kinetic energy (m^2/s^2).
epsilon0 14.855; // initial turbulent dissipation energy (m^2/s^2).
omega0 440.15; // initial value for omega (s^-1).
// General conditions and parameters for flow.
nu 1.134e-5;// continuous phase field-kinetic viscosity (m^2/s).
rho 1.41034; // continuous phase field density (kg/m3).
// General parameters for the Lagrangian particles (cfr kinematicCloudProperties).
rhoPar 900; // particle density (kg m-3)
dm 0.0002; // mean particle diameter (m)
ds 0.00005; // std deviation of particle diameter (m)
d_max 0.0005; // maximum particle diameter (m)
d_min 5e-5; // minimum particle diameter (m)
pppMax 1000; // number of particles per parcel (splash entrainment)
pppMin 100; // number of particles per parcel (aerodynamic entrainment)
// General parameters for fluid forcing.
vKC 0.41; // von Kármán constant (-)
Z0 0.00001; // aerodynamic surface roughness (m)
Ustar 0.314; // friction velocity (m s-1)
flowDirection (0 1 0); // direction vector of friction velocity, (x y z) with x+y+z=1
H $zMax; // vertical height for the fluid component (m)
noiseFactor 0.0; // create artificial turbulence (noise factor)
// ************************************************************************* //
+53
View File
@@ -0,0 +1,53 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application snowBedFoam; //snow transport solver
startFrom latestTime;
startTime 0; //initial timestep (s)
stopAt endTime;
endTime 1000; //end of simulation time (s)
deltaT 1.e-3; //if fixed timestep (s)
writeControl adjustableRunTime; //timestep adjusted to maxCo
writeInterval 1;
purgeWrite 100;
writeFormat ascii;
writePrecision 6;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable true;
adjustTimeStep yes;
maxCo 2; //maximum CFL number
maxDeltaT 0.01; //maximum timestep (s)
// ************************************************************************* //
+106
View File
@@ -0,0 +1,106 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object createPatchDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// This application/dictionary controls:
// - optional: create new patches from boundary faces (either given as
// a set of patches or as a faceSet)
// - always: order faces on coupled patches such that they are opposite. This
// is done for all coupled faces, not just for any patches created.
// - optional: synchronise points on coupled patches.
// - always: remove zero-sized (non-coupled) patches (that were not added)
// 1. Create cyclic:
// - specify where the faces should come from
// - specify the type of cyclic. If a rotational specify the rotationAxis
// and centre to make matching easier
// - always create both halves in one invocation with correct 'neighbourPatch'
// setting.
// - optionally pointSync true to guarantee points to line up.
pointSync false;
// Patches to create.
patches
(
{
// Name of new patch
name xMin;
// Dictionary to construct new patch from
patchInfo
{
type cyclic;
neighbourPatch xMax;
transform unknown;
matchTolerance 0.01;
}
// How to construct: either from 'patches' or 'set'
constructFrom patches;
// If constructFrom = patches : names of patches. Wildcards allowed.
patches (xMi);
}
{
// Name of new patch
name xMax;
// Dictionary to construct new patch from
patchInfo
{
type cyclic;
neighbourPatch xMin;
transform unknown;//rotational;
matchTolerance 0.01;
}
// How to construct: either from 'patches' or 'set'
constructFrom patches;
// If constructFrom = patches : names of patches. Wildcards allowed.
patches (xMi_shadow);
}
{
// Name of new patch
name yMin;
// Dictionary to construct new patch from
patchInfo
{
type cyclic;
neighbourPatch yMax;
transform unknown;
matchTolerance 0.01;
}
// How to construct: either from 'patches' or 'set'
constructFrom patches;
// If constructFrom = patches : names of patches. Wildcards allowed.
patches (yMi);
}
{
// Name of new patch
name yMax;
// Dictionary to construct new patch from
patchInfo
{
type cyclic;
neighbourPatch yMin;
transform unknown; //rotational;
matchTolerance 0.01;
}
// How to construct: either from 'patches' or 'set'
constructFrom patches;
// If constructFrom = patches : names of patches. Wildcards allowed.
patches (yMi_shadow);
}
);
// ************************************************************************* //
+28
View File
@@ -0,0 +1,28 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.2 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object decomposeParDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
numberOfSubdomains 20; //number of processors
method simple; //decomposition method
preservePatches (xMin xMax yMin yMax); //for cyclic BCs
simpleCoeffs
{
n (5 4 1); //number of processors in x,y,z direction
delta 0.001;
}
// ************************************************************************* //
+67
View File
@@ -0,0 +1,67 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
ddtSchemes
{
default Euler;
}
gradSchemes
{
default Gauss linear;
grad(p) Gauss linear;
grad(U) Gauss linear;
}
divSchemes
{
default none;
div(alphaPhic,U) bounded Gauss linearUpwind grad(U);
div(((alpha*nuEff)*dev2(T(grad(U))))) Gauss linear;
div(phiGByA,kinematicCloud:alpha) Gauss linear;
div(((alpha*nuEff)*dev2(T(grad(U))))) Gauss linear;
div(alphaPhic,k) bounded Gauss upwind;
div(alphaPhic,epsilon) bounded Gauss upwind;
div(alphaPhic,omega) bounded Gauss upwind;
}
laplacianSchemes
{
default Gauss linear limited 0.333;
}
interpolationSchemes
{
default linear;
interpolate(U) linear;
}
snGradSchemes
{
default limited 0.333;
}
fluxRequired
{
default no;
p ;
kinematicCloud:alpha;
}
// ************************************************************************* //
+89
View File
@@ -0,0 +1,89 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers
{
p
{
solver GAMG;
tolerance 1e-06;
relTol 0.01;
smoother GaussSeidel;
cacheAgglomeration true;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
}
pFinal
{
solver GAMG;
tolerance 1e-06;
relTol 0;
smoother GaussSeidel;
cacheAgglomeration true;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
}
"(U|k|omega|epsilon|nuTilda)"
{
solver smoothSolver;
smoother symGaussSeidel;
tolerance 1e-05;
relTol 0.1;
}
"(U|k|omega|epsilon|nuTilda)Final"
{
$U;
tolerance 1e-05;
relTol 0;
}
/*kinematicCloud:alpha
{
solver GAMG;
tolerance 1e-06;
relTol 0.1;
smoother GaussSeidel;
cacheAgglomeration true;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
}*/
}
PIMPLE
{
nOuterCorrectors 2;
nCorrectors 2;
momentumPredictor yes;
nNonOrthogonalCorrectors 0;
pRefCell 0;
pRefValue 0;
}
relaxationFactors
{
}
// ************************************************************************* //