so that the same option with a rational name is also available for #includeModel and #includeConstraint. Support for funcName is maintained for backwards-compatibility.
61 lines
1.2 KiB
C++
61 lines
1.2 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object controlDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
application foamRun;
|
|
|
|
solver functions;
|
|
|
|
subSolver incompressibleFluid;
|
|
|
|
startFrom startTime;
|
|
|
|
startTime 0;
|
|
|
|
stopAt endTime;
|
|
|
|
endTime 5;
|
|
|
|
deltaT 5e-5;
|
|
|
|
writeControl runTime;
|
|
|
|
writeInterval 0.02;
|
|
|
|
purgeWrite 0;
|
|
|
|
writeFormat ascii;
|
|
|
|
writePrecision 6;
|
|
|
|
writeCompression off;
|
|
|
|
timeFormat general;
|
|
|
|
timePrecision 6;
|
|
|
|
runTimeModifiable yes;
|
|
|
|
functions
|
|
{
|
|
clouds
|
|
{
|
|
type fvModel;
|
|
#includeModel clouds(entryName=fvModel)
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|