diff --git a/src/finiteVolume/fields/fvPatchFields/basic/mixed/mixedFvPatchField.C b/src/finiteVolume/fields/fvPatchFields/basic/mixed/mixedFvPatchField.C index d0edeedc22ac8772620a3b142f4d53f9af9747bf..a4d39c5b3b35b514d36a76fa09dfc5e54bf9ac4f 100644 --- a/src/finiteVolume/fields/fvPatchFields/basic/mixed/mixedFvPatchField.C +++ b/src/finiteVolume/fields/fvPatchFields/basic/mixed/mixedFvPatchField.C @@ -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(); } diff --git a/src/finiteVolume/fields/fvPatchFields/basic/mixed/mixedFvPatchField.H b/src/finiteVolume/fields/fvPatchFields/basic/mixed/mixedFvPatchField.H index 31ffcf66601fb950d7f6241d4459eb1dd3abe625..548094d25acc1ba109e7e42d6cedd2caadbf04af 100644 --- a/src/finiteVolume/fields/fvPatchFields/basic/mixed/mixedFvPatchField.H +++ b/src/finiteVolume/fields/fvPatchFields/basic/mixed/mixedFvPatchField.H @@ -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