From 2cd4c27a4f402c34f9dc09f13053572c84ad5ee0 Mon Sep 17 00:00:00 2001 From: mattijs <mattijs> Date: Tue, 25 Sep 2012 11:34:23 +0100 Subject: [PATCH] ENH: codedMixed: corrected comment --- .../derived/codedMixed/codedMixedFvPatchField.H | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/finiteVolume/fields/fvPatchFields/derived/codedMixed/codedMixedFvPatchField.H b/src/finiteVolume/fields/fvPatchFields/derived/codedMixed/codedMixedFvPatchField.H index 2b7c97478ec..cc08ba319d0 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/codedMixed/codedMixedFvPatchField.H +++ b/src/finiteVolume/fields/fvPatchFields/derived/codedMixed/codedMixedFvPatchField.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -33,12 +33,18 @@ Description movingWall { type codedMixed; - value uniform 0; + + refValue uniform (0 0 0); + refGradient uniform (0 0 0); + valueFraction uniform 1; + redirectType rampedMixed; // name of generated bc code #{ - this->refValue() = min(10, 0.1*this->db().time().value()); + this->refValue() = + vector(1, 0, 0) + *min(10, 0.1*this->db().time().value()); this->refGrad() = vector::zero; this->valueFraction() = 1.0; #}; -- GitLab