diff --git a/src/finiteVolume/fields/fvPatchFields/derived/outletMappedUniformInlet/outletMappedUniformInletFvPatchField.C b/src/finiteVolume/fields/fvPatchFields/derived/outletMappedUniformInlet/outletMappedUniformInletFvPatchField.C index 14d1df5caa..e036a80f08 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/outletMappedUniformInlet/outletMappedUniformInletFvPatchField.C +++ b/src/finiteVolume/fields/fvPatchFields/derived/outletMappedUniformInlet/outletMappedUniformInletFvPatchField.C @@ -43,6 +43,21 @@ outletMappedUniformInletFvPatchField {} +template +Foam::outletMappedUniformInletFvPatchField:: +outletMappedUniformInletFvPatchField +( + const fvPatch& p, + const DimensionedField& iF, + const dictionary& dict +) +: + fixedValueFvPatchField(p, iF, dict), + outletPatchName_(dict.lookup("outletPatch")), + phiName_(dict.lookupOrDefault("phi", "phi")) +{} + + template Foam::outletMappedUniformInletFvPatchField:: outletMappedUniformInletFvPatchField @@ -59,21 +74,6 @@ outletMappedUniformInletFvPatchField {} -template -Foam::outletMappedUniformInletFvPatchField:: -outletMappedUniformInletFvPatchField -( - const fvPatch& p, - const DimensionedField& iF, - const dictionary& dict -) -: - fixedValueFvPatchField(p, iF, dict), - outletPatchName_(dict.lookup("outletPatch")), - phiName_(dict.lookupOrDefault("phi", "phi")) -{} - - template Foam::outletMappedUniformInletFvPatchField:: outletMappedUniformInletFvPatchField diff --git a/src/finiteVolume/fields/fvPatchFields/derived/outletMappedUniformInlet/outletMappedUniformInletFvPatchField.H b/src/finiteVolume/fields/fvPatchFields/derived/outletMappedUniformInlet/outletMappedUniformInletFvPatchField.H index c777ff623a..2151dc95e8 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/outletMappedUniformInlet/outletMappedUniformInletFvPatchField.H +++ b/src/finiteVolume/fields/fvPatchFields/derived/outletMappedUniformInlet/outletMappedUniformInletFvPatchField.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -29,14 +29,14 @@ Group Description This boundary conditon averages the field over the "outlet" patch specified - by name "outletPatchName" and applies this as the uniform value of the - field over this patch. + by name "outletPatch" and applies this as the uniform value of the field + over this patch. Usage \table Property | Description | Required | Default value - outletPatchName | name of outlet patch | yes | - phi | flux field name | no | phi + outletPatch | Name of outlet patch | yes | + phi | Flux field name | no | phi \endtable Example of the boundary condition specification: diff --git a/src/finiteVolume/fields/fvPatchFields/derived/timeVaryingMappedFixedValue/timeVaryingMappedFixedValueFvPatchField.H b/src/finiteVolume/fields/fvPatchFields/derived/timeVaryingMappedFixedValue/timeVaryingMappedFixedValueFvPatchField.H index 33f0e50b1b..e6c66dd7c1 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/timeVaryingMappedFixedValue/timeVaryingMappedFixedValueFvPatchField.H +++ b/src/finiteVolume/fields/fvPatchFields/derived/timeVaryingMappedFixedValue/timeVaryingMappedFixedValueFvPatchField.H @@ -62,7 +62,7 @@ Usage Property | Description | Required | Default value setAverage | Switch to activate setting of average value | no | false perturb | Perturb points for regular geometries | no | 1e-5 - fieldTableName | Alternative field name to sample | no| this field name + fieldTable | Alternative field name to sample | no| this field name mapMethod | Type of mapping | no | planarInterpolation offset | Offset to mapped values | no | Zero dataDir | Top-level directory of the points and field data \\