mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
TUT: overset: add new tutorials and update existing tutorials
This commit is contained in:
@ -31,13 +31,13 @@ startTime 0.0;
|
||||
|
||||
stopAt endTime;
|
||||
|
||||
endTime 0.2;
|
||||
endTime 0.1;
|
||||
|
||||
deltaT 0.00001;
|
||||
|
||||
writeControl adjustable;
|
||||
|
||||
writeInterval 0.001;
|
||||
writeInterval 0.01;
|
||||
|
||||
purgeWrite 0;
|
||||
|
||||
@ -87,24 +87,6 @@ functions
|
||||
(0.0009999 0.0015 0.003)
|
||||
);
|
||||
}
|
||||
|
||||
alphaVol
|
||||
{
|
||||
libs (utilityFunctionObjects);
|
||||
type coded;
|
||||
name alphaVolume;
|
||||
writeControl timeStep;
|
||||
writeInterval 10;
|
||||
|
||||
codeWrite
|
||||
#{
|
||||
const auto& alpha =
|
||||
mesh().lookupObject<volScalarField>("alpha.water");
|
||||
|
||||
Info<< "Alpha volume = " << alpha.weightedAverage(mesh().Vsc())
|
||||
<< endl;
|
||||
#};
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -63,8 +63,8 @@ solvers
|
||||
pcorr
|
||||
{
|
||||
$p;
|
||||
solver PCG;
|
||||
preconditioner DIC;
|
||||
solver PBiCGStab;
|
||||
preconditioner DILU;
|
||||
}
|
||||
|
||||
pcorrFinal
|
||||
@ -93,15 +93,12 @@ solvers
|
||||
PIMPLE
|
||||
{
|
||||
momentumPredictor no;
|
||||
correctPhi no;
|
||||
nOuterCorrectors 2;
|
||||
nCorrectors 3;
|
||||
nNonOrthogonalCorrectors 0;
|
||||
|
||||
ddtCorr false;
|
||||
|
||||
pRefPoint (0.0002 0.0099 0.001);
|
||||
pRefValue 1e5; //Not used
|
||||
pRefValue 1e5;
|
||||
}
|
||||
|
||||
relaxationFactors
|
||||
|
||||
Reference in New Issue
Block a user