mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
DOC: elaborate the usage of function objects
ENH: update libs of etc/caseDicts/postProcess items
ENH: ensure destructor=default
ENH: ensure constness
ENH: ensure no 'copy construct' and 'no copy assignment' exist
TUT: add examples of function objects with full set
of settings into a TUT if unavailable
TUT: update pisoFoam/RAS/cavity tutorial in terms of usage
This commit is contained in:
committed by
Andrew Heather
parent
b549116588
commit
a5c6516e23
@ -51,18 +51,38 @@ maxCo 0.01;
|
||||
maxAlphaCo 0.01;
|
||||
maxAlphaDdt 0.01;
|
||||
|
||||
|
||||
functions
|
||||
{
|
||||
interfaceHeight1
|
||||
{
|
||||
type interfaceHeight;
|
||||
libs (fieldFunctionObjects);
|
||||
alpha alpha.liquid;
|
||||
locations ((0 0 0));
|
||||
// Mandatory entries
|
||||
type interfaceHeight;
|
||||
libs (fieldFunctionObjects);
|
||||
locations ((0 0 0));
|
||||
|
||||
// Optional entries
|
||||
alpha alpha.liquid;
|
||||
direction (1 0 0);
|
||||
liquid true;
|
||||
interpolationScheme cellPoint;
|
||||
|
||||
// Optional (inherited) entries
|
||||
writePrecision 16;
|
||||
writeToFile true;
|
||||
useUserTime true;
|
||||
|
||||
region region0;
|
||||
enabled true;
|
||||
log true;
|
||||
timeStart 0;
|
||||
timeEnd 1000;
|
||||
executeControl timeStep;
|
||||
executeInterval 1;
|
||||
writeControl timeStep;
|
||||
writeInterval 3;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -51,18 +51,38 @@ maxCo 0.01;
|
||||
maxAlphaCo 0.01;
|
||||
maxDeltaT 0.01;
|
||||
|
||||
|
||||
functions
|
||||
{
|
||||
interfaceHeight1
|
||||
{
|
||||
type interfaceHeight;
|
||||
libs (fieldFunctionObjects);
|
||||
alpha alpha.liquid;
|
||||
locations ((0 0.0001 1e-5));
|
||||
// Mandatory entries
|
||||
type interfaceHeight;
|
||||
libs (fieldFunctionObjects);
|
||||
locations ((0 0.0001 1e-5));
|
||||
|
||||
// Optional entries
|
||||
alpha alpha.liquid;
|
||||
direction (1 0 0);
|
||||
liquid true;
|
||||
interpolationScheme cellPoint;
|
||||
|
||||
// Optional (inherited) entries
|
||||
writePrecision 16;
|
||||
writeToFile true;
|
||||
useUserTime true;
|
||||
|
||||
region region0;
|
||||
enabled true;
|
||||
log true;
|
||||
timeStart 0;
|
||||
timeEnd 1000;
|
||||
executeControl timeStep;
|
||||
executeInterval 1;
|
||||
writeControl timeStep;
|
||||
writeInterval 3;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
Reference in New Issue
Block a user