mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: coded functionObject called on execute instead of write
- generated too much output that also missed topology changes, which prevents proper post-processing
This commit is contained in:
@ -14,6 +14,8 @@ relVelocity
|
|||||||
name relVelocity;
|
name relVelocity;
|
||||||
libs ( utilityFunctionObjects );
|
libs ( utilityFunctionObjects );
|
||||||
|
|
||||||
|
writeControl writeTime;
|
||||||
|
|
||||||
coeffs
|
coeffs
|
||||||
{
|
{
|
||||||
// User input (duplicate of constant/dynamicMeshDict)
|
// User input (duplicate of constant/dynamicMeshDict)
|
||||||
@ -72,7 +74,7 @@ relVelocity
|
|||||||
}
|
}
|
||||||
#};
|
#};
|
||||||
|
|
||||||
codeExecute // codeWrite
|
codeWrite
|
||||||
#{
|
#{
|
||||||
const dictionary& context = this->codeContext();
|
const dictionary& context = this->codeContext();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user