43 fixedValueFvPatchVectorField(
p, iF),
58 refValue_(
"refValue",
dict,
p.size()),
65 tvalues.ref() *= ramp_->value(this->db().time().timeOutputValue());
81 fixedValueFvPatchVectorField(
p, iF),
82 refValue_(ptf.refValue_, mapper,
pTraits<scalar>::
zero),
83 ramp_(ptf.ramp_.clone())
94 tvalues.ref() *= ramp_->value(this->db().time().timeOutputValue());
107 fixedValueFvPatchVectorField(ptf),
108 refValue_(ptf.refValue_),
109 ramp_(ptf.ramp_.clone())
120 fixedValueFvPatchVectorField(ptf, iF),
121 refValue_(ptf.refValue_),
122 ramp_(ptf.ramp_.clone())
133 fixedValueFvPatchVectorField::autoMap(mapper);
134 refValue_.autoMap(mapper);
144 fixedValueFvPatchVectorField::rmap(ptf, addr);
147 refCast<const surfaceNormalFixedValueFvPatchVectorField>(ptf);
149 refValue_.
rmap(tiptf.refValue_, addr);
160 tmp<vectorField> tvalues(refValue_*
patch().nf());
164 tvalues.ref() *= ramp_->value(this->db().time().timeOutputValue());
175 refValue_.writeEntry(
"refValue",
os);
178 ramp_->writeData(
os);
190 surfaceNormalFixedValueFvPatchVectorField
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
surfaceNormalFixedValueFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
fvPatchField< vector > fvPatchVectorField
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual void rmap(const fvPatchVectorField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A traits class, which is primarily used for primitives and vector-space.
virtual void write(Ostream &) const
Write.
Macros for easy insertion into run-time selection tables.
This boundary condition provides a surface-normal vector boundary condition by its magnitude...
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A class for handling words, derived from Foam::string.
virtual void write(Ostream &) const
Write.
A FieldMapper for finite-volume patch fields.
OBJstream os(runTime.globalPath()/outputName)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void operator=(const UList< vector > &)
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.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
A class for managing temporary objects.
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)