Tutorial update: block solver

This commit is contained in:
Hrvoje Jasak 2017-04-26 18:36:31 +01:00
parent 2344656c85
commit 193c90c29d
5 changed files with 26 additions and 22 deletions

View file

@ -17,14 +17,14 @@ FoamFile
dimensions [0 2 -3 0 0 0 0];
internalField uniform 0.0001;
internalField uniform 0.003;
boundaryField
{
inlet
{
type fixedValue;
value uniform 0.0001;
value uniform 0.003;
}
outlet
{
@ -34,7 +34,7 @@ boundaryField
{
type epsilonWallFunction;
refValue uniform 0;
value uniform 0.0001;
value uniform 0.003;
Cmu 0.09;
kappa 0.41;
E 9.8;
@ -43,7 +43,7 @@ boundaryField
{
type epsilonWallFunction;
refValue uniform 0;
value uniform 0.0001;
value uniform 0.003;
Cmu 0.09;
kappa 0.41;
E 9.8;

View file

@ -14,7 +14,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
RASModel kEpsilon;
RASModel coupledKEpsilon;
turbulence on;

View file

@ -17,14 +17,14 @@ FoamFile
dimensions [0 2 -3 0 0 0 0];
internalField uniform 0.0001;
internalField uniform 0.003;
boundaryField
{
inlet
{
type fixedValue;
value uniform 0.0001;
value uniform 0.003;
}
outlet
{
@ -34,7 +34,7 @@ boundaryField
{
type epsilonWallFunction;
refValue uniform 0;
value uniform 0.0001;
value uniform 0.003;
Cmu 0.09;
kappa 0.41;
E 9.8;
@ -43,7 +43,7 @@ boundaryField
{
type epsilonWallFunction;
refValue uniform 0;
value uniform 0.0001;
value uniform 0.003;
Cmu 0.09;
kappa 0.41;
E 9.8;

View file

@ -82,15 +82,6 @@ functions
name epsilon;
}
minMaxOmega
{
type minMaxField;
// Where to load it from (if not already in solver)
functionObjectLibs ("libfieldFunctionObjects.so");
name omega;
}
);

View file

@ -19,11 +19,14 @@ solvers
Up
{
solver AMG;
cycle V-cycle;
coarseningType AAMG;
norm componentNorm;
cycle W-cycle;
coarseningType cluster;
norm twoNorm;
normComponent 0;
minGroupSize 2;
maxGroupSize 4;
nPreSweeps 2;
nPostSweeps 2;
groupSize 2;
@ -32,7 +35,7 @@ solvers
scale on;
smoother
{
smoother ILUCp;
smoother ILU;
fillInLevel 1;
}
@ -41,6 +44,16 @@ solvers
tolerance 1e-7;
relTol 0.001;
}
kEpsilon
{
solver BiCGStab;
preconditioner Cholesky;
tolerance 1e-07;
relTol 0.1;
minIter 1;
maxIter 100;
}
// Segregated
p