Bugfix: Fix writing of gamma before boundary was set
This commit is contained in:
parent
094039ec24
commit
5aeb7d036b
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,6 @@ void Foam::calc(const argList& args, const Time& runTime, const fvMesh& mesh)
|
||||||
dimensionedScalar("one", dimless, 1)
|
dimensionedScalar("one", dimless, 1)
|
||||||
);
|
);
|
||||||
gamma.internalField() = mesh.V()/mesh.cellVolumes();
|
gamma.internalField() = mesh.V()/mesh.cellVolumes();
|
||||||
gamma.write();
|
|
||||||
|
|
||||||
// Report minimal live cell volume
|
// Report minimal live cell volume
|
||||||
scalar minLiveGamma = GREAT;
|
scalar minLiveGamma = GREAT;
|
||||||
|
@ -123,6 +122,7 @@ void Foam::calc(const argList& args, const Time& runTime, const fvMesh& mesh)
|
||||||
}
|
}
|
||||||
|
|
||||||
sGamma.write();
|
sGamma.write();
|
||||||
|
gamma.write();
|
||||||
|
|
||||||
// Check consistency of face area vectors
|
// Check consistency of face area vectors
|
||||||
|
|
||||||
|
|
Reference in a new issue