forceModel_fieldTimeAverage command¶
Syntax¶
Defined in couplingProperties dictionary.
forceModels
(
fieldTimeAverage
);
fieldTimeAverageProps
{
startTime time;
scalarFieldNames
(
"scalarField"
);
vectorFieldNames
(
"vectorField"
);
};
- time = (optional) time to start temporal averaging
- scalarField = names of the finite volume scalar fields to be temporally averaged
- vectorField = names of the finite volume vector fields to be temporally averaged
Examples¶
forceModels
(
fieldTimeAverage
);
fieldTimeAverageProps
{
startTime 1.0;
scalarFieldNames
(
"voidfraction"
);
vectorFieldNames
(
"Us"
);
}
Description¶
This “forceModel” does not influence the particles or the simulation - it is a postprocessing tool! Starting at start time the specified fields are temporally averaged and written at “writeTime”. They can then be probed using standard function object probes. The output name is timeAverage_scalarField, where scalarField is the name of the original field.
Restrictions¶
none.