Tutorial update: block solver
This commit is contained in:
parent
2344656c85
commit
193c90c29d
5 changed files with 26 additions and 22 deletions
|
@ -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;
|
||||
|
|
|
@ -14,7 +14,7 @@ FoamFile
|
|||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
RASModel kEpsilon;
|
||||
RASModel coupledKEpsilon;
|
||||
|
||||
turbulence on;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in a new issue