From 73f5e6f5c6b2512c0e297ec55ce218667d889919 Mon Sep 17 00:00:00 2001 From: henry Date: Thu, 28 Jan 2010 14:47:53 +0000 Subject: [PATCH] timeVaryingMappedTotalPressureFvPatchScalarField: Added rho value to output. --- src/finiteVolume/Make/files | 1 + .../timeVaryingMappedTotalPressureFvPatchScalarField.C | 1 + 2 files changed, 2 insertions(+) diff --git a/src/finiteVolume/Make/files b/src/finiteVolume/Make/files index 8615a3b1..a00e60b7 100644 --- a/src/finiteVolume/Make/files +++ b/src/finiteVolume/Make/files @@ -143,6 +143,7 @@ $(derivedFvPatchFields)/timeVaryingMappedFixedValue/timeVaryingMappedFixedValueF $(derivedFvPatchFields)/timeVaryingFlowRateInletVelocity/timeVaryingFlowRateInletVelocityFvPatchVectorField.C $(derivedFvPatchFields)/timeVaryingUniformFixedValue/timeVaryingUniformFixedValueFvPatchFields.C $(derivedFvPatchFields)/totalPressure/totalPressureFvPatchScalarField.C +$(derivedFvPatchFields)/timeVaryingMappedTotalPressure/timeVaryingMappedTotalPressureFvPatchScalarField.C $(derivedFvPatchFields)/timeVaryingUniformTotalPressure/timeVaryingUniformTotalPressureFvPatchScalarField.C $(derivedFvPatchFields)/totalTemperature/totalTemperatureFvPatchScalarField.C $(derivedFvPatchFields)/turbulentInlet/turbulentInletFvPatchFields.C diff --git a/src/finiteVolume/fields/fvPatchFields/derived/timeVaryingMappedTotalPressure/timeVaryingMappedTotalPressureFvPatchScalarField.C b/src/finiteVolume/fields/fvPatchFields/derived/timeVaryingMappedTotalPressure/timeVaryingMappedTotalPressureFvPatchScalarField.C index 89db42b8..616da4cf 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/timeVaryingMappedTotalPressure/timeVaryingMappedTotalPressureFvPatchScalarField.C +++ b/src/finiteVolume/fields/fvPatchFields/derived/timeVaryingMappedTotalPressure/timeVaryingMappedTotalPressureFvPatchScalarField.C @@ -277,6 +277,7 @@ void Foam::timeVaryingMappedTotalPressureFvPatchScalarField::write writeEntryIfDifferent(os, "UName", "U", UName_); writeEntryIfDifferent(os, "phiName", "phi", phiName_); os.writeKeyword("rhoName") << rhoName_ << token::END_STATEMENT << nl; + os.writeKeyword("rho") << rho_ << token::END_STATEMENT << nl; os.writeKeyword("psiName") << psiName_ << token::END_STATEMENT << nl; os.writeKeyword("gamma") << gamma_ << token::END_STATEMENT << nl; timeVaryingMappedFixedValueFvPatchScalarField::write(os); -- 2.11.4.GIT