Commit 3ce1bdb6 authored by Henry Weller's avatar Henry Weller
Browse files

uniformFixedGradientFvPatchField: Corrected constructor

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1827
parent a004f6d2
...@@ -90,6 +90,8 @@ Foam::uniformFixedGradientFvPatchField<Type>::uniformFixedGradientFvPatchField ...@@ -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();
} }
......
...@@ -2,7 +2,7 @@ ...@@ -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 ...@@ -37,7 +37,7 @@ namespace Foam
template<class Type> class uniformFixedGradientFvPatchField; template<class Type> class uniformFixedGradientFvPatchField;
makePatchTypeFieldTypedefs(uniform); makePatchTypeFieldTypedefs(uniformFixedGradient);
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment