From 224fb5521931a47719c9a9d2eb3e2d64fe08f5d6 Mon Sep 17 00:00:00 2001 From: Pascal Beckstein Date: Sun, 6 Nov 2016 20:59:44 +0100 Subject: [PATCH] Fix write of rAU-keyword in fixedFluxPressureFvPatchScalarField --- .../fixedFluxPressure/fixedFluxPressureFvPatchScalarField.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/finiteVolume/fields/fvPatchFields/derived/fixedFluxPressure/fixedFluxPressureFvPatchScalarField.C b/src/finiteVolume/fields/fvPatchFields/derived/fixedFluxPressure/fixedFluxPressureFvPatchScalarField.C index 941c001bd..6001b7505 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/fixedFluxPressure/fixedFluxPressureFvPatchScalarField.C +++ b/src/finiteVolume/fields/fvPatchFields/derived/fixedFluxPressure/fixedFluxPressureFvPatchScalarField.C @@ -190,7 +190,7 @@ void Foam::fixedFluxPressureFvPatchScalarField::write(Ostream& os) const writeEntryIfDifferent(os, "U", "U", UName_); writeEntryIfDifferent(os, "phi", "phi", phiName_); writeEntryIfDifferent(os, "rho", "rho", rhoName_); - writeEntryIfDifferent(os, "rAU", "rAU", rAUName_); + writeEntryIfDifferent(os, "rAU", "(1|A(" + UName_ + "))", rAUName_); writeEntryIfDifferent(os, "adjoint", false, adjoint_); gradient().writeEntry("gradient", os);