This boundary condition provides a surface-normal vector boundary condition by its magnitude. More...
Public Member Functions | |
TypeName ("surfaceNormalFixedValue") | |
Runtime type information. More... | |
surfaceNormalFixedValueFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
Construct from patch and internal field. More... | |
surfaceNormalFixedValueFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
surfaceNormalFixedValueFvPatchVectorField (const surfaceNormalFixedValueFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given. More... | |
surfaceNormalFixedValueFvPatchVectorField (const surfaceNormalFixedValueFvPatchVectorField &) | |
Construct as copy. More... | |
virtual tmp< fvPatchVectorField > | clone () const |
Construct and return a clone. More... | |
surfaceNormalFixedValueFvPatchVectorField (const surfaceNormalFixedValueFvPatchVectorField &, const DimensionedField< vector, volMesh > &) | |
Construct as copy setting internal field reference. More... | |
virtual tmp< fvPatchVectorField > | clone (const DimensionedField< vector, volMesh > &iF) const |
Construct and return a clone setting 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 &) const |
Write. More... | |
This boundary condition provides a surface-normal vector boundary condition by its magnitude.
Property | Description | Required | Default value |
---|---|---|---|
refValue | reference value | yes |
Example of the boundary condition specification:
<patchName> { type surfaceNormalFixedValue; refValue uniform -10; // 10 INTO the domain }
Definition at line 85 of file surfaceNormalFixedValueFvPatchVectorField.H.
surfaceNormalFixedValueFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 35 of file surfaceNormalFixedValueFvPatchVectorField.C.
Referenced by surfaceNormalFixedValueFvPatchVectorField::clone(), and surfaceNormalFixedValueFvPatchVectorField::surfaceNormalFixedValueFvPatchVectorField().
surfaceNormalFixedValueFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 47 of file surfaceNormalFixedValueFvPatchVectorField.C.
References surfaceNormalFixedValueFvPatchVectorField::surfaceNormalFixedValueFvPatchVectorField().
surfaceNormalFixedValueFvPatchVectorField | ( | const surfaceNormalFixedValueFvPatchVectorField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given.
surfaceNormalFixedValueFvPatchVectorField onto a new patch
Definition at line 62 of file surfaceNormalFixedValueFvPatchVectorField.C.
References surfaceNormalFixedValueFvPatchVectorField::surfaceNormalFixedValueFvPatchVectorField(), and vectorField().
surfaceNormalFixedValueFvPatchVectorField | ( | const surfaceNormalFixedValueFvPatchVectorField & | pivpvf | ) |
Construct as copy.
Definition at line 87 of file surfaceNormalFixedValueFvPatchVectorField.C.
References surfaceNormalFixedValueFvPatchVectorField::surfaceNormalFixedValueFvPatchVectorField().
surfaceNormalFixedValueFvPatchVectorField | ( | const surfaceNormalFixedValueFvPatchVectorField & | pivpvf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 98 of file surfaceNormalFixedValueFvPatchVectorField.C.
References surfaceNormalFixedValueFvPatchVectorField::autoMap().
TypeName | ( | "surfaceNormalFixedValue" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 135 of file surfaceNormalFixedValueFvPatchVectorField.H.
References surfaceNormalFixedValueFvPatchVectorField::surfaceNormalFixedValueFvPatchVectorField().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 152 of file surfaceNormalFixedValueFvPatchVectorField.H.
References surfaceNormalFixedValueFvPatchVectorField::autoMap(), surfaceNormalFixedValueFvPatchVectorField::rmap(), surfaceNormalFixedValueFvPatchVectorField::surfaceNormalFixedValueFvPatchVectorField(), surfaceNormalFixedValueFvPatchVectorField::updateCoeffs(), and surfaceNormalFixedValueFvPatchVectorField::write().
|
virtual |
Map (and resize as needed) from self given a mapping object.
Definition at line 111 of file surfaceNormalFixedValueFvPatchVectorField.C.
References surfaceNormalFixedValueFvPatchVectorField::rmap().
Referenced by surfaceNormalFixedValueFvPatchVectorField::clone(), and surfaceNormalFixedValueFvPatchVectorField::surfaceNormalFixedValueFvPatchVectorField().
|
virtual |
Reverse map the given fvPatchField onto this fvPatchField.
Definition at line 121 of file surfaceNormalFixedValueFvPatchVectorField.C.
References surfaceNormalFixedValueFvPatchVectorField::rmap().
Referenced by surfaceNormalFixedValueFvPatchVectorField::autoMap(), surfaceNormalFixedValueFvPatchVectorField::clone(), and surfaceNormalFixedValueFvPatchVectorField::rmap().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 135 of file surfaceNormalFixedValueFvPatchVectorField.C.
References fvPatchField< Type >::operator=(), and fvPatchField< Type >::updateCoeffs().
Referenced by surfaceNormalFixedValueFvPatchVectorField::clone().
|
virtual |
Write.
Definition at line 147 of file surfaceNormalFixedValueFvPatchVectorField.C.
References Foam::makePatchTypeField(), fvPatchField< Type >::write(), and Field< Type >::writeEntry().
Referenced by surfaceNormalFixedValueFvPatchVectorField::clone().