fvPatchFields: Reordered constructor definitions to match declarations
This commit is contained in:
@ -100,6 +100,24 @@ ${typeName}FixedValueFvPatch${FieldType}
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
${typeName}FixedValueFvPatch${FieldType}::
|
||||||
|
${typeName}FixedValueFvPatch${FieldType}
|
||||||
|
(
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<${TemplateType}, volMesh>& iF,
|
||||||
|
const dictionary& dict
|
||||||
|
)
|
||||||
|
:
|
||||||
|
fixedValueFvPatchField<${TemplateType}>(p, iF, dict)
|
||||||
|
{
|
||||||
|
if (${verbose:-false})
|
||||||
|
{
|
||||||
|
Info<<"construct ${typeName} sha1: ${SHA1sum}"
|
||||||
|
" from patch/dictionary\n";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
${typeName}FixedValueFvPatch${FieldType}::
|
${typeName}FixedValueFvPatch${FieldType}::
|
||||||
${typeName}FixedValueFvPatch${FieldType}
|
${typeName}FixedValueFvPatch${FieldType}
|
||||||
(
|
(
|
||||||
@ -119,24 +137,6 @@ ${typeName}FixedValueFvPatch${FieldType}
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
${typeName}FixedValueFvPatch${FieldType}::
|
|
||||||
${typeName}FixedValueFvPatch${FieldType}
|
|
||||||
(
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<${TemplateType}, volMesh>& iF,
|
|
||||||
const dictionary& dict
|
|
||||||
)
|
|
||||||
:
|
|
||||||
fixedValueFvPatchField<${TemplateType}>(p, iF, dict)
|
|
||||||
{
|
|
||||||
if (${verbose:-false})
|
|
||||||
{
|
|
||||||
Info<<"construct ${typeName} sha1: ${SHA1sum}"
|
|
||||||
" from patch/dictionary\n";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
${typeName}FixedValueFvPatch${FieldType}::
|
${typeName}FixedValueFvPatch${FieldType}::
|
||||||
${typeName}FixedValueFvPatch${FieldType}
|
${typeName}FixedValueFvPatch${FieldType}
|
||||||
(
|
(
|
||||||
|
|||||||
@ -99,6 +99,24 @@ ${typeName}FixedValuePointPatch${FieldType}
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
${typeName}FixedValuePointPatch${FieldType}::
|
||||||
|
${typeName}FixedValuePointPatch${FieldType}
|
||||||
|
(
|
||||||
|
const pointPatch& p,
|
||||||
|
const DimensionedField<${TemplateType}, pointMesh>& iF,
|
||||||
|
const dictionary& dict
|
||||||
|
)
|
||||||
|
:
|
||||||
|
fixedValuePointPatchField<${TemplateType}>(p, iF, dict)
|
||||||
|
{
|
||||||
|
if (${verbose:-false})
|
||||||
|
{
|
||||||
|
Info<<"construct ${typeName} sha1: ${SHA1sum}"
|
||||||
|
" from patch/dictionary\n";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
${typeName}FixedValuePointPatch${FieldType}::
|
${typeName}FixedValuePointPatch${FieldType}::
|
||||||
${typeName}FixedValuePointPatch${FieldType}
|
${typeName}FixedValuePointPatch${FieldType}
|
||||||
(
|
(
|
||||||
@ -118,24 +136,6 @@ ${typeName}FixedValuePointPatch${FieldType}
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
${typeName}FixedValuePointPatch${FieldType}::
|
|
||||||
${typeName}FixedValuePointPatch${FieldType}
|
|
||||||
(
|
|
||||||
const pointPatch& p,
|
|
||||||
const DimensionedField<${TemplateType}, pointMesh>& iF,
|
|
||||||
const dictionary& dict
|
|
||||||
)
|
|
||||||
:
|
|
||||||
fixedValuePointPatchField<${TemplateType}>(p, iF, dict)
|
|
||||||
{
|
|
||||||
if (${verbose:-false})
|
|
||||||
{
|
|
||||||
Info<<"construct ${typeName} sha1: ${SHA1sum}"
|
|
||||||
" from patch/dictionary\n";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
${typeName}FixedValuePointPatch${FieldType}::
|
${typeName}FixedValuePointPatch${FieldType}::
|
||||||
${typeName}FixedValuePointPatch${FieldType}
|
${typeName}FixedValuePointPatch${FieldType}
|
||||||
(
|
(
|
||||||
|
|||||||
@ -100,6 +100,24 @@ ${typeName}MixedValueFvPatch${FieldType}
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
${typeName}MixedValueFvPatch${FieldType}::
|
||||||
|
${typeName}MixedValueFvPatch${FieldType}
|
||||||
|
(
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<${TemplateType}, volMesh>& iF,
|
||||||
|
const dictionary& dict
|
||||||
|
)
|
||||||
|
:
|
||||||
|
mixedFvPatchField<${TemplateType}>(p, iF, dict)
|
||||||
|
{
|
||||||
|
if (${verbose:-false})
|
||||||
|
{
|
||||||
|
Info<<"construct ${typeName} sha1: ${SHA1sum}"
|
||||||
|
" from patch/dictionary\n";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
${typeName}MixedValueFvPatch${FieldType}::
|
${typeName}MixedValueFvPatch${FieldType}::
|
||||||
${typeName}MixedValueFvPatch${FieldType}
|
${typeName}MixedValueFvPatch${FieldType}
|
||||||
(
|
(
|
||||||
@ -119,24 +137,6 @@ ${typeName}MixedValueFvPatch${FieldType}
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
${typeName}MixedValueFvPatch${FieldType}::
|
|
||||||
${typeName}MixedValueFvPatch${FieldType}
|
|
||||||
(
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<${TemplateType}, volMesh>& iF,
|
|
||||||
const dictionary& dict
|
|
||||||
)
|
|
||||||
:
|
|
||||||
mixedFvPatchField<${TemplateType}>(p, iF, dict)
|
|
||||||
{
|
|
||||||
if (${verbose:-false})
|
|
||||||
{
|
|
||||||
Info<<"construct ${typeName} sha1: ${SHA1sum}"
|
|
||||||
" from patch/dictionary\n";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
${typeName}MixedValueFvPatch${FieldType}::
|
${typeName}MixedValueFvPatch${FieldType}::
|
||||||
${typeName}MixedValueFvPatch${FieldType}
|
${typeName}MixedValueFvPatch${FieldType}
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -40,19 +40,6 @@ Foam::basicSymmetryFvPatchField<Type>::basicSymmetryFvPatchField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
|
||||||
Foam::basicSymmetryFvPatchField<Type>::basicSymmetryFvPatchField
|
|
||||||
(
|
|
||||||
const basicSymmetryFvPatchField<Type>& ptf,
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<Type, volMesh>& iF,
|
|
||||||
const fvPatchFieldMapper& mapper
|
|
||||||
)
|
|
||||||
:
|
|
||||||
transformFvPatchField<Type>(ptf, p, iF, mapper)
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::basicSymmetryFvPatchField<Type>::basicSymmetryFvPatchField
|
Foam::basicSymmetryFvPatchField<Type>::basicSymmetryFvPatchField
|
||||||
(
|
(
|
||||||
@ -67,6 +54,19 @@ Foam::basicSymmetryFvPatchField<Type>::basicSymmetryFvPatchField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
template<class Type>
|
||||||
|
Foam::basicSymmetryFvPatchField<Type>::basicSymmetryFvPatchField
|
||||||
|
(
|
||||||
|
const basicSymmetryFvPatchField<Type>& ptf,
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<Type, volMesh>& iF,
|
||||||
|
const fvPatchFieldMapper& mapper
|
||||||
|
)
|
||||||
|
:
|
||||||
|
transformFvPatchField<Type>(ptf, p, iF, mapper)
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::basicSymmetryFvPatchField<Type>::basicSymmetryFvPatchField
|
Foam::basicSymmetryFvPatchField<Type>::basicSymmetryFvPatchField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -52,6 +52,20 @@ Foam::coupledFvPatchField<Type>::coupledFvPatchField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
template<class Type>
|
||||||
|
Foam::coupledFvPatchField<Type>::coupledFvPatchField
|
||||||
|
(
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<Type, volMesh>& iF,
|
||||||
|
const dictionary& dict,
|
||||||
|
const bool valueRequired
|
||||||
|
)
|
||||||
|
:
|
||||||
|
LduInterfaceField<Type>(refCast<const lduInterface>(p)),
|
||||||
|
fvPatchField<Type>(p, iF, dict, valueRequired)
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::coupledFvPatchField<Type>::coupledFvPatchField
|
Foam::coupledFvPatchField<Type>::coupledFvPatchField
|
||||||
(
|
(
|
||||||
@ -67,20 +81,6 @@ Foam::coupledFvPatchField<Type>::coupledFvPatchField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
|
||||||
Foam::coupledFvPatchField<Type>::coupledFvPatchField
|
|
||||||
(
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<Type, volMesh>& iF,
|
|
||||||
const dictionary& dict,
|
|
||||||
const bool valueRequired
|
|
||||||
)
|
|
||||||
:
|
|
||||||
LduInterfaceField<Type>(refCast<const lduInterface>(p)),
|
|
||||||
fvPatchField<Type>(p, iF, dict, valueRequired)
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::coupledFvPatchField<Type>::coupledFvPatchField
|
Foam::coupledFvPatchField<Type>::coupledFvPatchField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -42,6 +42,23 @@ Foam::directionMixedFvPatchField<Type>::directionMixedFvPatchField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
template<class Type>
|
||||||
|
Foam::directionMixedFvPatchField<Type>::directionMixedFvPatchField
|
||||||
|
(
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<Type, volMesh>& iF,
|
||||||
|
const dictionary& dict
|
||||||
|
)
|
||||||
|
:
|
||||||
|
transformFvPatchField<Type>(p, iF, dict),
|
||||||
|
refValue_("refValue", dict, p.size()),
|
||||||
|
refGrad_("refGradient", dict, p.size()),
|
||||||
|
valueFraction_("valueFraction", dict, p.size())
|
||||||
|
{
|
||||||
|
evaluate();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::directionMixedFvPatchField<Type>::directionMixedFvPatchField
|
Foam::directionMixedFvPatchField<Type>::directionMixedFvPatchField
|
||||||
(
|
(
|
||||||
@ -68,23 +85,6 @@ Foam::directionMixedFvPatchField<Type>::directionMixedFvPatchField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
|
||||||
Foam::directionMixedFvPatchField<Type>::directionMixedFvPatchField
|
|
||||||
(
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<Type, volMesh>& iF,
|
|
||||||
const dictionary& dict
|
|
||||||
)
|
|
||||||
:
|
|
||||||
transformFvPatchField<Type>(p, iF, dict),
|
|
||||||
refValue_("refValue", dict, p.size()),
|
|
||||||
refGrad_("refGradient", dict, p.size()),
|
|
||||||
valueFraction_("valueFraction", dict, p.size())
|
|
||||||
{
|
|
||||||
evaluate();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::directionMixedFvPatchField<Type>::directionMixedFvPatchField
|
Foam::directionMixedFvPatchField<Type>::directionMixedFvPatchField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -40,6 +40,18 @@ Foam::transformFvPatchField<Type>::transformFvPatchField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
template<class Type>
|
||||||
|
Foam::transformFvPatchField<Type>::transformFvPatchField
|
||||||
|
(
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<Type, volMesh>& iF,
|
||||||
|
const dictionary& dict
|
||||||
|
)
|
||||||
|
:
|
||||||
|
fvPatchField<Type>(p, iF, dict, false)
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::transformFvPatchField<Type>::transformFvPatchField
|
Foam::transformFvPatchField<Type>::transformFvPatchField
|
||||||
(
|
(
|
||||||
@ -53,18 +65,6 @@ Foam::transformFvPatchField<Type>::transformFvPatchField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
|
||||||
Foam::transformFvPatchField<Type>::transformFvPatchField
|
|
||||||
(
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<Type, volMesh>& iF,
|
|
||||||
const dictionary& dict
|
|
||||||
)
|
|
||||||
:
|
|
||||||
fvPatchField<Type>(p, iF, dict, false)
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::transformFvPatchField<Type>::transformFvPatchField
|
Foam::transformFvPatchField<Type>::transformFvPatchField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -38,6 +38,18 @@ Foam::cyclicSlipFvPatchField<Type>::cyclicSlipFvPatchField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
template<class Type>
|
||||||
|
Foam::cyclicSlipFvPatchField<Type>::cyclicSlipFvPatchField
|
||||||
|
(
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<Type, volMesh>& iF,
|
||||||
|
const dictionary& dict
|
||||||
|
)
|
||||||
|
:
|
||||||
|
cyclicFvPatchField<Type>(p, iF, dict)
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::cyclicSlipFvPatchField<Type>::cyclicSlipFvPatchField
|
Foam::cyclicSlipFvPatchField<Type>::cyclicSlipFvPatchField
|
||||||
(
|
(
|
||||||
@ -51,18 +63,6 @@ Foam::cyclicSlipFvPatchField<Type>::cyclicSlipFvPatchField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
|
||||||
Foam::cyclicSlipFvPatchField<Type>::cyclicSlipFvPatchField
|
|
||||||
(
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<Type, volMesh>& iF,
|
|
||||||
const dictionary& dict
|
|
||||||
)
|
|
||||||
:
|
|
||||||
cyclicFvPatchField<Type>(p, iF, dict)
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::cyclicSlipFvPatchField<Type>::cyclicSlipFvPatchField
|
Foam::cyclicSlipFvPatchField<Type>::cyclicSlipFvPatchField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -39,29 +39,6 @@ Foam::emptyFvPatchField<Type>::emptyFvPatchField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
|
||||||
Foam::emptyFvPatchField<Type>::emptyFvPatchField
|
|
||||||
(
|
|
||||||
const emptyFvPatchField<Type>&,
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<Type, volMesh>& iF,
|
|
||||||
const fvPatchFieldMapper&
|
|
||||||
)
|
|
||||||
:
|
|
||||||
fvPatchField<Type>(p, iF, Field<Type>(0))
|
|
||||||
{
|
|
||||||
if (!isType<emptyFvPatch>(p))
|
|
||||||
{
|
|
||||||
FatalErrorInFunction
|
|
||||||
<< "' not constraint type '" << typeName << "'"
|
|
||||||
<< "\n for patch " << p.name()
|
|
||||||
<< " of field " << this->internalField().name()
|
|
||||||
<< " in file " << this->internalField().objectPath()
|
|
||||||
<< exit(FatalIOError);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::emptyFvPatchField<Type>::emptyFvPatchField
|
Foam::emptyFvPatchField<Type>::emptyFvPatchField
|
||||||
(
|
(
|
||||||
@ -87,6 +64,29 @@ Foam::emptyFvPatchField<Type>::emptyFvPatchField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
template<class Type>
|
||||||
|
Foam::emptyFvPatchField<Type>::emptyFvPatchField
|
||||||
|
(
|
||||||
|
const emptyFvPatchField<Type>&,
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<Type, volMesh>& iF,
|
||||||
|
const fvPatchFieldMapper&
|
||||||
|
)
|
||||||
|
:
|
||||||
|
fvPatchField<Type>(p, iF, Field<Type>(0))
|
||||||
|
{
|
||||||
|
if (!isType<emptyFvPatch>(p))
|
||||||
|
{
|
||||||
|
FatalErrorInFunction
|
||||||
|
<< "' not constraint type '" << typeName << "'"
|
||||||
|
<< "\n for patch " << p.name()
|
||||||
|
<< " of field " << this->internalField().name()
|
||||||
|
<< " in file " << this->internalField().objectPath()
|
||||||
|
<< exit(FatalError);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::emptyFvPatchField<Type>::emptyFvPatchField
|
Foam::emptyFvPatchField<Type>::emptyFvPatchField
|
||||||
(
|
(
|
||||||
@ -98,14 +98,4 @@ Foam::emptyFvPatchField<Type>::emptyFvPatchField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
template<class Type>
|
|
||||||
void Foam::emptyFvPatchField<Type>::updateCoeffs()
|
|
||||||
{
|
|
||||||
// Check moved to checkMesh.
|
|
||||||
// Test here fails if multiple empty patches.
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -137,12 +137,6 @@ public:
|
|||||||
|
|
||||||
// Evaluation functions
|
// Evaluation functions
|
||||||
|
|
||||||
//- Update the coefficients associated with the patch field
|
|
||||||
// This only checks to see the case is actually 1D or 2D
|
|
||||||
// for which this boundary condition is valid
|
|
||||||
void updateCoeffs();
|
|
||||||
|
|
||||||
|
|
||||||
//- Return the matrix diagonal coefficients corresponding to the
|
//- Return the matrix diagonal coefficients corresponding to the
|
||||||
// evaluation of the value of this patchField with given weights
|
// evaluation of the value of this patchField with given weights
|
||||||
virtual tmp<Field<Type>> valueInternalCoeffs
|
virtual tmp<Field<Type>> valueInternalCoeffs
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -38,19 +38,6 @@ Foam::jumpCyclicFvPatchField<Type>::jumpCyclicFvPatchField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
|
||||||
Foam::jumpCyclicFvPatchField<Type>::jumpCyclicFvPatchField
|
|
||||||
(
|
|
||||||
const jumpCyclicFvPatchField<Type>& ptf,
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<Type, volMesh>& iF,
|
|
||||||
const fvPatchFieldMapper& mapper
|
|
||||||
)
|
|
||||||
:
|
|
||||||
cyclicFvPatchField<Type>(ptf, p, iF, mapper)
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::jumpCyclicFvPatchField<Type>::jumpCyclicFvPatchField
|
Foam::jumpCyclicFvPatchField<Type>::jumpCyclicFvPatchField
|
||||||
(
|
(
|
||||||
@ -66,6 +53,19 @@ Foam::jumpCyclicFvPatchField<Type>::jumpCyclicFvPatchField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
template<class Type>
|
||||||
|
Foam::jumpCyclicFvPatchField<Type>::jumpCyclicFvPatchField
|
||||||
|
(
|
||||||
|
const jumpCyclicFvPatchField<Type>& ptf,
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<Type, volMesh>& iF,
|
||||||
|
const fvPatchFieldMapper& mapper
|
||||||
|
)
|
||||||
|
:
|
||||||
|
cyclicFvPatchField<Type>(ptf, p, iF, mapper)
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::jumpCyclicFvPatchField<Type>::jumpCyclicFvPatchField
|
Foam::jumpCyclicFvPatchField<Type>::jumpCyclicFvPatchField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2012-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2012-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -39,19 +39,6 @@ Foam::jumpCyclicAMIFvPatchField<Type>::jumpCyclicAMIFvPatchField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
|
||||||
Foam::jumpCyclicAMIFvPatchField<Type>::jumpCyclicAMIFvPatchField
|
|
||||||
(
|
|
||||||
const jumpCyclicAMIFvPatchField<Type>& ptf,
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<Type, volMesh>& iF,
|
|
||||||
const fvPatchFieldMapper& mapper
|
|
||||||
)
|
|
||||||
:
|
|
||||||
cyclicAMIFvPatchField<Type>(ptf, p, iF, mapper)
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::jumpCyclicAMIFvPatchField<Type>::jumpCyclicAMIFvPatchField
|
Foam::jumpCyclicAMIFvPatchField<Type>::jumpCyclicAMIFvPatchField
|
||||||
(
|
(
|
||||||
@ -67,6 +54,19 @@ Foam::jumpCyclicAMIFvPatchField<Type>::jumpCyclicAMIFvPatchField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
template<class Type>
|
||||||
|
Foam::jumpCyclicAMIFvPatchField<Type>::jumpCyclicAMIFvPatchField
|
||||||
|
(
|
||||||
|
const jumpCyclicAMIFvPatchField<Type>& ptf,
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<Type, volMesh>& iF,
|
||||||
|
const fvPatchFieldMapper& mapper
|
||||||
|
)
|
||||||
|
:
|
||||||
|
cyclicAMIFvPatchField<Type>(ptf, p, iF, mapper)
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::jumpCyclicAMIFvPatchField<Type>::jumpCyclicAMIFvPatchField
|
Foam::jumpCyclicAMIFvPatchField<Type>::jumpCyclicAMIFvPatchField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2013-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2013-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -40,30 +40,6 @@ Foam::symmetryPlaneFvPatchField<Type>::symmetryPlaneFvPatchField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
|
||||||
Foam::symmetryPlaneFvPatchField<Type>::symmetryPlaneFvPatchField
|
|
||||||
(
|
|
||||||
const symmetryPlaneFvPatchField<Type>& ptf,
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<Type, volMesh>& iF,
|
|
||||||
const fvPatchFieldMapper& mapper
|
|
||||||
)
|
|
||||||
:
|
|
||||||
basicSymmetryFvPatchField<Type>(ptf, p, iF, mapper),
|
|
||||||
symmetryPlanePatch_(refCast<const symmetryPlaneFvPatch>(p))
|
|
||||||
{
|
|
||||||
if (!isType<symmetryPlaneFvPatch>(this->patch()))
|
|
||||||
{
|
|
||||||
FatalErrorInFunction
|
|
||||||
<< "' not constraint type '" << typeName << "'"
|
|
||||||
<< "\n for patch " << p.name()
|
|
||||||
<< " of field " << this->internalField().name()
|
|
||||||
<< " in file " << this->internalField().objectPath()
|
|
||||||
<< exit(FatalIOError);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::symmetryPlaneFvPatchField<Type>::symmetryPlaneFvPatchField
|
Foam::symmetryPlaneFvPatchField<Type>::symmetryPlaneFvPatchField
|
||||||
(
|
(
|
||||||
@ -90,6 +66,30 @@ Foam::symmetryPlaneFvPatchField<Type>::symmetryPlaneFvPatchField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
template<class Type>
|
||||||
|
Foam::symmetryPlaneFvPatchField<Type>::symmetryPlaneFvPatchField
|
||||||
|
(
|
||||||
|
const symmetryPlaneFvPatchField<Type>& ptf,
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<Type, volMesh>& iF,
|
||||||
|
const fvPatchFieldMapper& mapper
|
||||||
|
)
|
||||||
|
:
|
||||||
|
basicSymmetryFvPatchField<Type>(ptf, p, iF, mapper),
|
||||||
|
symmetryPlanePatch_(refCast<const symmetryPlaneFvPatch>(p))
|
||||||
|
{
|
||||||
|
if (!isType<symmetryPlaneFvPatch>(this->patch()))
|
||||||
|
{
|
||||||
|
FatalErrorInFunction
|
||||||
|
<< "' not constraint type '" << typeName << "'"
|
||||||
|
<< "\n for patch " << p.name()
|
||||||
|
<< " of field " << this->internalField().name()
|
||||||
|
<< " in file " << this->internalField().objectPath()
|
||||||
|
<< exit(FatalIOError);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::symmetryPlaneFvPatchField<Type>::symmetryPlaneFvPatchField
|
Foam::symmetryPlaneFvPatchField<Type>::symmetryPlaneFvPatchField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -43,29 +43,6 @@ Foam::wedgeFvPatchField<Type>::wedgeFvPatchField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
|
||||||
Foam::wedgeFvPatchField<Type>::wedgeFvPatchField
|
|
||||||
(
|
|
||||||
const wedgeFvPatchField<Type>& ptf,
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<Type, volMesh>& iF,
|
|
||||||
const fvPatchFieldMapper& mapper
|
|
||||||
)
|
|
||||||
:
|
|
||||||
transformFvPatchField<Type>(ptf, p, iF, mapper)
|
|
||||||
{
|
|
||||||
if (!isType<wedgeFvPatch>(this->patch()))
|
|
||||||
{
|
|
||||||
FatalErrorInFunction
|
|
||||||
<< "' not constraint type '" << typeName << "'"
|
|
||||||
<< "\n for patch " << p.name()
|
|
||||||
<< " of field " << this->internalField().name()
|
|
||||||
<< " in file " << this->internalField().objectPath()
|
|
||||||
<< exit(FatalIOError);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::wedgeFvPatchField<Type>::wedgeFvPatchField
|
Foam::wedgeFvPatchField<Type>::wedgeFvPatchField
|
||||||
(
|
(
|
||||||
@ -93,6 +70,29 @@ Foam::wedgeFvPatchField<Type>::wedgeFvPatchField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
template<class Type>
|
||||||
|
Foam::wedgeFvPatchField<Type>::wedgeFvPatchField
|
||||||
|
(
|
||||||
|
const wedgeFvPatchField<Type>& ptf,
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<Type, volMesh>& iF,
|
||||||
|
const fvPatchFieldMapper& mapper
|
||||||
|
)
|
||||||
|
:
|
||||||
|
transformFvPatchField<Type>(ptf, p, iF, mapper)
|
||||||
|
{
|
||||||
|
if (!isType<wedgeFvPatch>(this->patch()))
|
||||||
|
{
|
||||||
|
FatalErrorInFunction
|
||||||
|
<< "' not constraint type '" << typeName << "'"
|
||||||
|
<< "\n for patch " << p.name()
|
||||||
|
<< " of field " << this->internalField().name()
|
||||||
|
<< " in file " << this->internalField().objectPath()
|
||||||
|
<< exit(FatalIOError);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::wedgeFvPatchField<Type>::wedgeFvPatchField
|
Foam::wedgeFvPatchField<Type>::wedgeFvPatchField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -53,30 +53,6 @@ activeBaffleVelocityFvPatchVectorField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::activeBaffleVelocityFvPatchVectorField::
|
|
||||||
activeBaffleVelocityFvPatchVectorField
|
|
||||||
(
|
|
||||||
const activeBaffleVelocityFvPatchVectorField& ptf,
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<vector, volMesh>& iF,
|
|
||||||
const fvPatchFieldMapper& mapper
|
|
||||||
)
|
|
||||||
:
|
|
||||||
fixedValueFvPatchVectorField(ptf, p, iF, mapper),
|
|
||||||
pName_(ptf.pName_),
|
|
||||||
cyclicPatchName_(ptf.cyclicPatchName_),
|
|
||||||
cyclicPatchLabel_(ptf.cyclicPatchLabel_),
|
|
||||||
orientation_(ptf.orientation_),
|
|
||||||
initWallSf_(ptf.initWallSf_),
|
|
||||||
initCyclicSf_(ptf.initCyclicSf_),
|
|
||||||
nbrCyclicSf_(ptf.nbrCyclicSf_),
|
|
||||||
openFraction_(ptf.openFraction_),
|
|
||||||
openingTime_(ptf.openingTime_),
|
|
||||||
maxOpenFractionDelta_(ptf.maxOpenFractionDelta_),
|
|
||||||
curTimeIndex_(-1)
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
Foam::activeBaffleVelocityFvPatchVectorField::
|
Foam::activeBaffleVelocityFvPatchVectorField::
|
||||||
activeBaffleVelocityFvPatchVectorField
|
activeBaffleVelocityFvPatchVectorField
|
||||||
(
|
(
|
||||||
@ -108,6 +84,30 @@ activeBaffleVelocityFvPatchVectorField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Foam::activeBaffleVelocityFvPatchVectorField::
|
||||||
|
activeBaffleVelocityFvPatchVectorField
|
||||||
|
(
|
||||||
|
const activeBaffleVelocityFvPatchVectorField& ptf,
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<vector, volMesh>& iF,
|
||||||
|
const fvPatchFieldMapper& mapper
|
||||||
|
)
|
||||||
|
:
|
||||||
|
fixedValueFvPatchVectorField(ptf, p, iF, mapper),
|
||||||
|
pName_(ptf.pName_),
|
||||||
|
cyclicPatchName_(ptf.cyclicPatchName_),
|
||||||
|
cyclicPatchLabel_(ptf.cyclicPatchLabel_),
|
||||||
|
orientation_(ptf.orientation_),
|
||||||
|
initWallSf_(ptf.initWallSf_),
|
||||||
|
initCyclicSf_(ptf.initCyclicSf_),
|
||||||
|
nbrCyclicSf_(ptf.nbrCyclicSf_),
|
||||||
|
openFraction_(ptf.openFraction_),
|
||||||
|
openingTime_(ptf.openingTime_),
|
||||||
|
maxOpenFractionDelta_(ptf.maxOpenFractionDelta_),
|
||||||
|
curTimeIndex_(-1)
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::activeBaffleVelocityFvPatchVectorField::
|
Foam::activeBaffleVelocityFvPatchVectorField::
|
||||||
activeBaffleVelocityFvPatchVectorField
|
activeBaffleVelocityFvPatchVectorField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -56,33 +56,6 @@ activePressureForceBaffleVelocityFvPatchVectorField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::activePressureForceBaffleVelocityFvPatchVectorField::
|
|
||||||
activePressureForceBaffleVelocityFvPatchVectorField
|
|
||||||
(
|
|
||||||
const activePressureForceBaffleVelocityFvPatchVectorField& ptf,
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<vector, volMesh>& iF,
|
|
||||||
const fvPatchFieldMapper& mapper
|
|
||||||
)
|
|
||||||
:
|
|
||||||
fixedValueFvPatchVectorField(ptf, p, iF, mapper),
|
|
||||||
pName_(ptf.pName_),
|
|
||||||
cyclicPatchName_(ptf.cyclicPatchName_),
|
|
||||||
cyclicPatchLabel_(ptf.cyclicPatchLabel_),
|
|
||||||
orientation_(ptf.orientation_),
|
|
||||||
initWallSf_(ptf.initWallSf_),
|
|
||||||
initCyclicSf_(ptf.initCyclicSf_),
|
|
||||||
nbrCyclicSf_(ptf.nbrCyclicSf_),
|
|
||||||
openFraction_(ptf.openFraction_),
|
|
||||||
openingTime_(ptf.openingTime_),
|
|
||||||
maxOpenFractionDelta_(ptf.maxOpenFractionDelta_),
|
|
||||||
curTimeIndex_(-1),
|
|
||||||
minThresholdValue_(ptf.minThresholdValue_),
|
|
||||||
fBased_(ptf.fBased_),
|
|
||||||
baffleActivated_(ptf.baffleActivated_)
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
Foam::activePressureForceBaffleVelocityFvPatchVectorField::
|
Foam::activePressureForceBaffleVelocityFvPatchVectorField::
|
||||||
activePressureForceBaffleVelocityFvPatchVectorField
|
activePressureForceBaffleVelocityFvPatchVectorField
|
||||||
(
|
(
|
||||||
@ -126,6 +99,33 @@ activePressureForceBaffleVelocityFvPatchVectorField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Foam::activePressureForceBaffleVelocityFvPatchVectorField::
|
||||||
|
activePressureForceBaffleVelocityFvPatchVectorField
|
||||||
|
(
|
||||||
|
const activePressureForceBaffleVelocityFvPatchVectorField& ptf,
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<vector, volMesh>& iF,
|
||||||
|
const fvPatchFieldMapper& mapper
|
||||||
|
)
|
||||||
|
:
|
||||||
|
fixedValueFvPatchVectorField(ptf, p, iF, mapper),
|
||||||
|
pName_(ptf.pName_),
|
||||||
|
cyclicPatchName_(ptf.cyclicPatchName_),
|
||||||
|
cyclicPatchLabel_(ptf.cyclicPatchLabel_),
|
||||||
|
orientation_(ptf.orientation_),
|
||||||
|
initWallSf_(ptf.initWallSf_),
|
||||||
|
initCyclicSf_(ptf.initCyclicSf_),
|
||||||
|
nbrCyclicSf_(ptf.nbrCyclicSf_),
|
||||||
|
openFraction_(ptf.openFraction_),
|
||||||
|
openingTime_(ptf.openingTime_),
|
||||||
|
maxOpenFractionDelta_(ptf.maxOpenFractionDelta_),
|
||||||
|
curTimeIndex_(-1),
|
||||||
|
minThresholdValue_(ptf.minThresholdValue_),
|
||||||
|
fBased_(ptf.fBased_),
|
||||||
|
baffleActivated_(ptf.baffleActivated_)
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::activePressureForceBaffleVelocityFvPatchVectorField::
|
Foam::activePressureForceBaffleVelocityFvPatchVectorField::
|
||||||
activePressureForceBaffleVelocityFvPatchVectorField
|
activePressureForceBaffleVelocityFvPatchVectorField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -54,23 +54,6 @@ Foam::advectiveFvPatchField<Type>::advectiveFvPatchField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
|
||||||
Foam::advectiveFvPatchField<Type>::advectiveFvPatchField
|
|
||||||
(
|
|
||||||
const advectiveFvPatchField& ptf,
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<Type, volMesh>& iF,
|
|
||||||
const fvPatchFieldMapper& mapper
|
|
||||||
)
|
|
||||||
:
|
|
||||||
mixedFvPatchField<Type>(ptf, p, iF, mapper),
|
|
||||||
phiName_(ptf.phiName_),
|
|
||||||
rhoName_(ptf.rhoName_),
|
|
||||||
fieldInf_(ptf.fieldInf_),
|
|
||||||
lInf_(ptf.lInf_)
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::advectiveFvPatchField<Type>::advectiveFvPatchField
|
Foam::advectiveFvPatchField<Type>::advectiveFvPatchField
|
||||||
(
|
(
|
||||||
@ -120,6 +103,23 @@ Foam::advectiveFvPatchField<Type>::advectiveFvPatchField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
template<class Type>
|
||||||
|
Foam::advectiveFvPatchField<Type>::advectiveFvPatchField
|
||||||
|
(
|
||||||
|
const advectiveFvPatchField& ptf,
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<Type, volMesh>& iF,
|
||||||
|
const fvPatchFieldMapper& mapper
|
||||||
|
)
|
||||||
|
:
|
||||||
|
mixedFvPatchField<Type>(ptf, p, iF, mapper),
|
||||||
|
phiName_(ptf.phiName_),
|
||||||
|
rhoName_(ptf.rhoName_),
|
||||||
|
fieldInf_(ptf.fieldInf_),
|
||||||
|
lInf_(ptf.lInf_)
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::advectiveFvPatchField<Type>::advectiveFvPatchField
|
Foam::advectiveFvPatchField<Type>::advectiveFvPatchField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -115,21 +115,6 @@ Foam::codedFixedValueFvPatchField<Type>::codedFixedValueFvPatchField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
|
||||||
Foam::codedFixedValueFvPatchField<Type>::codedFixedValueFvPatchField
|
|
||||||
(
|
|
||||||
const codedFixedValueFvPatchField<Type>& ptf,
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<Type, volMesh>& iF,
|
|
||||||
const fvPatchFieldMapper& mapper
|
|
||||||
)
|
|
||||||
:
|
|
||||||
fixedValueFvPatchField<Type>(ptf, p, iF, mapper),
|
|
||||||
codedBase(ptf),
|
|
||||||
redirectPatchFieldPtr_()
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::codedFixedValueFvPatchField<Type>::codedFixedValueFvPatchField
|
Foam::codedFixedValueFvPatchField<Type>::codedFixedValueFvPatchField
|
||||||
(
|
(
|
||||||
@ -146,6 +131,21 @@ Foam::codedFixedValueFvPatchField<Type>::codedFixedValueFvPatchField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
template<class Type>
|
||||||
|
Foam::codedFixedValueFvPatchField<Type>::codedFixedValueFvPatchField
|
||||||
|
(
|
||||||
|
const codedFixedValueFvPatchField<Type>& ptf,
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<Type, volMesh>& iF,
|
||||||
|
const fvPatchFieldMapper& mapper
|
||||||
|
)
|
||||||
|
:
|
||||||
|
fixedValueFvPatchField<Type>(ptf, p, iF, mapper),
|
||||||
|
codedBase(ptf),
|
||||||
|
redirectPatchFieldPtr_()
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::codedFixedValueFvPatchField<Type>::codedFixedValueFvPatchField
|
Foam::codedFixedValueFvPatchField<Type>::codedFixedValueFvPatchField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -115,21 +115,6 @@ Foam::codedMixedFvPatchField<Type>::codedMixedFvPatchField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
|
||||||
Foam::codedMixedFvPatchField<Type>::codedMixedFvPatchField
|
|
||||||
(
|
|
||||||
const codedMixedFvPatchField<Type>& ptf,
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<Type, volMesh>& iF,
|
|
||||||
const fvPatchFieldMapper& mapper
|
|
||||||
)
|
|
||||||
:
|
|
||||||
mixedFvPatchField<Type>(ptf, p, iF, mapper),
|
|
||||||
codedBase(ptf),
|
|
||||||
redirectPatchFieldPtr_()
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::codedMixedFvPatchField<Type>::codedMixedFvPatchField
|
Foam::codedMixedFvPatchField<Type>::codedMixedFvPatchField
|
||||||
(
|
(
|
||||||
@ -146,6 +131,21 @@ Foam::codedMixedFvPatchField<Type>::codedMixedFvPatchField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
template<class Type>
|
||||||
|
Foam::codedMixedFvPatchField<Type>::codedMixedFvPatchField
|
||||||
|
(
|
||||||
|
const codedMixedFvPatchField<Type>& ptf,
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<Type, volMesh>& iF,
|
||||||
|
const fvPatchFieldMapper& mapper
|
||||||
|
)
|
||||||
|
:
|
||||||
|
mixedFvPatchField<Type>(ptf, p, iF, mapper),
|
||||||
|
codedBase(ptf),
|
||||||
|
redirectPatchFieldPtr_()
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::codedMixedFvPatchField<Type>::codedMixedFvPatchField
|
Foam::codedMixedFvPatchField<Type>::codedMixedFvPatchField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -48,6 +48,23 @@ cylindricalInletVelocityFvPatchVectorField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
Foam::cylindricalInletVelocityFvPatchVectorField::
|
||||||
|
cylindricalInletVelocityFvPatchVectorField
|
||||||
|
(
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<vector, volMesh>& iF,
|
||||||
|
const dictionary& dict
|
||||||
|
)
|
||||||
|
:
|
||||||
|
fixedValueFvPatchField<vector>(p, iF, dict),
|
||||||
|
origin_(dict.lookup("origin")),
|
||||||
|
axis_(dict.lookup("axis")),
|
||||||
|
axialVelocity_(Function1<scalar>::New("axialVelocity", dict)),
|
||||||
|
radialVelocity_(Function1<scalar>::New("radialVelocity", dict)),
|
||||||
|
rpm_(Function1<scalar>::New("rpm", dict))
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::cylindricalInletVelocityFvPatchVectorField::
|
Foam::cylindricalInletVelocityFvPatchVectorField::
|
||||||
cylindricalInletVelocityFvPatchVectorField
|
cylindricalInletVelocityFvPatchVectorField
|
||||||
(
|
(
|
||||||
@ -66,23 +83,6 @@ cylindricalInletVelocityFvPatchVectorField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::cylindricalInletVelocityFvPatchVectorField::
|
|
||||||
cylindricalInletVelocityFvPatchVectorField
|
|
||||||
(
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<vector, volMesh>& iF,
|
|
||||||
const dictionary& dict
|
|
||||||
)
|
|
||||||
:
|
|
||||||
fixedValueFvPatchField<vector>(p, iF, dict),
|
|
||||||
origin_(dict.lookup("origin")),
|
|
||||||
axis_(dict.lookup("axis")),
|
|
||||||
axialVelocity_(Function1<scalar>::New("axialVelocity", dict)),
|
|
||||||
radialVelocity_(Function1<scalar>::New("radialVelocity", dict)),
|
|
||||||
rpm_(Function1<scalar>::New("rpm", dict))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
Foam::cylindricalInletVelocityFvPatchVectorField::
|
Foam::cylindricalInletVelocityFvPatchVectorField::
|
||||||
cylindricalInletVelocityFvPatchVectorField
|
cylindricalInletVelocityFvPatchVectorField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2013-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2013-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -462,31 +462,6 @@ externalCoupledMixedFvPatchField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
|
||||||
Foam::externalCoupledMixedFvPatchField<Type>::
|
|
||||||
externalCoupledMixedFvPatchField
|
|
||||||
(
|
|
||||||
const externalCoupledMixedFvPatchField& ptf,
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<Type, volMesh>& iF,
|
|
||||||
const fvPatchFieldMapper& mapper
|
|
||||||
)
|
|
||||||
:
|
|
||||||
mixedFvPatchField<Type>(ptf, p, iF, mapper),
|
|
||||||
commsDir_(ptf.commsDir_),
|
|
||||||
fName_(ptf.fName_),
|
|
||||||
waitInterval_(ptf.waitInterval_),
|
|
||||||
timeOut_(ptf.timeOut_),
|
|
||||||
calcFrequency_(ptf.calcFrequency_),
|
|
||||||
initByExternal_(ptf.initByExternal_),
|
|
||||||
log_(ptf.log_),
|
|
||||||
master_(ptf.master_),
|
|
||||||
offsets_(ptf.offsets_),
|
|
||||||
initialised_(ptf.initialised_),
|
|
||||||
coupledPatchIDs_(ptf.coupledPatchIDs_)
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::externalCoupledMixedFvPatchField<Type>::
|
Foam::externalCoupledMixedFvPatchField<Type>::
|
||||||
externalCoupledMixedFvPatchField
|
externalCoupledMixedFvPatchField
|
||||||
@ -540,6 +515,31 @@ externalCoupledMixedFvPatchField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
template<class Type>
|
||||||
|
Foam::externalCoupledMixedFvPatchField<Type>::
|
||||||
|
externalCoupledMixedFvPatchField
|
||||||
|
(
|
||||||
|
const externalCoupledMixedFvPatchField& ptf,
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<Type, volMesh>& iF,
|
||||||
|
const fvPatchFieldMapper& mapper
|
||||||
|
)
|
||||||
|
:
|
||||||
|
mixedFvPatchField<Type>(ptf, p, iF, mapper),
|
||||||
|
commsDir_(ptf.commsDir_),
|
||||||
|
fName_(ptf.fName_),
|
||||||
|
waitInterval_(ptf.waitInterval_),
|
||||||
|
timeOut_(ptf.timeOut_),
|
||||||
|
calcFrequency_(ptf.calcFrequency_),
|
||||||
|
initByExternal_(ptf.initByExternal_),
|
||||||
|
log_(ptf.log_),
|
||||||
|
master_(ptf.master_),
|
||||||
|
offsets_(ptf.offsets_),
|
||||||
|
initialised_(ptf.initialised_),
|
||||||
|
coupledPatchIDs_(ptf.coupledPatchIDs_)
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::externalCoupledMixedFvPatchField<Type>::
|
Foam::externalCoupledMixedFvPatchField<Type>::
|
||||||
externalCoupledMixedFvPatchField
|
externalCoupledMixedFvPatchField
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -40,6 +40,18 @@ Foam::fixedInternalValueFvPatchField<Type>::fixedInternalValueFvPatchField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
template<class Type>
|
||||||
|
Foam::fixedInternalValueFvPatchField<Type>::fixedInternalValueFvPatchField
|
||||||
|
(
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<Type, volMesh>& iF,
|
||||||
|
const dictionary& dict
|
||||||
|
)
|
||||||
|
:
|
||||||
|
zeroGradientFvPatchField<Type>(p, iF, dict)
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::fixedInternalValueFvPatchField<Type>::fixedInternalValueFvPatchField
|
Foam::fixedInternalValueFvPatchField<Type>::fixedInternalValueFvPatchField
|
||||||
(
|
(
|
||||||
@ -53,18 +65,6 @@ Foam::fixedInternalValueFvPatchField<Type>::fixedInternalValueFvPatchField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
|
||||||
Foam::fixedInternalValueFvPatchField<Type>::fixedInternalValueFvPatchField
|
|
||||||
(
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<Type, volMesh>& iF,
|
|
||||||
const dictionary& dict
|
|
||||||
)
|
|
||||||
:
|
|
||||||
zeroGradientFvPatchField<Type>(p, iF, dict)
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::fixedInternalValueFvPatchField<Type>::fixedInternalValueFvPatchField
|
Foam::fixedInternalValueFvPatchField<Type>::fixedInternalValueFvPatchField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -39,20 +39,6 @@ Foam::fixedJumpFvPatchField<Type>::fixedJumpFvPatchField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
|
||||||
Foam::fixedJumpFvPatchField<Type>::fixedJumpFvPatchField
|
|
||||||
(
|
|
||||||
const fixedJumpFvPatchField<Type>& ptf,
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<Type, volMesh>& iF,
|
|
||||||
const fvPatchFieldMapper& mapper
|
|
||||||
)
|
|
||||||
:
|
|
||||||
jumpCyclicFvPatchField<Type>(ptf, p, iF, mapper),
|
|
||||||
jump_(mapper(ptf.jump_))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::fixedJumpFvPatchField<Type>::fixedJumpFvPatchField
|
Foam::fixedJumpFvPatchField<Type>::fixedJumpFvPatchField
|
||||||
(
|
(
|
||||||
@ -83,6 +69,20 @@ Foam::fixedJumpFvPatchField<Type>::fixedJumpFvPatchField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
template<class Type>
|
||||||
|
Foam::fixedJumpFvPatchField<Type>::fixedJumpFvPatchField
|
||||||
|
(
|
||||||
|
const fixedJumpFvPatchField<Type>& ptf,
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<Type, volMesh>& iF,
|
||||||
|
const fvPatchFieldMapper& mapper
|
||||||
|
)
|
||||||
|
:
|
||||||
|
jumpCyclicFvPatchField<Type>(ptf, p, iF, mapper),
|
||||||
|
jump_(mapper(ptf.jump_))
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::fixedJumpFvPatchField<Type>::fixedJumpFvPatchField
|
Foam::fixedJumpFvPatchField<Type>::fixedJumpFvPatchField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2012-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2012-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -39,20 +39,6 @@ Foam::fixedJumpAMIFvPatchField<Type>::fixedJumpAMIFvPatchField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
|
||||||
Foam::fixedJumpAMIFvPatchField<Type>::fixedJumpAMIFvPatchField
|
|
||||||
(
|
|
||||||
const fixedJumpAMIFvPatchField<Type>& ptf,
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<Type, volMesh>& iF,
|
|
||||||
const fvPatchFieldMapper& mapper
|
|
||||||
)
|
|
||||||
:
|
|
||||||
jumpCyclicAMIFvPatchField<Type>(ptf, p, iF, mapper),
|
|
||||||
jump_(mapper(ptf.jump_))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::fixedJumpAMIFvPatchField<Type>::fixedJumpAMIFvPatchField
|
Foam::fixedJumpAMIFvPatchField<Type>::fixedJumpAMIFvPatchField
|
||||||
(
|
(
|
||||||
@ -83,6 +69,20 @@ Foam::fixedJumpAMIFvPatchField<Type>::fixedJumpAMIFvPatchField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
template<class Type>
|
||||||
|
Foam::fixedJumpAMIFvPatchField<Type>::fixedJumpAMIFvPatchField
|
||||||
|
(
|
||||||
|
const fixedJumpAMIFvPatchField<Type>& ptf,
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<Type, volMesh>& iF,
|
||||||
|
const fvPatchFieldMapper& mapper
|
||||||
|
)
|
||||||
|
:
|
||||||
|
jumpCyclicAMIFvPatchField<Type>(ptf, p, iF, mapper),
|
||||||
|
jump_(mapper(ptf.jump_))
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::fixedJumpAMIFvPatchField<Type>::fixedJumpAMIFvPatchField
|
Foam::fixedJumpAMIFvPatchField<Type>::fixedJumpAMIFvPatchField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -41,20 +41,6 @@ Foam::fixedNormalSlipFvPatchField<Type>::fixedNormalSlipFvPatchField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
|
||||||
Foam::fixedNormalSlipFvPatchField<Type>::fixedNormalSlipFvPatchField
|
|
||||||
(
|
|
||||||
const fixedNormalSlipFvPatchField<Type>& ptf,
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<Type, volMesh>& iF,
|
|
||||||
const fvPatchFieldMapper& mapper
|
|
||||||
)
|
|
||||||
:
|
|
||||||
transformFvPatchField<Type>(ptf, p, iF, mapper),
|
|
||||||
fixedValue_(mapper(ptf.fixedValue_))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::fixedNormalSlipFvPatchField<Type>::fixedNormalSlipFvPatchField
|
Foam::fixedNormalSlipFvPatchField<Type>::fixedNormalSlipFvPatchField
|
||||||
(
|
(
|
||||||
@ -70,6 +56,20 @@ Foam::fixedNormalSlipFvPatchField<Type>::fixedNormalSlipFvPatchField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
template<class Type>
|
||||||
|
Foam::fixedNormalSlipFvPatchField<Type>::fixedNormalSlipFvPatchField
|
||||||
|
(
|
||||||
|
const fixedNormalSlipFvPatchField<Type>& ptf,
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<Type, volMesh>& iF,
|
||||||
|
const fvPatchFieldMapper& mapper
|
||||||
|
)
|
||||||
|
:
|
||||||
|
transformFvPatchField<Type>(ptf, p, iF, mapper),
|
||||||
|
fixedValue_(mapper(ptf.fixedValue_))
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::fixedNormalSlipFvPatchField<Type>::fixedNormalSlipFvPatchField
|
Foam::fixedNormalSlipFvPatchField<Type>::fixedNormalSlipFvPatchField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -43,6 +43,19 @@ fixedPressureCompressibleDensityFvPatchScalarField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
Foam::fixedPressureCompressibleDensityFvPatchScalarField::
|
||||||
|
fixedPressureCompressibleDensityFvPatchScalarField
|
||||||
|
(
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<scalar, volMesh>& iF,
|
||||||
|
const dictionary& dict
|
||||||
|
)
|
||||||
|
:
|
||||||
|
fixedValueFvPatchField<scalar>(p, iF, dict),
|
||||||
|
pName_(dict.lookupOrDefault<word>("p", "p"))
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::fixedPressureCompressibleDensityFvPatchScalarField::
|
Foam::fixedPressureCompressibleDensityFvPatchScalarField::
|
||||||
fixedPressureCompressibleDensityFvPatchScalarField
|
fixedPressureCompressibleDensityFvPatchScalarField
|
||||||
(
|
(
|
||||||
@ -57,19 +70,6 @@ fixedPressureCompressibleDensityFvPatchScalarField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::fixedPressureCompressibleDensityFvPatchScalarField::
|
|
||||||
fixedPressureCompressibleDensityFvPatchScalarField
|
|
||||||
(
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<scalar, volMesh>& iF,
|
|
||||||
const dictionary& dict
|
|
||||||
)
|
|
||||||
:
|
|
||||||
fixedValueFvPatchField<scalar>(p, iF, dict),
|
|
||||||
pName_(dict.lookupOrDefault<word>("p", "p"))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
Foam::fixedPressureCompressibleDensityFvPatchScalarField::
|
Foam::fixedPressureCompressibleDensityFvPatchScalarField::
|
||||||
fixedPressureCompressibleDensityFvPatchScalarField
|
fixedPressureCompressibleDensityFvPatchScalarField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -44,21 +44,6 @@ fluxCorrectedVelocityFvPatchVectorField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::fluxCorrectedVelocityFvPatchVectorField::
|
|
||||||
fluxCorrectedVelocityFvPatchVectorField
|
|
||||||
(
|
|
||||||
const fluxCorrectedVelocityFvPatchVectorField& ptf,
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<vector, volMesh>& iF,
|
|
||||||
const fvPatchFieldMapper& mapper
|
|
||||||
)
|
|
||||||
:
|
|
||||||
zeroGradientFvPatchVectorField(ptf, p, iF, mapper),
|
|
||||||
phiName_(ptf.phiName_),
|
|
||||||
rhoName_(ptf.rhoName_)
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
Foam::fluxCorrectedVelocityFvPatchVectorField::
|
Foam::fluxCorrectedVelocityFvPatchVectorField::
|
||||||
fluxCorrectedVelocityFvPatchVectorField
|
fluxCorrectedVelocityFvPatchVectorField
|
||||||
(
|
(
|
||||||
@ -75,6 +60,21 @@ fluxCorrectedVelocityFvPatchVectorField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Foam::fluxCorrectedVelocityFvPatchVectorField::
|
||||||
|
fluxCorrectedVelocityFvPatchVectorField
|
||||||
|
(
|
||||||
|
const fluxCorrectedVelocityFvPatchVectorField& ptf,
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<vector, volMesh>& iF,
|
||||||
|
const fvPatchFieldMapper& mapper
|
||||||
|
)
|
||||||
|
:
|
||||||
|
zeroGradientFvPatchVectorField(ptf, p, iF, mapper),
|
||||||
|
phiName_(ptf.phiName_),
|
||||||
|
rhoName_(ptf.rhoName_)
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::fluxCorrectedVelocityFvPatchVectorField::
|
Foam::fluxCorrectedVelocityFvPatchVectorField::
|
||||||
fluxCorrectedVelocityFvPatchVectorField
|
fluxCorrectedVelocityFvPatchVectorField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -43,20 +43,6 @@ Foam::inletOutletFvPatchField<Type>::inletOutletFvPatchField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
|
||||||
Foam::inletOutletFvPatchField<Type>::inletOutletFvPatchField
|
|
||||||
(
|
|
||||||
const inletOutletFvPatchField<Type>& ptf,
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<Type, volMesh>& iF,
|
|
||||||
const fvPatchFieldMapper& mapper
|
|
||||||
)
|
|
||||||
:
|
|
||||||
mixedFvPatchField<Type>(ptf, p, iF, mapper),
|
|
||||||
phiName_(ptf.phiName_)
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::inletOutletFvPatchField<Type>::inletOutletFvPatchField
|
Foam::inletOutletFvPatchField<Type>::inletOutletFvPatchField
|
||||||
(
|
(
|
||||||
@ -87,6 +73,20 @@ Foam::inletOutletFvPatchField<Type>::inletOutletFvPatchField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
template<class Type>
|
||||||
|
Foam::inletOutletFvPatchField<Type>::inletOutletFvPatchField
|
||||||
|
(
|
||||||
|
const inletOutletFvPatchField<Type>& ptf,
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<Type, volMesh>& iF,
|
||||||
|
const fvPatchFieldMapper& mapper
|
||||||
|
)
|
||||||
|
:
|
||||||
|
mixedFvPatchField<Type>(ptf, p, iF, mapper),
|
||||||
|
phiName_(ptf.phiName_)
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::inletOutletFvPatchField<Type>::inletOutletFvPatchField
|
Foam::inletOutletFvPatchField<Type>::inletOutletFvPatchField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -50,23 +50,6 @@ inletOutletTotalTemperatureFvPatchScalarField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Foam::inletOutletTotalTemperatureFvPatchScalarField::
|
|
||||||
inletOutletTotalTemperatureFvPatchScalarField
|
|
||||||
(
|
|
||||||
const inletOutletTotalTemperatureFvPatchScalarField& ptf,
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<scalar, volMesh>& iF,
|
|
||||||
const fvPatchFieldMapper& mapper
|
|
||||||
)
|
|
||||||
:
|
|
||||||
inletOutletFvPatchScalarField(ptf, p, iF, mapper),
|
|
||||||
UName_(ptf.UName_),
|
|
||||||
psiName_(ptf.psiName_),
|
|
||||||
gamma_(ptf.gamma_),
|
|
||||||
T0_(mapper(ptf.T0_))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
Foam::inletOutletTotalTemperatureFvPatchScalarField::
|
Foam::inletOutletTotalTemperatureFvPatchScalarField::
|
||||||
inletOutletTotalTemperatureFvPatchScalarField
|
inletOutletTotalTemperatureFvPatchScalarField
|
||||||
(
|
(
|
||||||
@ -101,6 +84,23 @@ inletOutletTotalTemperatureFvPatchScalarField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Foam::inletOutletTotalTemperatureFvPatchScalarField::
|
||||||
|
inletOutletTotalTemperatureFvPatchScalarField
|
||||||
|
(
|
||||||
|
const inletOutletTotalTemperatureFvPatchScalarField& ptf,
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<scalar, volMesh>& iF,
|
||||||
|
const fvPatchFieldMapper& mapper
|
||||||
|
)
|
||||||
|
:
|
||||||
|
inletOutletFvPatchScalarField(ptf, p, iF, mapper),
|
||||||
|
UName_(ptf.UName_),
|
||||||
|
psiName_(ptf.psiName_),
|
||||||
|
gamma_(ptf.gamma_),
|
||||||
|
T0_(mapper(ptf.T0_))
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::inletOutletTotalTemperatureFvPatchScalarField::
|
Foam::inletOutletTotalTemperatureFvPatchScalarField::
|
||||||
inletOutletTotalTemperatureFvPatchScalarField
|
inletOutletTotalTemperatureFvPatchScalarField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2013-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2013-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -44,6 +44,20 @@ interstitialInletVelocityFvPatchVectorField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
Foam::interstitialInletVelocityFvPatchVectorField::
|
||||||
|
interstitialInletVelocityFvPatchVectorField
|
||||||
|
(
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<vector, volMesh>& iF,
|
||||||
|
const dictionary& dict
|
||||||
|
)
|
||||||
|
:
|
||||||
|
fixedValueFvPatchVectorField(p, iF, dict),
|
||||||
|
inletVelocity_("inletVelocity", dict, p.size()),
|
||||||
|
alphaName_(dict.lookupOrDefault<word>("alpha", "alpha"))
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::interstitialInletVelocityFvPatchVectorField::
|
Foam::interstitialInletVelocityFvPatchVectorField::
|
||||||
interstitialInletVelocityFvPatchVectorField
|
interstitialInletVelocityFvPatchVectorField
|
||||||
(
|
(
|
||||||
@ -59,20 +73,6 @@ interstitialInletVelocityFvPatchVectorField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::interstitialInletVelocityFvPatchVectorField::
|
|
||||||
interstitialInletVelocityFvPatchVectorField
|
|
||||||
(
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<vector, volMesh>& iF,
|
|
||||||
const dictionary& dict
|
|
||||||
)
|
|
||||||
:
|
|
||||||
fixedValueFvPatchVectorField(p, iF, dict),
|
|
||||||
inletVelocity_("inletVelocity", dict, p.size()),
|
|
||||||
alphaName_(dict.lookupOrDefault<word>("alpha", "alpha"))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
Foam::interstitialInletVelocityFvPatchVectorField::
|
Foam::interstitialInletVelocityFvPatchVectorField::
|
||||||
interstitialInletVelocityFvPatchVectorField
|
interstitialInletVelocityFvPatchVectorField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -44,13 +44,12 @@ template<class Type>
|
|||||||
Foam::mappedFixedInternalValueFvPatchField<Type>::
|
Foam::mappedFixedInternalValueFvPatchField<Type>::
|
||||||
mappedFixedInternalValueFvPatchField
|
mappedFixedInternalValueFvPatchField
|
||||||
(
|
(
|
||||||
const mappedFixedInternalValueFvPatchField<Type>& ptf,
|
|
||||||
const fvPatch& p,
|
const fvPatch& p,
|
||||||
const DimensionedField<Type, volMesh>& iF,
|
const DimensionedField<Type, volMesh>& iF,
|
||||||
const fvPatchFieldMapper& mapper
|
const dictionary& dict
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
mappedFixedValueFvPatchField<Type>(ptf, p, iF, mapper)
|
mappedFixedValueFvPatchField<Type>(p, iF, dict)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -58,12 +57,13 @@ template<class Type>
|
|||||||
Foam::mappedFixedInternalValueFvPatchField<Type>::
|
Foam::mappedFixedInternalValueFvPatchField<Type>::
|
||||||
mappedFixedInternalValueFvPatchField
|
mappedFixedInternalValueFvPatchField
|
||||||
(
|
(
|
||||||
|
const mappedFixedInternalValueFvPatchField<Type>& ptf,
|
||||||
const fvPatch& p,
|
const fvPatch& p,
|
||||||
const DimensionedField<Type, volMesh>& iF,
|
const DimensionedField<Type, volMesh>& iF,
|
||||||
const dictionary& dict
|
const fvPatchFieldMapper& mapper
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
mappedFixedValueFvPatchField<Type>(p, iF, dict)
|
mappedFixedValueFvPatchField<Type>(ptf, p, iF, mapper)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -45,6 +45,20 @@ Foam::mappedFlowRateFvPatchVectorField::mappedFlowRateFvPatchVectorField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
Foam::mappedFlowRateFvPatchVectorField::mappedFlowRateFvPatchVectorField
|
||||||
|
(
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<vector, volMesh>& iF,
|
||||||
|
const dictionary& dict
|
||||||
|
)
|
||||||
|
:
|
||||||
|
fixedValueFvPatchField<vector>(p, iF, dict),
|
||||||
|
nbrPhiName_(dict.lookupOrDefault<word>("nbrPhi", "phi")),
|
||||||
|
phiName_(dict.lookupOrDefault<word>("phi", "phi")),
|
||||||
|
rhoName_(dict.lookupOrDefault<word>("rho", "rho"))
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::mappedFlowRateFvPatchVectorField::mappedFlowRateFvPatchVectorField
|
Foam::mappedFlowRateFvPatchVectorField::mappedFlowRateFvPatchVectorField
|
||||||
(
|
(
|
||||||
const mappedFlowRateFvPatchVectorField& ptf,
|
const mappedFlowRateFvPatchVectorField& ptf,
|
||||||
@ -60,20 +74,6 @@ Foam::mappedFlowRateFvPatchVectorField::mappedFlowRateFvPatchVectorField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::mappedFlowRateFvPatchVectorField::mappedFlowRateFvPatchVectorField
|
|
||||||
(
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<vector, volMesh>& iF,
|
|
||||||
const dictionary& dict
|
|
||||||
)
|
|
||||||
:
|
|
||||||
fixedValueFvPatchField<vector>(p, iF, dict),
|
|
||||||
nbrPhiName_(dict.lookupOrDefault<word>("nbrPhi", "phi")),
|
|
||||||
phiName_(dict.lookupOrDefault<word>("phi", "phi")),
|
|
||||||
rhoName_(dict.lookupOrDefault<word>("rho", "rho"))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
Foam::mappedFlowRateFvPatchVectorField::mappedFlowRateFvPatchVectorField
|
Foam::mappedFlowRateFvPatchVectorField::mappedFlowRateFvPatchVectorField
|
||||||
(
|
(
|
||||||
const mappedFlowRateFvPatchVectorField& ptf,
|
const mappedFlowRateFvPatchVectorField& ptf,
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -45,31 +45,6 @@ mappedVelocityFluxFixedValueFvPatchField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::mappedVelocityFluxFixedValueFvPatchField::
|
|
||||||
mappedVelocityFluxFixedValueFvPatchField
|
|
||||||
(
|
|
||||||
const mappedVelocityFluxFixedValueFvPatchField& ptf,
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<vector, volMesh>& iF,
|
|
||||||
const fvPatchFieldMapper& mapper
|
|
||||||
)
|
|
||||||
:
|
|
||||||
fixedValueFvPatchVectorField(ptf, p, iF, mapper),
|
|
||||||
phiName_(ptf.phiName_)
|
|
||||||
{
|
|
||||||
if (!isA<mappedPatchBase>(this->patch().patch()))
|
|
||||||
{
|
|
||||||
FatalErrorInFunction
|
|
||||||
<< "Patch type '" << p.type()
|
|
||||||
<< "' not type '" << mappedPatchBase::typeName << "'"
|
|
||||||
<< " for patch " << p.name()
|
|
||||||
<< " of field " << internalField().name()
|
|
||||||
<< " in file " << internalField().objectPath()
|
|
||||||
<< exit(FatalError);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
Foam::mappedVelocityFluxFixedValueFvPatchField::
|
Foam::mappedVelocityFluxFixedValueFvPatchField::
|
||||||
mappedVelocityFluxFixedValueFvPatchField
|
mappedVelocityFluxFixedValueFvPatchField
|
||||||
(
|
(
|
||||||
@ -109,6 +84,31 @@ mappedVelocityFluxFixedValueFvPatchField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Foam::mappedVelocityFluxFixedValueFvPatchField::
|
||||||
|
mappedVelocityFluxFixedValueFvPatchField
|
||||||
|
(
|
||||||
|
const mappedVelocityFluxFixedValueFvPatchField& ptf,
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<vector, volMesh>& iF,
|
||||||
|
const fvPatchFieldMapper& mapper
|
||||||
|
)
|
||||||
|
:
|
||||||
|
fixedValueFvPatchVectorField(ptf, p, iF, mapper),
|
||||||
|
phiName_(ptf.phiName_)
|
||||||
|
{
|
||||||
|
if (!isA<mappedPatchBase>(this->patch().patch()))
|
||||||
|
{
|
||||||
|
FatalErrorInFunction
|
||||||
|
<< "Patch type '" << p.type()
|
||||||
|
<< "' not type '" << mappedPatchBase::typeName << "'"
|
||||||
|
<< " for patch " << p.name()
|
||||||
|
<< " of field " << internalField().name()
|
||||||
|
<< " in file " << internalField().objectPath()
|
||||||
|
<< exit(FatalError);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
Foam::mappedVelocityFluxFixedValueFvPatchField::
|
Foam::mappedVelocityFluxFixedValueFvPatchField::
|
||||||
mappedVelocityFluxFixedValueFvPatchField
|
mappedVelocityFluxFixedValueFvPatchField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -43,20 +43,6 @@ Foam::outletInletFvPatchField<Type>::outletInletFvPatchField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
|
||||||
Foam::outletInletFvPatchField<Type>::outletInletFvPatchField
|
|
||||||
(
|
|
||||||
const outletInletFvPatchField<Type>& ptf,
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<Type, volMesh>& iF,
|
|
||||||
const fvPatchFieldMapper& mapper
|
|
||||||
)
|
|
||||||
:
|
|
||||||
mixedFvPatchField<Type>(ptf, p, iF, mapper),
|
|
||||||
phiName_(ptf.phiName_)
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::outletInletFvPatchField<Type>::outletInletFvPatchField
|
Foam::outletInletFvPatchField<Type>::outletInletFvPatchField
|
||||||
(
|
(
|
||||||
@ -87,6 +73,20 @@ Foam::outletInletFvPatchField<Type>::outletInletFvPatchField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
template<class Type>
|
||||||
|
Foam::outletInletFvPatchField<Type>::outletInletFvPatchField
|
||||||
|
(
|
||||||
|
const outletInletFvPatchField<Type>& ptf,
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<Type, volMesh>& iF,
|
||||||
|
const fvPatchFieldMapper& mapper
|
||||||
|
)
|
||||||
|
:
|
||||||
|
mixedFvPatchField<Type>(ptf, p, iF, mapper),
|
||||||
|
phiName_(ptf.phiName_)
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::outletInletFvPatchField<Type>::outletInletFvPatchField
|
Foam::outletInletFvPatchField<Type>::outletInletFvPatchField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2013-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2013-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -48,21 +48,6 @@ outletPhaseMeanVelocityFvPatchVectorField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Foam::outletPhaseMeanVelocityFvPatchVectorField::
|
|
||||||
outletPhaseMeanVelocityFvPatchVectorField
|
|
||||||
(
|
|
||||||
const outletPhaseMeanVelocityFvPatchVectorField& ptf,
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<vector, volMesh>& iF,
|
|
||||||
const fvPatchFieldMapper& mapper
|
|
||||||
)
|
|
||||||
:
|
|
||||||
mixedFvPatchField<vector>(ptf, p, iF, mapper),
|
|
||||||
UnMean_(ptf.UnMean_, false),
|
|
||||||
alphaName_(ptf.alphaName_)
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
Foam::outletPhaseMeanVelocityFvPatchVectorField::
|
Foam::outletPhaseMeanVelocityFvPatchVectorField::
|
||||||
outletPhaseMeanVelocityFvPatchVectorField
|
outletPhaseMeanVelocityFvPatchVectorField
|
||||||
(
|
(
|
||||||
@ -93,6 +78,21 @@ outletPhaseMeanVelocityFvPatchVectorField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Foam::outletPhaseMeanVelocityFvPatchVectorField::
|
||||||
|
outletPhaseMeanVelocityFvPatchVectorField
|
||||||
|
(
|
||||||
|
const outletPhaseMeanVelocityFvPatchVectorField& ptf,
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<vector, volMesh>& iF,
|
||||||
|
const fvPatchFieldMapper& mapper
|
||||||
|
)
|
||||||
|
:
|
||||||
|
mixedFvPatchField<vector>(ptf, p, iF, mapper),
|
||||||
|
UnMean_(ptf.UnMean_, false),
|
||||||
|
alphaName_(ptf.alphaName_)
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::outletPhaseMeanVelocityFvPatchVectorField::
|
Foam::outletPhaseMeanVelocityFvPatchVectorField::
|
||||||
outletPhaseMeanVelocityFvPatchVectorField
|
outletPhaseMeanVelocityFvPatchVectorField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -40,20 +40,6 @@ Foam::partialSlipFvPatchField<Type>::partialSlipFvPatchField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
|
||||||
Foam::partialSlipFvPatchField<Type>::partialSlipFvPatchField
|
|
||||||
(
|
|
||||||
const partialSlipFvPatchField<Type>& ptf,
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<Type, volMesh>& iF,
|
|
||||||
const fvPatchFieldMapper& mapper
|
|
||||||
)
|
|
||||||
:
|
|
||||||
transformFvPatchField<Type>(ptf, p, iF, mapper),
|
|
||||||
valueFraction_(mapper(ptf.valueFraction_))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::partialSlipFvPatchField<Type>::partialSlipFvPatchField
|
Foam::partialSlipFvPatchField<Type>::partialSlipFvPatchField
|
||||||
(
|
(
|
||||||
@ -69,6 +55,20 @@ Foam::partialSlipFvPatchField<Type>::partialSlipFvPatchField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
template<class Type>
|
||||||
|
Foam::partialSlipFvPatchField<Type>::partialSlipFvPatchField
|
||||||
|
(
|
||||||
|
const partialSlipFvPatchField<Type>& ptf,
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<Type, volMesh>& iF,
|
||||||
|
const fvPatchFieldMapper& mapper
|
||||||
|
)
|
||||||
|
:
|
||||||
|
transformFvPatchField<Type>(ptf, p, iF, mapper),
|
||||||
|
valueFraction_(mapper(ptf.valueFraction_))
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::partialSlipFvPatchField<Type>::partialSlipFvPatchField
|
Foam::partialSlipFvPatchField<Type>::partialSlipFvPatchField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -49,22 +49,6 @@ pressureDirectedInletOutletVelocityFvPatchVectorField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Foam::pressureDirectedInletOutletVelocityFvPatchVectorField::
|
|
||||||
pressureDirectedInletOutletVelocityFvPatchVectorField
|
|
||||||
(
|
|
||||||
const pressureDirectedInletOutletVelocityFvPatchVectorField& ptf,
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<vector, volMesh>& iF,
|
|
||||||
const fvPatchFieldMapper& mapper
|
|
||||||
)
|
|
||||||
:
|
|
||||||
mixedFvPatchVectorField(ptf, p, iF, mapper),
|
|
||||||
phiName_(ptf.phiName_),
|
|
||||||
rhoName_(ptf.rhoName_),
|
|
||||||
inletDir_(mapper(ptf.inletDir_))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
Foam::pressureDirectedInletOutletVelocityFvPatchVectorField::
|
Foam::pressureDirectedInletOutletVelocityFvPatchVectorField::
|
||||||
pressureDirectedInletOutletVelocityFvPatchVectorField
|
pressureDirectedInletOutletVelocityFvPatchVectorField
|
||||||
(
|
(
|
||||||
@ -85,6 +69,22 @@ pressureDirectedInletOutletVelocityFvPatchVectorField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Foam::pressureDirectedInletOutletVelocityFvPatchVectorField::
|
||||||
|
pressureDirectedInletOutletVelocityFvPatchVectorField
|
||||||
|
(
|
||||||
|
const pressureDirectedInletOutletVelocityFvPatchVectorField& ptf,
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<vector, volMesh>& iF,
|
||||||
|
const fvPatchFieldMapper& mapper
|
||||||
|
)
|
||||||
|
:
|
||||||
|
mixedFvPatchVectorField(ptf, p, iF, mapper),
|
||||||
|
phiName_(ptf.phiName_),
|
||||||
|
rhoName_(ptf.rhoName_),
|
||||||
|
inletDir_(mapper(ptf.inletDir_))
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::pressureDirectedInletOutletVelocityFvPatchVectorField::
|
Foam::pressureDirectedInletOutletVelocityFvPatchVectorField::
|
||||||
pressureDirectedInletOutletVelocityFvPatchVectorField
|
pressureDirectedInletOutletVelocityFvPatchVectorField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -46,6 +46,21 @@ pressureDirectedInletVelocityFvPatchVectorField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
Foam::pressureDirectedInletVelocityFvPatchVectorField::
|
||||||
|
pressureDirectedInletVelocityFvPatchVectorField
|
||||||
|
(
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<vector, volMesh>& iF,
|
||||||
|
const dictionary& dict
|
||||||
|
)
|
||||||
|
:
|
||||||
|
fixedValueFvPatchVectorField(p, iF, dict),
|
||||||
|
phiName_(dict.lookupOrDefault<word>("phi", "phi")),
|
||||||
|
rhoName_(dict.lookupOrDefault<word>("rho", "rho")),
|
||||||
|
inletDir_("inletDirection", dict, p.size())
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::pressureDirectedInletVelocityFvPatchVectorField::
|
Foam::pressureDirectedInletVelocityFvPatchVectorField::
|
||||||
pressureDirectedInletVelocityFvPatchVectorField
|
pressureDirectedInletVelocityFvPatchVectorField
|
||||||
(
|
(
|
||||||
@ -62,21 +77,6 @@ pressureDirectedInletVelocityFvPatchVectorField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::pressureDirectedInletVelocityFvPatchVectorField::
|
|
||||||
pressureDirectedInletVelocityFvPatchVectorField
|
|
||||||
(
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<vector, volMesh>& iF,
|
|
||||||
const dictionary& dict
|
|
||||||
)
|
|
||||||
:
|
|
||||||
fixedValueFvPatchVectorField(p, iF, dict),
|
|
||||||
phiName_(dict.lookupOrDefault<word>("phi", "phi")),
|
|
||||||
rhoName_(dict.lookupOrDefault<word>("rho", "rho")),
|
|
||||||
inletDir_("inletDirection", dict, p.size())
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
Foam::pressureDirectedInletVelocityFvPatchVectorField::
|
Foam::pressureDirectedInletVelocityFvPatchVectorField::
|
||||||
pressureDirectedInletVelocityFvPatchVectorField
|
pressureDirectedInletVelocityFvPatchVectorField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -49,21 +49,6 @@ pressureInletOutletParSlipVelocityFvPatchVectorField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Foam::pressureInletOutletParSlipVelocityFvPatchVectorField::
|
|
||||||
pressureInletOutletParSlipVelocityFvPatchVectorField
|
|
||||||
(
|
|
||||||
const pressureInletOutletParSlipVelocityFvPatchVectorField& ptf,
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<vector, volMesh>& iF,
|
|
||||||
const fvPatchFieldMapper& mapper
|
|
||||||
)
|
|
||||||
:
|
|
||||||
mixedFvPatchVectorField(ptf, p, iF, mapper),
|
|
||||||
phiName_(ptf.phiName_),
|
|
||||||
rhoName_(ptf.rhoName_)
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
Foam::pressureInletOutletParSlipVelocityFvPatchVectorField::
|
Foam::pressureInletOutletParSlipVelocityFvPatchVectorField::
|
||||||
pressureInletOutletParSlipVelocityFvPatchVectorField
|
pressureInletOutletParSlipVelocityFvPatchVectorField
|
||||||
(
|
(
|
||||||
@ -83,6 +68,21 @@ pressureInletOutletParSlipVelocityFvPatchVectorField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Foam::pressureInletOutletParSlipVelocityFvPatchVectorField::
|
||||||
|
pressureInletOutletParSlipVelocityFvPatchVectorField
|
||||||
|
(
|
||||||
|
const pressureInletOutletParSlipVelocityFvPatchVectorField& ptf,
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<vector, volMesh>& iF,
|
||||||
|
const fvPatchFieldMapper& mapper
|
||||||
|
)
|
||||||
|
:
|
||||||
|
mixedFvPatchVectorField(ptf, p, iF, mapper),
|
||||||
|
phiName_(ptf.phiName_),
|
||||||
|
rhoName_(ptf.rhoName_)
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::pressureInletOutletParSlipVelocityFvPatchVectorField::
|
Foam::pressureInletOutletParSlipVelocityFvPatchVectorField::
|
||||||
pressureInletOutletParSlipVelocityFvPatchVectorField
|
pressureInletOutletParSlipVelocityFvPatchVectorField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -47,6 +47,21 @@ pressureInletOutletVelocityFvPatchVectorField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Foam::pressureInletOutletVelocityFvPatchVectorField::
|
||||||
|
pressureInletOutletVelocityFvPatchVectorField
|
||||||
|
(
|
||||||
|
const pressureInletOutletVelocityFvPatchVectorField& ptf,
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<vector, volMesh>& iF,
|
||||||
|
const fvPatchFieldMapper& mapper
|
||||||
|
)
|
||||||
|
:
|
||||||
|
directionMixedFvPatchVectorField(ptf, p, iF, mapper),
|
||||||
|
phiName_(ptf.phiName_),
|
||||||
|
tangentialVelocity_(ptf.tangentialVelocity_, false)
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::pressureInletOutletVelocityFvPatchVectorField::
|
Foam::pressureInletOutletVelocityFvPatchVectorField::
|
||||||
pressureInletOutletVelocityFvPatchVectorField
|
pressureInletOutletVelocityFvPatchVectorField
|
||||||
(
|
(
|
||||||
@ -72,21 +87,6 @@ pressureInletOutletVelocityFvPatchVectorField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Foam::pressureInletOutletVelocityFvPatchVectorField::
|
|
||||||
pressureInletOutletVelocityFvPatchVectorField
|
|
||||||
(
|
|
||||||
const pressureInletOutletVelocityFvPatchVectorField& ptf,
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<vector, volMesh>& iF,
|
|
||||||
const fvPatchFieldMapper& mapper
|
|
||||||
)
|
|
||||||
:
|
|
||||||
directionMixedFvPatchVectorField(ptf, p, iF, mapper),
|
|
||||||
phiName_(ptf.phiName_),
|
|
||||||
tangentialVelocity_(ptf.tangentialVelocity_, false)
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
Foam::pressureInletOutletVelocityFvPatchVectorField::
|
Foam::pressureInletOutletVelocityFvPatchVectorField::
|
||||||
pressureInletOutletVelocityFvPatchVectorField
|
pressureInletOutletVelocityFvPatchVectorField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -41,6 +41,18 @@ pressureInletUniformVelocityFvPatchVectorField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
Foam::pressureInletUniformVelocityFvPatchVectorField::
|
||||||
|
pressureInletUniformVelocityFvPatchVectorField
|
||||||
|
(
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<vector, volMesh>& iF,
|
||||||
|
const dictionary& dict
|
||||||
|
)
|
||||||
|
:
|
||||||
|
pressureInletVelocityFvPatchVectorField(p, iF, dict)
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::pressureInletUniformVelocityFvPatchVectorField::
|
Foam::pressureInletUniformVelocityFvPatchVectorField::
|
||||||
pressureInletUniformVelocityFvPatchVectorField
|
pressureInletUniformVelocityFvPatchVectorField
|
||||||
(
|
(
|
||||||
@ -54,18 +66,6 @@ pressureInletUniformVelocityFvPatchVectorField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::pressureInletUniformVelocityFvPatchVectorField::
|
|
||||||
pressureInletUniformVelocityFvPatchVectorField
|
|
||||||
(
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<vector, volMesh>& iF,
|
|
||||||
const dictionary& dict
|
|
||||||
)
|
|
||||||
:
|
|
||||||
pressureInletVelocityFvPatchVectorField(p, iF, dict)
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
Foam::pressureInletUniformVelocityFvPatchVectorField::
|
Foam::pressureInletUniformVelocityFvPatchVectorField::
|
||||||
pressureInletUniformVelocityFvPatchVectorField
|
pressureInletUniformVelocityFvPatchVectorField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -43,6 +43,20 @@ pressureInletVelocityFvPatchVectorField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
Foam::pressureInletVelocityFvPatchVectorField::
|
||||||
|
pressureInletVelocityFvPatchVectorField
|
||||||
|
(
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<vector, volMesh>& iF,
|
||||||
|
const dictionary& dict
|
||||||
|
)
|
||||||
|
:
|
||||||
|
fixedValueFvPatchVectorField(p, iF, dict),
|
||||||
|
phiName_(dict.lookupOrDefault<word>("phi", "phi")),
|
||||||
|
rhoName_(dict.lookupOrDefault<word>("rho", "rho"))
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::pressureInletVelocityFvPatchVectorField::
|
Foam::pressureInletVelocityFvPatchVectorField::
|
||||||
pressureInletVelocityFvPatchVectorField
|
pressureInletVelocityFvPatchVectorField
|
||||||
(
|
(
|
||||||
@ -58,20 +72,6 @@ pressureInletVelocityFvPatchVectorField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::pressureInletVelocityFvPatchVectorField::
|
|
||||||
pressureInletVelocityFvPatchVectorField
|
|
||||||
(
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<vector, volMesh>& iF,
|
|
||||||
const dictionary& dict
|
|
||||||
)
|
|
||||||
:
|
|
||||||
fixedValueFvPatchVectorField(p, iF, dict),
|
|
||||||
phiName_(dict.lookupOrDefault<word>("phi", "phi")),
|
|
||||||
rhoName_(dict.lookupOrDefault<word>("rho", "rho"))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
Foam::pressureInletVelocityFvPatchVectorField::
|
Foam::pressureInletVelocityFvPatchVectorField::
|
||||||
pressureInletVelocityFvPatchVectorField
|
pressureInletVelocityFvPatchVectorField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -49,21 +49,6 @@ pressureNormalInletOutletVelocityFvPatchVectorField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Foam::pressureNormalInletOutletVelocityFvPatchVectorField::
|
|
||||||
pressureNormalInletOutletVelocityFvPatchVectorField
|
|
||||||
(
|
|
||||||
const pressureNormalInletOutletVelocityFvPatchVectorField& ptf,
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<vector, volMesh>& iF,
|
|
||||||
const fvPatchFieldMapper& mapper
|
|
||||||
)
|
|
||||||
:
|
|
||||||
mixedFvPatchVectorField(ptf, p, iF, mapper),
|
|
||||||
phiName_(ptf.phiName_),
|
|
||||||
rhoName_(ptf.rhoName_)
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
Foam::pressureNormalInletOutletVelocityFvPatchVectorField::
|
Foam::pressureNormalInletOutletVelocityFvPatchVectorField::
|
||||||
pressureNormalInletOutletVelocityFvPatchVectorField
|
pressureNormalInletOutletVelocityFvPatchVectorField
|
||||||
(
|
(
|
||||||
@ -83,6 +68,21 @@ pressureNormalInletOutletVelocityFvPatchVectorField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Foam::pressureNormalInletOutletVelocityFvPatchVectorField::
|
||||||
|
pressureNormalInletOutletVelocityFvPatchVectorField
|
||||||
|
(
|
||||||
|
const pressureNormalInletOutletVelocityFvPatchVectorField& ptf,
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<vector, volMesh>& iF,
|
||||||
|
const fvPatchFieldMapper& mapper
|
||||||
|
)
|
||||||
|
:
|
||||||
|
mixedFvPatchVectorField(ptf, p, iF, mapper),
|
||||||
|
phiName_(ptf.phiName_),
|
||||||
|
rhoName_(ptf.rhoName_)
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::pressureNormalInletOutletVelocityFvPatchVectorField::
|
Foam::pressureNormalInletOutletVelocityFvPatchVectorField::
|
||||||
pressureNormalInletOutletVelocityFvPatchVectorField
|
pressureNormalInletOutletVelocityFvPatchVectorField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -64,14 +64,13 @@ rotatingPressureInletOutletVelocityFvPatchVectorField
|
|||||||
Foam::rotatingPressureInletOutletVelocityFvPatchVectorField::
|
Foam::rotatingPressureInletOutletVelocityFvPatchVectorField::
|
||||||
rotatingPressureInletOutletVelocityFvPatchVectorField
|
rotatingPressureInletOutletVelocityFvPatchVectorField
|
||||||
(
|
(
|
||||||
const rotatingPressureInletOutletVelocityFvPatchVectorField& ptf,
|
|
||||||
const fvPatch& p,
|
const fvPatch& p,
|
||||||
const DimensionedField<vector, volMesh>& iF,
|
const DimensionedField<vector, volMesh>& iF,
|
||||||
const fvPatchFieldMapper& mapper
|
const dictionary& dict
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
pressureInletOutletVelocityFvPatchVectorField(ptf, p, iF, mapper),
|
pressureInletOutletVelocityFvPatchVectorField(p, iF, dict),
|
||||||
omega_(ptf.omega_, false)
|
omega_(Function1<vector>::New("omega", dict))
|
||||||
{
|
{
|
||||||
calcTangentialVelocity();
|
calcTangentialVelocity();
|
||||||
}
|
}
|
||||||
@ -80,13 +79,14 @@ rotatingPressureInletOutletVelocityFvPatchVectorField
|
|||||||
Foam::rotatingPressureInletOutletVelocityFvPatchVectorField::
|
Foam::rotatingPressureInletOutletVelocityFvPatchVectorField::
|
||||||
rotatingPressureInletOutletVelocityFvPatchVectorField
|
rotatingPressureInletOutletVelocityFvPatchVectorField
|
||||||
(
|
(
|
||||||
|
const rotatingPressureInletOutletVelocityFvPatchVectorField& ptf,
|
||||||
const fvPatch& p,
|
const fvPatch& p,
|
||||||
const DimensionedField<vector, volMesh>& iF,
|
const DimensionedField<vector, volMesh>& iF,
|
||||||
const dictionary& dict
|
const fvPatchFieldMapper& mapper
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
pressureInletOutletVelocityFvPatchVectorField(p, iF, dict),
|
pressureInletOutletVelocityFvPatchVectorField(ptf, p, iF, mapper),
|
||||||
omega_(Function1<vector>::New("omega", dict))
|
omega_(ptf.omega_, false)
|
||||||
{
|
{
|
||||||
calcTangentialVelocity();
|
calcTangentialVelocity();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2017-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2017-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -44,6 +44,23 @@ swirlInletVelocityFvPatchVectorField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
Foam::swirlInletVelocityFvPatchVectorField::
|
||||||
|
swirlInletVelocityFvPatchVectorField
|
||||||
|
(
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<vector, volMesh>& iF,
|
||||||
|
const dictionary& dict
|
||||||
|
)
|
||||||
|
:
|
||||||
|
fixedValueFvPatchField<vector>(p, iF, dict),
|
||||||
|
origin_(dict.lookup("origin")),
|
||||||
|
axis_(dict.lookup("axis")),
|
||||||
|
axialVelocity_(Function1<scalar>::New("axialVelocity", dict)),
|
||||||
|
radialVelocity_(Function1<scalar>::New("radialVelocity", dict)),
|
||||||
|
tangentialVelocity_(Function1<scalar>::New("tangentialVelocity", dict))
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::swirlInletVelocityFvPatchVectorField::
|
Foam::swirlInletVelocityFvPatchVectorField::
|
||||||
swirlInletVelocityFvPatchVectorField
|
swirlInletVelocityFvPatchVectorField
|
||||||
(
|
(
|
||||||
@ -62,23 +79,6 @@ swirlInletVelocityFvPatchVectorField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::swirlInletVelocityFvPatchVectorField::
|
|
||||||
swirlInletVelocityFvPatchVectorField
|
|
||||||
(
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<vector, volMesh>& iF,
|
|
||||||
const dictionary& dict
|
|
||||||
)
|
|
||||||
:
|
|
||||||
fixedValueFvPatchField<vector>(p, iF, dict),
|
|
||||||
origin_(dict.lookup("origin")),
|
|
||||||
axis_(dict.lookup("axis")),
|
|
||||||
axialVelocity_(Function1<scalar>::New("axialVelocity", dict)),
|
|
||||||
radialVelocity_(Function1<scalar>::New("radialVelocity", dict)),
|
|
||||||
tangentialVelocity_(Function1<scalar>::New("tangentialVelocity", dict))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
Foam::swirlInletVelocityFvPatchVectorField::
|
Foam::swirlInletVelocityFvPatchVectorField::
|
||||||
swirlInletVelocityFvPatchVectorField
|
swirlInletVelocityFvPatchVectorField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -46,23 +46,6 @@ Foam::totalTemperatureFvPatchScalarField::totalTemperatureFvPatchScalarField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::totalTemperatureFvPatchScalarField::totalTemperatureFvPatchScalarField
|
|
||||||
(
|
|
||||||
const totalTemperatureFvPatchScalarField& ptf,
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<scalar, volMesh>& iF,
|
|
||||||
const fvPatchFieldMapper& mapper
|
|
||||||
)
|
|
||||||
:
|
|
||||||
fixedValueFvPatchScalarField(ptf, p, iF, mapper),
|
|
||||||
UName_(ptf.UName_),
|
|
||||||
phiName_(ptf.phiName_),
|
|
||||||
psiName_(ptf.psiName_),
|
|
||||||
gamma_(ptf.gamma_),
|
|
||||||
T0_(mapper(ptf.T0_))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
Foam::totalTemperatureFvPatchScalarField::totalTemperatureFvPatchScalarField
|
Foam::totalTemperatureFvPatchScalarField::totalTemperatureFvPatchScalarField
|
||||||
(
|
(
|
||||||
const fvPatch& p,
|
const fvPatch& p,
|
||||||
@ -91,6 +74,23 @@ Foam::totalTemperatureFvPatchScalarField::totalTemperatureFvPatchScalarField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Foam::totalTemperatureFvPatchScalarField::totalTemperatureFvPatchScalarField
|
||||||
|
(
|
||||||
|
const totalTemperatureFvPatchScalarField& ptf,
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<scalar, volMesh>& iF,
|
||||||
|
const fvPatchFieldMapper& mapper
|
||||||
|
)
|
||||||
|
:
|
||||||
|
fixedValueFvPatchScalarField(ptf, p, iF, mapper),
|
||||||
|
UName_(ptf.UName_),
|
||||||
|
phiName_(ptf.phiName_),
|
||||||
|
psiName_(ptf.psiName_),
|
||||||
|
gamma_(ptf.gamma_),
|
||||||
|
T0_(mapper(ptf.T0_))
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::totalTemperatureFvPatchScalarField::totalTemperatureFvPatchScalarField
|
Foam::totalTemperatureFvPatchScalarField::totalTemperatureFvPatchScalarField
|
||||||
(
|
(
|
||||||
const totalTemperatureFvPatchScalarField& tppsf,
|
const totalTemperatureFvPatchScalarField& tppsf,
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -47,19 +47,6 @@ turbulentIntensityKineticEnergyInletFvPatchScalarField
|
|||||||
this->valueFraction() = 0.0;
|
this->valueFraction() = 0.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
Foam::turbulentIntensityKineticEnergyInletFvPatchScalarField::
|
|
||||||
turbulentIntensityKineticEnergyInletFvPatchScalarField
|
|
||||||
(
|
|
||||||
const turbulentIntensityKineticEnergyInletFvPatchScalarField& ptf,
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<scalar, volMesh>& iF,
|
|
||||||
const fvPatchFieldMapper& mapper
|
|
||||||
)
|
|
||||||
:
|
|
||||||
inletOutletFvPatchScalarField(ptf, p, iF, mapper),
|
|
||||||
intensity_(ptf.intensity_),
|
|
||||||
UName_(ptf.UName_)
|
|
||||||
{}
|
|
||||||
|
|
||||||
Foam::turbulentIntensityKineticEnergyInletFvPatchScalarField::
|
Foam::turbulentIntensityKineticEnergyInletFvPatchScalarField::
|
||||||
turbulentIntensityKineticEnergyInletFvPatchScalarField
|
turbulentIntensityKineticEnergyInletFvPatchScalarField
|
||||||
@ -95,6 +82,21 @@ turbulentIntensityKineticEnergyInletFvPatchScalarField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Foam::turbulentIntensityKineticEnergyInletFvPatchScalarField::
|
||||||
|
turbulentIntensityKineticEnergyInletFvPatchScalarField
|
||||||
|
(
|
||||||
|
const turbulentIntensityKineticEnergyInletFvPatchScalarField& ptf,
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<scalar, volMesh>& iF,
|
||||||
|
const fvPatchFieldMapper& mapper
|
||||||
|
)
|
||||||
|
:
|
||||||
|
inletOutletFvPatchScalarField(ptf, p, iF, mapper),
|
||||||
|
intensity_(ptf.intensity_),
|
||||||
|
UName_(ptf.UName_)
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::turbulentIntensityKineticEnergyInletFvPatchScalarField::
|
Foam::turbulentIntensityKineticEnergyInletFvPatchScalarField::
|
||||||
turbulentIntensityKineticEnergyInletFvPatchScalarField
|
turbulentIntensityKineticEnergyInletFvPatchScalarField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2012-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2012-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -39,20 +39,6 @@ Foam::uniformJumpFvPatchField<Type>::uniformJumpFvPatchField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
|
||||||
Foam::uniformJumpFvPatchField<Type>::uniformJumpFvPatchField
|
|
||||||
(
|
|
||||||
const uniformJumpFvPatchField<Type>& ptf,
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<Type, volMesh>& iF,
|
|
||||||
const fvPatchFieldMapper& mapper
|
|
||||||
)
|
|
||||||
:
|
|
||||||
fixedJumpFvPatchField<Type>(ptf, p, iF, mapper),
|
|
||||||
jumpTable_(ptf.jumpTable_, false)
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::uniformJumpFvPatchField<Type>::uniformJumpFvPatchField
|
Foam::uniformJumpFvPatchField<Type>::uniformJumpFvPatchField
|
||||||
(
|
(
|
||||||
@ -83,6 +69,20 @@ Foam::uniformJumpFvPatchField<Type>::uniformJumpFvPatchField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
template<class Type>
|
||||||
|
Foam::uniformJumpFvPatchField<Type>::uniformJumpFvPatchField
|
||||||
|
(
|
||||||
|
const uniformJumpFvPatchField<Type>& ptf,
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<Type, volMesh>& iF,
|
||||||
|
const fvPatchFieldMapper& mapper
|
||||||
|
)
|
||||||
|
:
|
||||||
|
fixedJumpFvPatchField<Type>(ptf, p, iF, mapper),
|
||||||
|
jumpTable_(ptf.jumpTable_, false)
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::uniformJumpFvPatchField<Type>::uniformJumpFvPatchField
|
Foam::uniformJumpFvPatchField<Type>::uniformJumpFvPatchField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2012-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2012-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -39,20 +39,6 @@ Foam::uniformJumpAMIFvPatchField<Type>::uniformJumpAMIFvPatchField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
|
||||||
Foam::uniformJumpAMIFvPatchField<Type>::uniformJumpAMIFvPatchField
|
|
||||||
(
|
|
||||||
const uniformJumpAMIFvPatchField<Type>& ptf,
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<Type, volMesh>& iF,
|
|
||||||
const fvPatchFieldMapper& mapper
|
|
||||||
)
|
|
||||||
:
|
|
||||||
fixedJumpAMIFvPatchField<Type>(ptf, p, iF, mapper),
|
|
||||||
jumpTable_(ptf.jumpTable_, false)
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::uniformJumpAMIFvPatchField<Type>::uniformJumpAMIFvPatchField
|
Foam::uniformJumpAMIFvPatchField<Type>::uniformJumpAMIFvPatchField
|
||||||
(
|
(
|
||||||
@ -80,6 +66,20 @@ Foam::uniformJumpAMIFvPatchField<Type>::uniformJumpAMIFvPatchField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
template<class Type>
|
||||||
|
Foam::uniformJumpAMIFvPatchField<Type>::uniformJumpAMIFvPatchField
|
||||||
|
(
|
||||||
|
const uniformJumpAMIFvPatchField<Type>& ptf,
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<Type, volMesh>& iF,
|
||||||
|
const fvPatchFieldMapper& mapper
|
||||||
|
)
|
||||||
|
:
|
||||||
|
fixedJumpAMIFvPatchField<Type>(ptf, p, iF, mapper),
|
||||||
|
jumpTable_(ptf.jumpTable_, false)
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::uniformJumpAMIFvPatchField<Type>::uniformJumpAMIFvPatchField
|
Foam::uniformJumpAMIFvPatchField<Type>::uniformJumpAMIFvPatchField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2012-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2012-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -49,22 +49,6 @@ variableHeightFlowRateFvPatchScalarField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Foam::variableHeightFlowRateFvPatchScalarField::
|
|
||||||
variableHeightFlowRateFvPatchScalarField
|
|
||||||
(
|
|
||||||
const variableHeightFlowRateFvPatchScalarField& ptf,
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<scalar, volMesh>& iF,
|
|
||||||
const fvPatchFieldMapper& mapper
|
|
||||||
)
|
|
||||||
:
|
|
||||||
mixedFvPatchScalarField(ptf, p, iF, mapper),
|
|
||||||
phiName_(ptf.phiName_),
|
|
||||||
lowerBound_(ptf.lowerBound_),
|
|
||||||
upperBound_(ptf.upperBound_)
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
Foam::variableHeightFlowRateFvPatchScalarField::
|
Foam::variableHeightFlowRateFvPatchScalarField::
|
||||||
variableHeightFlowRateFvPatchScalarField
|
variableHeightFlowRateFvPatchScalarField
|
||||||
(
|
(
|
||||||
@ -97,6 +81,22 @@ variableHeightFlowRateFvPatchScalarField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Foam::variableHeightFlowRateFvPatchScalarField::
|
||||||
|
variableHeightFlowRateFvPatchScalarField
|
||||||
|
(
|
||||||
|
const variableHeightFlowRateFvPatchScalarField& ptf,
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<scalar, volMesh>& iF,
|
||||||
|
const fvPatchFieldMapper& mapper
|
||||||
|
)
|
||||||
|
:
|
||||||
|
mixedFvPatchScalarField(ptf, p, iF, mapper),
|
||||||
|
phiName_(ptf.phiName_),
|
||||||
|
lowerBound_(ptf.lowerBound_),
|
||||||
|
upperBound_(ptf.upperBound_)
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
Foam::variableHeightFlowRateFvPatchScalarField::
|
Foam::variableHeightFlowRateFvPatchScalarField::
|
||||||
variableHeightFlowRateFvPatchScalarField
|
variableHeightFlowRateFvPatchScalarField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -46,6 +46,20 @@ Foam::waveTransmissiveFvPatchField<Type>::waveTransmissiveFvPatchField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
template<class Type>
|
||||||
|
Foam::waveTransmissiveFvPatchField<Type>::waveTransmissiveFvPatchField
|
||||||
|
(
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<Type, volMesh>& iF,
|
||||||
|
const dictionary& dict
|
||||||
|
)
|
||||||
|
:
|
||||||
|
advectiveFvPatchField<Type>(p, iF, dict),
|
||||||
|
psiName_(dict.lookupOrDefault<word>("psi", "thermo:psi")),
|
||||||
|
gamma_(dict.lookup<scalar>("gamma"))
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::waveTransmissiveFvPatchField<Type>::waveTransmissiveFvPatchField
|
Foam::waveTransmissiveFvPatchField<Type>::waveTransmissiveFvPatchField
|
||||||
(
|
(
|
||||||
@ -61,20 +75,6 @@ Foam::waveTransmissiveFvPatchField<Type>::waveTransmissiveFvPatchField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
|
||||||
Foam::waveTransmissiveFvPatchField<Type>::waveTransmissiveFvPatchField
|
|
||||||
(
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<Type, volMesh>& iF,
|
|
||||||
const dictionary& dict
|
|
||||||
)
|
|
||||||
:
|
|
||||||
advectiveFvPatchField<Type>(p, iF, dict),
|
|
||||||
psiName_(dict.lookupOrDefault<word>("psi", "thermo:psi")),
|
|
||||||
gamma_(dict.lookup<scalar>("gamma"))
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::waveTransmissiveFvPatchField<Type>::waveTransmissiveFvPatchField
|
Foam::waveTransmissiveFvPatchField<Type>::waveTransmissiveFvPatchField
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -486,6 +486,6 @@ Foam::Ostream& Foam::operator<<(Ostream& os, const fvPatchField<Type>& ptf)
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
#include "fvPatchFieldNew.C"
|
#include "fvPatchFieldNew.C"
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -42,6 +42,18 @@ Foam::cellMotionFvPatchField<Type>::cellMotionFvPatchField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
template<class Type>
|
||||||
|
Foam::cellMotionFvPatchField<Type>::cellMotionFvPatchField
|
||||||
|
(
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<Type, volMesh>& iF,
|
||||||
|
const dictionary& dict
|
||||||
|
)
|
||||||
|
:
|
||||||
|
fixedValueFvPatchField<Type>(p, iF, dict)
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::cellMotionFvPatchField<Type>::cellMotionFvPatchField
|
Foam::cellMotionFvPatchField<Type>::cellMotionFvPatchField
|
||||||
(
|
(
|
||||||
@ -55,18 +67,6 @@ Foam::cellMotionFvPatchField<Type>::cellMotionFvPatchField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
|
||||||
Foam::cellMotionFvPatchField<Type>::cellMotionFvPatchField
|
|
||||||
(
|
|
||||||
const fvPatch& p,
|
|
||||||
const DimensionedField<Type, volMesh>& iF,
|
|
||||||
const dictionary& dict
|
|
||||||
)
|
|
||||||
:
|
|
||||||
fixedValueFvPatchField<Type>(p, iF, dict)
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::cellMotionFvPatchField<Type>::cellMotionFvPatchField
|
Foam::cellMotionFvPatchField<Type>::cellMotionFvPatchField
|
||||||
(
|
(
|
||||||
|
|||||||
Reference in New Issue
Block a user