Example of the boundary condition specification: More...
Public Member Functions | |
TypeName ("waveVelocity") | |
Runtime type information. More... | |
waveVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
Construct from patch and internal field. More... | |
waveVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
waveVelocityFvPatchVectorField (const waveVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given. More... | |
waveVelocityFvPatchVectorField (const waveVelocityFvPatchVectorField &) | |
Construct as copy. More... | |
waveVelocityFvPatchVectorField (const waveVelocityFvPatchVectorField &, 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 | updateCoeffs () |
Update the coefficients associated with the patch field. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
Example of the boundary condition specification:
inlet { type waveVelocity; value uniform (0 0 0); }
Property | Description | Required | Default value |
---|---|---|---|
type | type: waveVelocity | yes | |
waveDict | Dictionary specifying wave variables | no | waveProperties |
Definition at line 80 of file waveVelocityFvPatchVectorField.H.
waveVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 30 of file waveVelocityFvPatchVectorField.C.
waveVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 54 of file waveVelocityFvPatchVectorField.C.
waveVelocityFvPatchVectorField | ( | const waveVelocityFvPatchVectorField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given.
waveVelocityFvPatchVectorField onto a new patch
Definition at line 41 of file waveVelocityFvPatchVectorField.C.
waveVelocityFvPatchVectorField | ( | const waveVelocityFvPatchVectorField & | ptf | ) |
Construct as copy.
Definition at line 66 of file waveVelocityFvPatchVectorField.C.
waveVelocityFvPatchVectorField | ( | const waveVelocityFvPatchVectorField & | ptf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 76 of file waveVelocityFvPatchVectorField.C.
TypeName | ( | "waveVelocity" | ) |
Runtime type information.
|
inlinevirtual |
Return a clone.
Definition at line 155 of file waveVelocityFvPatchVectorField.H.
References fvPatchField< Type >::Clone().
|
inlinevirtual |
Clone with an internal field reference.
Definition at line 164 of file waveVelocityFvPatchVectorField.H.
References fvPatchField< Type >::Clone().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 88 of file waveVelocityFvPatchVectorField.C.
References tmp< T >::constCast(), waveModel::correct(), waveModel::lookupOrCreate(), mesh, Foam::operator==(), Foam::foamVersion::patch, waveModel::U(), and fvPatchField< Type >::updateCoeffs().
|
virtual |
Write.
Definition at line 115 of file waveVelocityFvPatchVectorField.C.
References os(), fvPatchField< Type >::write(), Ostream::writeEntry(), and fvPatchField< Type >::writeValueEntry().