59 new PatchFunction1Types::MappedFile<Type>
69 if (
dict.found(
"value"))
88 const timeVaryingMappedFixedValueFvPatchField<Type>& ptf,
90 const DimensionedField<Type, volMesh>& iF,
91 const fvPatchFieldMapper& mapper
94 fixedValueFvPatchField<Type>(ptf,
p, iF, mapper),
97 new PatchFunction1Types::MappedFile<Type>
116 new PatchFunction1Types::MappedFile<Type>
136 new PatchFunction1Types::MappedFile<Type>
154 uniformValue_().autoMap(m);
168 refCast<const timeVaryingMappedFixedValueFvPatchField<Type>>(ptf);
170 uniformValue_().
rmap(tiptf.uniformValue_(), addr);
183 const scalar t = this->db().time().timeOutputValue();
188 Pout<<
"updateCoeffs : set fixedValue to min:" <<
gMin(*
this)
189 <<
" max:" <<
gMax(*
this)
204 uniformValue_->writeData(
os);
205 this->writeEntry(
"value",
os);
This boundary condition supplies a fixed value constraint, and is the base class for a number of othe...
"blocking" : (MPI_Bsend, MPI_Recv)
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Type gMin(const FieldField< Field, Type > &f)
virtual void rmap(const fvPatchField< Type > &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
Ostream & endl(Ostream &os)
Add newline and flush stream.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void operator==(const fvPatchField< Type > &)
virtual void write(Ostream &) const
Write.
This boundary conditions interpolates the values from a set of supplied points in space and time...
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
Generic templated field type.
A FieldMapper for finite-volume patch fields.
virtual void rmap(const fvPatchField< Type > &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
int debug
Static debugging option.
Type gMax(const FieldField< Field, Type > &f)
OBJstream os(runTime.globalPath()/outputName)
timeVaryingMappedFixedValueFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field, sets Updated to false.
Type gAverage(const FieldField< Field, Type > &f)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const std::string patch
OpenFOAM patch number as a std::string.
prefixOSstream Pout
OSstream wrapped stdout (std::cout) with parallel prefix.