TUT: overset: add new tutorials and update existing tutorials

This commit is contained in:
sergio
2022-08-09 14:07:21 +01:00
committed by Kutalmis Bercin
parent 2a406bbb25
commit b48fd4f38a
108 changed files with 3894 additions and 127 deletions

View File

@ -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;
}
}

View File

@ -54,7 +54,9 @@ snGradSchemes
oversetInterpolation
{
method cellVolumeWeight;
method inverseDistance;
holeLayers 6;
useLayer 3;
}
oversetInterpolationSuppressed

View File

@ -80,12 +80,6 @@ PIMPLE
nCorrectors 2;
nNonOrthogonalCorrectors 0;
ddtCorr yes;
correctPhi no;
moveMeshOuterCorrectors no;
turbOnFinalIterOnly no;
oversetAdjustPhi no;
}