STYLE: mixed BC should mention refGradient instead of refGrad

This commit is contained in:
Mark Olesen
2019-10-22 12:57:35 +02:00
committed by Andrew Heather
parent 1f49dfe088
commit 4260b8bf0b
2 changed files with 7 additions and 7 deletions

View File

@ -56,6 +56,7 @@ Foam::mixedFvPatchField<Type>::mixedFvPatchField
refGrad_("refGradient", dict, p.size()),
valueFraction_("valueFraction", dict, p.size())
{
// Could also check/clip fraction to 0-1 range
evaluate();
}

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd |
\\ / A nd | Copyright (C) 2019 OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
| Copyright (C) 2011-2017 OpenFOAM Foundation
@ -44,18 +44,17 @@ Description
\vartable
x_p | patch values
x_c | patch internal cell values
w | weight field
\Delta| inverse distance from face centre to internal cell centre
w | weighting (0-1)
w | weighting values (0-1)
\endvartable
Usage
\table
Property | Description | Required | Default value
valueFraction | weight field | yes |
refValue | fixed value | yes |
refGrad | patch normal gradient | yes |
Property | Description | Required | Default
refValue | fixed value | yes |
refGradient | patch normal gradient | yes |
valueFraction | value weighting (0-1) | yes |
\endtable
Note