This boundary condition provides a uniform surface-normal vector boundary condition by its magnitude. More...
Public Member Functions | |
TypeName ("uniformNormalFixedValue") | |
Runtime type information. More... | |
uniformNormalFixedValueFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
Construct from patch and internal field. More... | |
uniformNormalFixedValueFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
uniformNormalFixedValueFvPatchVectorField (const uniformNormalFixedValueFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given. More... | |
uniformNormalFixedValueFvPatchVectorField (const uniformNormalFixedValueFvPatchVectorField &) | |
Construct as copy. More... | |
uniformNormalFixedValueFvPatchVectorField (const uniformNormalFixedValueFvPatchVectorField &, const DimensionedField< vector, volMesh > &) | |
Construct as copy setting internal field reference. More... | |
virtual tmp< fvPatchField< vector > > | clone () const |
Return a clone. More... | |
virtual tmp< fvPatchField< vector > > | clone (const DimensionedField< vector, volMesh > &iF) const |
Clone with an internal field reference. More... | |
virtual void | autoMap (const fvPatchFieldMapper &) |
Map (and resize as needed) from self given a mapping object. More... | |
virtual void | rmap (const fvPatchVectorField &, const labelList &) |
Reverse map the given fvPatchField onto this fvPatchField. More... | |
virtual void | updateCoeffs () |
Update the coefficients associated with the patch field. More... | |
virtual void | write (Ostream &os) const |
Write. More... | |
This boundary condition provides a uniform surface-normal vector boundary condition by its magnitude.
Property | Description | Required | Default |
---|---|---|---|
uniformValue | uniform value | yes | |
ramp | time-based ramping | no |
Example of the boundary condition specification:
<patchName> { type uniformNormalFixedValue; uniformValue constant -10; // 10 INTO the domain }
Definition at line 93 of file uniformNormalFixedValueFvPatchVectorField.H.
uniformNormalFixedValueFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 30 of file uniformNormalFixedValueFvPatchVectorField.C.
uniformNormalFixedValueFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 43 of file uniformNormalFixedValueFvPatchVectorField.C.
References dict, and Foam::stringOps::evaluate().
uniformNormalFixedValueFvPatchVectorField | ( | const uniformNormalFixedValueFvPatchVectorField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given.
uniformNormalFixedValueFvPatchVectorField onto a new patch
Definition at line 62 of file uniformNormalFixedValueFvPatchVectorField.C.
References FieldMapper::direct(), Foam::stringOps::evaluate(), and FieldMapper::hasUnmapped().
Construct as copy.
Definition at line 88 of file uniformNormalFixedValueFvPatchVectorField.C.
uniformNormalFixedValueFvPatchVectorField | ( | const uniformNormalFixedValueFvPatchVectorField & | ptf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 100 of file uniformNormalFixedValueFvPatchVectorField.C.
TypeName | ( | "uniformNormalFixedValue" | ) |
Runtime type information.
|
inlinevirtual |
Return a clone.
Definition at line 173 of file uniformNormalFixedValueFvPatchVectorField.H.
References fvPatchField< Type >::Clone().
|
inlinevirtual |
Clone with an internal field reference.
Definition at line 182 of file uniformNormalFixedValueFvPatchVectorField.H.
References fvPatchField< Type >::Clone().
|
virtual |
Map (and resize as needed) from self given a mapping object.
Definition at line 114 of file uniformNormalFixedValueFvPatchVectorField.C.
References Foam::stringOps::evaluate().
|
virtual |
Reverse map the given fvPatchField onto this fvPatchField.
Definition at line 130 of file uniformNormalFixedValueFvPatchVectorField.C.
References uniformNormalFixedValueFvPatchVectorField::rmap().
Referenced by uniformNormalFixedValueFvPatchVectorField::rmap().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 144 of file uniformNormalFixedValueFvPatchVectorField.C.
References fvPatchField< vector >::operator=(), Foam::foamVersion::patch, tmp< T >::ref(), and fvPatchField< vector >::updateCoeffs().
|
virtual |
Write.
Definition at line 165 of file uniformNormalFixedValueFvPatchVectorField.C.
References os(), fvPatchField< Type >::write(), and fvPatchField< Type >::writeValueEntry().