36Foam::surfaceNormalFixedValueFvPatchVectorField::
37surfaceNormalFixedValueFvPatchVectorField
43 fixedValueFvPatchVectorField(
p, iF),
49Foam::surfaceNormalFixedValueFvPatchVectorField::
50surfaceNormalFixedValueFvPatchVectorField
57 fixedValueFvPatchVectorField(
p, iF,
dict, false),
58 refValue_(
"refValue",
dict,
p.size()),
65 tvalues.
ref() *= ramp_->value(this->db().time().timeOutputValue());
72Foam::surfaceNormalFixedValueFvPatchVectorField::
73surfaceNormalFixedValueFvPatchVectorField
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());
101Foam::surfaceNormalFixedValueFvPatchVectorField::
102surfaceNormalFixedValueFvPatchVectorField
107 fixedValueFvPatchVectorField(ptf),
108 refValue_(ptf.refValue_),
109 ramp_(ptf.ramp_.clone())
113Foam::surfaceNormalFixedValueFvPatchVectorField::
114surfaceNormalFixedValueFvPatchVectorField
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);
164 tvalues.
ref() *= ramp_->value(this->db().time().timeOutputValue());
175 refValue_.writeEntry(
"refValue",
os);
178 ramp_->writeData(
os);
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual bool write()
Write the output fields.
A FieldMapper for finite-volume patch fields.
virtual void operator=(const UList< vector > &)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A traits class, which is primarily used for primitives.
This boundary condition provides a surface-normal vector boundary condition by its magnitude.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
virtual void rmap(const fvPatchVectorField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
OBJstream os(runTime.globalPath()/outputName)
#define makePatchTypeField(PatchTypeField, typePatchTypeField)