Fix write of rAU-keyword in fixedFluxPressureFvPatchScalarField

This commit is contained in:
Pascal Beckstein 2016-11-06 20:59:44 +01:00 committed by Hrvoje Jasak
parent 1f6f708da8
commit 224fb55219

View file

@ -190,7 +190,7 @@ void Foam::fixedFluxPressureFvPatchScalarField::write(Ostream& os) const
writeEntryIfDifferent<word>(os, "U", "U", UName_); writeEntryIfDifferent<word>(os, "U", "U", UName_);
writeEntryIfDifferent<word>(os, "phi", "phi", phiName_); writeEntryIfDifferent<word>(os, "phi", "phi", phiName_);
writeEntryIfDifferent<word>(os, "rho", "rho", rhoName_); writeEntryIfDifferent<word>(os, "rho", "rho", rhoName_);
writeEntryIfDifferent<word>(os, "rAU", "rAU", rAUName_); writeEntryIfDifferent<word>(os, "rAU", "(1|A(" + UName_ + "))", rAUName_);
writeEntryIfDifferent<Switch>(os, "adjoint", false, adjoint_); writeEntryIfDifferent<Switch>(os, "adjoint", false, adjoint_);
gradient().writeEntry("gradient", os); gradient().writeEntry("gradient", os);