Fix write of rAU-keyword in fixedFluxPressureFvPatchScalarField

This commit is contained in:
Pascal Beckstein 2016-11-06 20:59:44 +01:00
parent 4fad65ce7c
commit 4e95161b7b

View file

@ -190,7 +190,7 @@ void Foam::fixedFluxPressureFvPatchScalarField::write(Ostream& os) const
writeEntryIfDifferent<word>(os, "U", "U", UName_);
writeEntryIfDifferent<word>(os, "phi", "phi", phiName_);
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_);
gradient().writeEntry("gradient", os);