39 if (this->cyclicPatch().owner())
44 const fvsPatchField<scalar>& phip =
56 rpm = rpm_->value(this->db().time().timeOutputValue());
57 meanDiam = dm_->value(this->db().time().timeOutputValue());
73 pow3(constant::mathematical::pi) * meanDiam * rpm,
92 deltap*
pow4(constant::mathematical::pi)
93 *
sqr(meanDiam*rpm)/1800.0
100 this->setJump(jumpTable_->value(Un));
Macros for easy insertion into run-time selection tables.
This boundary condition provides a jump condition, using the cyclic condition as a base.
#define makeTemplatePatchTypeField(fieldType, type)
const wordList area
Standard area field types (scalar, vector, tensor, etc)
const std::string patch
OpenFOAM patch number as a std::string.
Type gSum(const FieldField< Field, Type > &f)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dimensionedScalar pow3(const dimensionedScalar &ds)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dimensionSet dimArea(sqr(dimLength))
const dimensionSet dimVelocity
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
dimensionedScalar pow4(const dimensionedScalar &ds)
dimensionedScalar stabilise(const dimensionedScalar &x, const dimensionedScalar &y)
const dimensionSet dimDensity