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:
@ -15,7 +15,7 @@ FoamFile
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
simulationType RAS;
|
||||
|
||||
density variable;
|
||||
RAS
|
||||
{
|
||||
RASModel kEpsilon;
|
||||
|
||||
@ -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;
|
||||
#};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -92,11 +92,9 @@ solvers
|
||||
PIMPLE
|
||||
{
|
||||
momentumPredictor no;
|
||||
correctPhi no;
|
||||
nOuterCorrectors 2;
|
||||
nCorrectors 3;
|
||||
nNonOrthogonalCorrectors 0;
|
||||
ddtCorr false;
|
||||
}
|
||||
|
||||
relaxationFactors
|
||||
|
||||
Reference in New Issue
Block a user