From 131458d0207b6e93867605ba817de659fb9c65aa Mon Sep 17 00:00:00 2001 From: Henry <Henry> Date: Sun, 28 Dec 2014 17:00:03 +0000 Subject: [PATCH] Write the coefficients before the field --- .../epsilonWallFunction/epsilonWallFunctionFvPatchScalarField.C | 2 +- .../kLowReWallFunction/kLowReWallFunctionFvPatchScalarField.C | 2 +- .../omegaWallFunction/omegaWallFunctionFvPatchScalarField.C | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields/wallFunctions/epsilonWallFunctions/epsilonWallFunction/epsilonWallFunctionFvPatchScalarField.C b/src/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields/wallFunctions/epsilonWallFunctions/epsilonWallFunction/epsilonWallFunctionFvPatchScalarField.C index 2513312e2e1..85748576981 100644 --- a/src/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields/wallFunctions/epsilonWallFunctions/epsilonWallFunction/epsilonWallFunctionFvPatchScalarField.C +++ b/src/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields/wallFunctions/epsilonWallFunctions/epsilonWallFunction/epsilonWallFunctionFvPatchScalarField.C @@ -571,8 +571,8 @@ void epsilonWallFunctionFvPatchScalarField::manipulateMatrix void epsilonWallFunctionFvPatchScalarField::write(Ostream& os) const { - fixedValueFvPatchField<scalar>::write(os); writeLocalEntries(os); + fixedValueFvPatchField<scalar>::write(os); } diff --git a/src/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields/wallFunctions/kqRWallFunctions/kLowReWallFunction/kLowReWallFunctionFvPatchScalarField.C b/src/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields/wallFunctions/kqRWallFunctions/kLowReWallFunction/kLowReWallFunctionFvPatchScalarField.C index f86bdb48234..e1bf7410da8 100644 --- a/src/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields/wallFunctions/kqRWallFunctions/kLowReWallFunction/kLowReWallFunctionFvPatchScalarField.C +++ b/src/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields/wallFunctions/kqRWallFunctions/kLowReWallFunction/kLowReWallFunctionFvPatchScalarField.C @@ -232,11 +232,11 @@ void kLowReWallFunctionFvPatchScalarField::evaluate void kLowReWallFunctionFvPatchScalarField::write(Ostream& os) const { - fixedValueFvPatchField<scalar>::write(os); os.writeKeyword("Cmu") << Cmu_ << token::END_STATEMENT << nl; os.writeKeyword("kappa") << kappa_ << token::END_STATEMENT << nl; os.writeKeyword("E") << E_ << token::END_STATEMENT << nl; os.writeKeyword("Ceps2") << Ceps2_ << token::END_STATEMENT << nl; + fixedValueFvPatchField<scalar>::write(os); } diff --git a/src/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields/wallFunctions/omegaWallFunctions/omegaWallFunction/omegaWallFunctionFvPatchScalarField.C b/src/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields/wallFunctions/omegaWallFunctions/omegaWallFunction/omegaWallFunctionFvPatchScalarField.C index c8f8b93fc62..71ab983c5c9 100644 --- a/src/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields/wallFunctions/omegaWallFunctions/omegaWallFunction/omegaWallFunctionFvPatchScalarField.C +++ b/src/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields/wallFunctions/omegaWallFunctions/omegaWallFunction/omegaWallFunctionFvPatchScalarField.C @@ -587,8 +587,8 @@ void omegaWallFunctionFvPatchScalarField::manipulateMatrix void omegaWallFunctionFvPatchScalarField::write(Ostream& os) const { - fixedValueFvPatchField<scalar>::write(os); writeLocalEntries(os); + fixedValueFvPatchField<scalar>::write(os); } -- GitLab