Freestream velocity condition to be used for a wall rotating with the moving frame in an MRF (multi-reference frame) or SRF (single reference frame) case. More...
Freestream velocity condition to be used for a wall rotating with the moving frame in an MRF (multi-reference frame) or SRF (single reference frame) case.
Given the free stream velocity in the absolute frame at time 0, the condition applies the appropriate rotation transformation in time and space to determine the current freestream velocity.
Property | Description | Required | Default value |
---|---|---|---|
freestreamValue0 | freestream velocity at t=0 | yes | |
freestreamValue | freestream velocity at t | yes |
Example of the boundary condition specification:
<patchName> { type MRFFreestreamVelocity; freestreamValue0 (1 0 0); freestreamValue uniform (1 0 0); }
Definition at line 91 of file MRFFreestreamVelocityFvPatchVectorField.H.
MRFFreestreamVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 32 of file MRFFreestreamVelocityFvPatchVectorField.C.
Referenced by MRFFreestreamVelocityFvPatchVectorField::clone().
MRFFreestreamVelocityFvPatchVectorField | ( | const MRFFreestreamVelocityFvPatchVectorField & | pvf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fieldMapper & | mapper | ||
) |
Construct by mapping given MRFFreestreamVelocityFvPatchVectorField.
onto a new patch
Definition at line 46 of file MRFFreestreamVelocityFvPatchVectorField.C.
|
delete |
Disallow copy without setting internal field reference.
MRFFreestreamVelocityFvPatchVectorField | ( | const MRFFreestreamVelocityFvPatchVectorField & | pvf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Copy constructor setting internal field reference.
Definition at line 61 of file MRFFreestreamVelocityFvPatchVectorField.C.
TypeName | ( | "MRFFreestreamVelocity" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Reimplemented from freestreamVelocityFvPatchVectorField.
Definition at line 142 of file MRFFreestreamVelocityFvPatchVectorField.H.
References MRFFreestreamVelocityFvPatchVectorField::MRFFreestreamVelocityFvPatchVectorField().
|
virtual |
Update the coefficients associated with the patch field.
Reimplemented from freestreamVelocityFvPatchVectorField.
Definition at line 76 of file MRFFreestreamVelocityFvPatchVectorField.C.
References Foam::cos(), Foam::mag(), omega, Foam::sin(), and freestreamVelocityFvPatchVectorField::updateCoeffs().
|
virtual |
Write.
Reimplemented from freestreamVelocityFvPatchVectorField.
Definition at line 97 of file MRFFreestreamVelocityFvPatchVectorField.C.
References fvPatchField< Type >::write(), and Foam::writeEntry().