From d6e24bb6684afcd29ea6554bb205c5c6c066dee7 Mon Sep 17 00:00:00 2001 From: Sergio Ferraris Date: Thu, 9 Jun 2011 15:48:04 +0100 Subject: [PATCH] BUG: Missing complete re-start for mixed BC --- .../rhoCentralFoam/BCs/U/maxwellSlipUFvPatchVectorField.C | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/applications/solvers/compressible/rhoCentralFoam/BCs/U/maxwellSlipUFvPatchVectorField.C b/applications/solvers/compressible/rhoCentralFoam/BCs/U/maxwellSlipUFvPatchVectorField.C index fdbefa9b2f..07896a6e6c 100644 --- a/applications/solvers/compressible/rhoCentralFoam/BCs/U/maxwellSlipUFvPatchVectorField.C +++ b/applications/solvers/compressible/rhoCentralFoam/BCs/U/maxwellSlipUFvPatchVectorField.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2004-2010 OpenCFD Ltd. + \\ / A nd | Copyright (C) 2004-2011 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -103,6 +103,9 @@ maxwellSlipUFvPatchVectorField::maxwellSlipUFvPatchVectorField ( vectorField("value", dict, p.size()) ); + + this->refValue() = vectorField("refValue", dict, p.size()); + this->valueFraction() = scalarField("valueFraction", dict, p.size()); } else {