33template<
class AlphaFieldType,
class RhoFieldType>
38 const AlphaFieldType&
alpha,
39 const RhoFieldType&
rho,
40 const volVectorField&
U
52 for (
const label celli :
cells)
55 V[celli]*
alpha[celli]*
rho[celli]*D_->value(
T[celli]);
61template<
class AlphaFieldType,
class RhoFieldType>
65 const AlphaFieldType&
alpha,
66 const RhoFieldType&
rho,
75 for (
const label zonei : cellZoneIDs_)
79 for (
const label celli :
cells)
88template<
class RhoFieldType>
93 const RhoFieldType&
rho,
97 if (alphaName_ ==
"none")
99 return apply(Udiag, V, geometricOneField(),
rho,
U);
113template<
class RhoFieldType>
117 const RhoFieldType&
rho,
121 if (alphaName_ ==
"none")
123 return apply(AU, geometricOneField(),
rho,
U);
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
virtual void apply()=0
Apply bins.
const Type & lookupObject(const word &name, const bool recursive=false) const
const cellZoneMesh & cellZones() const noexcept
Return cell zone mesh.
const fvMesh & mesh_
Reference to the mesh database.
labelList cellZoneIDs_
Cell zone IDs.
GeometricField< vector, fvPatchField, volMesh > volVectorField
List< label > labelList
A List of labels.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
static void apply(bitSet &selection, const Detail::parcelSelection::actionType action, const Predicate &accept, const UList< Type > &list, const AccessOp &aop)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
Field< tensor > tensorField
Specialisation of Field<T> for tensor.