35 const dictionary& dict,
36 const phaseModel& phase,
37 const velocityGroup& velocityGroup,
50 velocityGroup.phase().name(),
51 velocityGroup.popBalName()
56 IOobject::READ_IF_PRESENT,
61 velocityGroup.
f().boundaryField().types()
64 velocityGroup_(velocityGroup),
66 x_(
"x", velocityGroup.formFactor()*
pow3(d_)),
72 typedef mixedFvPatchField<scalar> mixedFvPatchScalarField;
76 isA<mixedFvPatchScalarField>(this->boundaryFieldRef()[
patchi])
79 mixedFvPatchScalarField&
f =
80 refCast<mixedFvPatchScalarField>
82 this->boundaryFieldRef()[
patchi]
85 f.refValue() = value_;
103 return autoPtr<sizeGroup>(
nullptr);
#define forAll(list, i)
Loop across all elements in list.
sizeGroup(const word &name, const dictionary &dict, const phaseModel &phase, const velocityGroup &velocityGroup, const fvMesh &mesh)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual ~sizeGroup()
Destructor.
autoPtr< sizeGroup > clone() const
Return clone.
stressControl lookup("compactNormalStress") >> compactNormalStress
dimensionedScalar pow3(const dimensionedScalar &ds)
#define notImplemented(functionName)
Issue a FatalErrorIn for a function not currently implemented.
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...