Surface-normal fixed value vector boundary condition. More...
Public Member Functions | |
TypeName ("surfaceNormalUniformFixedValue") | |
Runtime type information. More... | |
surfaceNormalUniformFixedValueFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
surfaceNormalUniformFixedValueFvPatchVectorField (const surfaceNormalUniformFixedValueFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fieldMapper &) | |
Construct by mapping given. More... | |
surfaceNormalUniformFixedValueFvPatchVectorField (const surfaceNormalUniformFixedValueFvPatchVectorField &)=delete | |
Disallow copy without setting internal field reference. More... | |
surfaceNormalUniformFixedValueFvPatchVectorField (const surfaceNormalUniformFixedValueFvPatchVectorField &, const DimensionedField< vector, volMesh > &) | |
Copy constructor 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 | updateCoeffs () |
Update the coefficients associated with the patch field. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
Surface-normal fixed value vector boundary condition.
in which the vector field is obtained by scaling the patch normals by the evaluated scalar Function1 provided.
Property | Description | Required | Default value |
---|---|---|---|
uniformValue | uniform value | yes |
Example of the boundary condition specification:
<patchName> { type surfaceNormalUniformFixedValue; uniformValue constant -0.2; // 0.2 INTO the domain }
Note: Sign conventions:
Definition at line 84 of file surfaceNormalUniformFixedValueFvPatchVectorField.H.
surfaceNormalUniformFixedValueFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 33 of file surfaceNormalUniformFixedValueFvPatchVectorField.C.
References Foam::evaluate().
surfaceNormalUniformFixedValueFvPatchVectorField | ( | const surfaceNormalUniformFixedValueFvPatchVectorField & | pvf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fieldMapper & | mapper | ||
) |
Construct by mapping given.
surfaceNormalUniformFixedValueFvPatchVectorField onto a new patch
Definition at line 57 of file surfaceNormalUniformFixedValueFvPatchVectorField.C.
References Foam::evaluate().
|
delete |
Disallow copy without setting internal field reference.
surfaceNormalUniformFixedValueFvPatchVectorField | ( | const surfaceNormalUniformFixedValueFvPatchVectorField & | pvf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Copy constructor setting internal field reference.
Definition at line 74 of file surfaceNormalUniformFixedValueFvPatchVectorField.C.
References Foam::evaluate().
TypeName | ( | "surfaceNormalUniformFixedValue" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 134 of file surfaceNormalUniformFixedValueFvPatchVectorField.H.
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 94 of file surfaceNormalUniformFixedValueFvPatchVectorField.C.
References fvPatchField< Type >::operator, and fvPatchField< Type >::updateCoeffs().
|
virtual |
Write.
Definition at line 110 of file surfaceNormalUniformFixedValueFvPatchVectorField.C.
References Foam::dimensions(), fvPatchField< Type >::write(), and Foam::writeEntry().