uniformFixedGradientFvPatchField: Corrected constructor

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1827
This commit is contained in:
Henry Weller
2015-08-13 19:08:52 +01:00
parent db8497a20f
commit 2916f043b3
2 changed files with 4 additions and 2 deletions

View File

@ -90,6 +90,8 @@ Foam::uniformFixedGradientFvPatchField<Type>::uniformFixedGradientFvPatchField
const scalar t = this->db().time().timeOutputValue(); const scalar t = this->db().time().timeOutputValue();
this->gradient() = uniformGradient_->value(t); this->gradient() = uniformGradient_->value(t);
} }
fixedGradientFvPatchField<Type>::evaluate();
} }

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2013 OpenFOAM Foundation \\ / A nd | Copyright (C) 2013-2015 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -37,7 +37,7 @@ namespace Foam
template<class Type> class uniformFixedGradientFvPatchField; template<class Type> class uniformFixedGradientFvPatchField;
makePatchTypeFieldTypedefs(uniform); makePatchTypeFieldTypedefs(uniformFixedGradient);
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //