mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
DOC: solverInfo FO: improve header-file documentation
- TUT: solverInfo FO: add an example to pisoFoam/cavity
This commit is contained in:
committed by
Andrew Heather
parent
02129b0846
commit
b4724c37ad
@ -0,0 +1,42 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v2012 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
solverInfo1
|
||||
{
|
||||
// Mandatory entries
|
||||
type solverInfo;
|
||||
libs (utilityFunctionObjects);
|
||||
fields
|
||||
(
|
||||
k
|
||||
epsilon
|
||||
p
|
||||
U
|
||||
)
|
||||
|
||||
// Optional entries
|
||||
writeResidualFields true;
|
||||
|
||||
// Optional (inherited) entries
|
||||
writePrecision 16;
|
||||
writeToFile true;
|
||||
useUserTime true;
|
||||
|
||||
region region0;
|
||||
enabled true;
|
||||
log true;
|
||||
timeStart 0;
|
||||
timeEnd 1000;
|
||||
executeControl timeStep;
|
||||
executeInterval 1;
|
||||
writeControl writeTime;
|
||||
writeInterval -1;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -47,6 +47,7 @@ runTimeModifiable true;
|
||||
|
||||
functions
|
||||
{
|
||||
// field function objects
|
||||
#include "FOfieldAverage"
|
||||
#include "FOadd"
|
||||
#include "FOblendingFactor"
|
||||
@ -94,6 +95,9 @@ functions
|
||||
#include "FOwriteCellVolumes"
|
||||
#include "FOyPlus"
|
||||
#include "FOzeroGradient"
|
||||
|
||||
// utility function objects
|
||||
#include "FOsolverInfo"
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user