44 !
Pstream::parRun() &&
p.boundaryMesh().mesh().time().processorCase()
51 this->db().time().userUnits(),
74 meanValue_(ptf.meanValue_, false)
86 meanValue_(ptf.meanValue_, false)
100 Type meanValue = meanValue_->value(this->db().time().value());
105 gSum(this->patch().magSf()*newValues)
106 /
gSum(this->patch().magSf());
108 if (
mag(meanValue) > small &&
mag(meanValuePsi)/
mag(meanValue) > 0.5)
110 newValues *=
mag(meanValue)/
mag(meanValuePsi);
114 newValues += (meanValue - meanValuePsi);
130 this->db().time().userUnits(),
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Pre-declare SubField and related Field type.
Run-time selectable general function of one variable.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Inter-processor communications stream.
static bool & parRun()
Is this a parallel run?
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base class for field mapping.
This boundary condition extrapolates field to the patch using the near-cell values and adjusts the di...
virtual void write(Ostream &) const
Write.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
fixedMeanFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &, const dictionary &)
Construct from patch, internal field and dictionary.
This boundary condition supplies a fixed value constraint, and is the base class for a number of othe...
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field, sets Updated to false.
virtual void write(Ostream &) const
Write.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
Type gSum(const FieldField< Field, Type > &f)
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
const HashTable< dimensionSet > & dimensions()
Get the table of dimension sets.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
dimensioned< scalar > mag(const dimensioned< Type > &)