59 new PatchFunction1Types::MappedFile<Type>
84 const timeVaryingMappedFixedValueFvPatchField<Type>& ptf,
86 const DimensionedField<Type, volMesh>& iF,
87 const fvPatchFieldMapper& mapper
90 fixedValueFvPatchField<Type>(ptf,
p, iF, mapper),
93 new PatchFunction1Types::MappedFile<Type>
112 new PatchFunction1Types::MappedFile<Type>
132 new PatchFunction1Types::MappedFile<Type>
150 uniformValue_().autoMap(m);
164 refCast<const timeVaryingMappedFixedValueFvPatchField<Type>>(ptf);
166 uniformValue_().
rmap(tiptf.uniformValue_(), addr);
179 const scalar t = this->db().time().timeOutputValue();
184 Pout<<
"updateCoeffs : set fixedValue to min:" <<
gMin(*
this)
185 <<
" max:" <<
gMax(*
this)
200 uniformValue_->writeData(
os);
bool readValueEntry(const dictionary &dict, IOobjectOption::readOption readOpt=IOobjectOption::LAZY_READ)
Read the "value" entry into *this.
This boundary condition supplies a fixed value constraint, and is the base class for a number of othe...
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 evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::buffered)
Evaluate the patch field, sets updated() to false.
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...
void writeValueEntry(Ostream &os) const
Write *this field as a "value" entry.
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 expressions::valueTypeCode::INVALID.
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.
Type gAverage(const FieldField< Field, Type > &f)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A simple container of IOobject preferences. Can also be used for general handling of read/no-read/rea...
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.
"buffered" : (MPI_Bsend, MPI_Recv)
prefixOSstream Pout
OSstream wrapped stdout (std::cout) with parallel prefix.