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:
@ -30,7 +30,7 @@ deltaT 0.001;
|
||||
|
||||
writeControl adjustable;
|
||||
|
||||
writeInterval 0.5;
|
||||
writeInterval 0.05;
|
||||
|
||||
purgeWrite 0;
|
||||
|
||||
@ -82,21 +82,20 @@ functions
|
||||
|
||||
alphaVol
|
||||
{
|
||||
libs (utilityFunctionObjects);
|
||||
type coded;
|
||||
name alphaVolume;
|
||||
// Mandatory entries
|
||||
type volFieldValue;
|
||||
libs (fieldFunctionObjects);
|
||||
fields (alpha.water);
|
||||
operation volIntegrate;
|
||||
regionType all;
|
||||
|
||||
// Optional entries
|
||||
postOperation none;
|
||||
// Write at same frequency as fields
|
||||
writeControl timeStep;
|
||||
writeInterval 10;
|
||||
|
||||
codeWrite
|
||||
#{
|
||||
|
||||
const volScalarField& alpha =
|
||||
mesh().lookupObject<volScalarField>("alpha.water");
|
||||
|
||||
Info<< "Alpha volume = " << alpha.weightedAverage(mesh().Vsc())
|
||||
<< endl;
|
||||
#};
|
||||
writeInterval 1;
|
||||
writeFields false;
|
||||
log true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -54,7 +54,9 @@ snGradSchemes
|
||||
|
||||
oversetInterpolation
|
||||
{
|
||||
method cellVolumeWeight;
|
||||
method inverseDistance;
|
||||
holeLayers 6;
|
||||
useLayer 3;
|
||||
}
|
||||
|
||||
oversetInterpolationSuppressed
|
||||
|
||||
@ -80,12 +80,6 @@ PIMPLE
|
||||
nCorrectors 2;
|
||||
nNonOrthogonalCorrectors 0;
|
||||
|
||||
ddtCorr yes;
|
||||
correctPhi no;
|
||||
|
||||
moveMeshOuterCorrectors no;
|
||||
turbOnFinalIterOnly no;
|
||||
|
||||
oversetAdjustPhi no;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user