Velocity condition to be used in conjunction with the single rotating frame (SRF) model (see: SRFModel class). More...
#include <SRFVelocityFvPatchVectorField.H>


Public Member Functions | |
| TypeName ("SRFVelocity") | |
| Runtime type information. | |
| SRFVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
| Construct from patch and internal field. | |
| SRFVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. | |
| SRFVelocityFvPatchVectorField (const SRFVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
| Construct by mapping given SRFVelocityFvPatchVectorField. | |
| SRFVelocityFvPatchVectorField (const SRFVelocityFvPatchVectorField &) | |
| Construct as copy. | |
| SRFVelocityFvPatchVectorField (const SRFVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &) | |
| Construct as copy setting internal field reference. | |
| virtual tmp< fvPatchField< vector > > | clone () const |
| Return a clone. | |
| virtual tmp< fvPatchField< vector > > | clone (const DimensionedField< vector, volMesh > &iF) const |
| Clone with an internal field reference. | |
| bool | relative () const |
| Is supplied inlet value relative to the SRF? | |
| virtual void | autoMap (const fvPatchFieldMapper &) |
| Map (and resize as needed) from self given a mapping object. | |
| virtual void | rmap (const fvPatchVectorField &, const labelList &) |
| Reverse map the given fvPatchField onto this fvPatchField. | |
| virtual void | updateCoeffs () |
| Update the coefficients associated with the patch field. | |
| virtual void | write (Ostream &) const |
| Write. | |
Velocity condition to be used in conjunction with the single rotating frame (SRF) model (see: SRFModel class).
Given the free stream velocity in the absolute frame, the condition applies the appropriate rotation transformation in time and space to determine the local velocity.
The optional relative flag switches the behaviour of the patch such that:
![\[ U_p = U_{in}
\]](form_101.png)
![\[ U_p = U_{in} - U_{p,srf}
\]](form_102.png)
where
![]() | = | patch velocity [m/s] |
![]() | = | user-specified inlet velocity |
![]() | = | SRF velocity |
| Property | Description | Required | Default value |
|---|---|---|---|
inletValue | inlet velocity | yes | |
relative | inletValue relative motion to the SRF? | yes |
Example of the boundary condition specification:
<patchName>
{
type SRFVelocity;
inletValue uniform (0 0 0);
relative yes;
value uniform (0 0 0); // initial value
}
Definition at line 127 of file SRFVelocityFvPatchVectorField.H.
| SRFVelocityFvPatchVectorField | ( | const fvPatch & | p, |
| const DimensionedField< vector, volMesh > & | iF ) |
Construct from patch and internal field.
Definition at line 29 of file SRFVelocityFvPatchVectorField.C.
References p, and Foam::Zero.
Referenced by rmap(), SRFVelocityFvPatchVectorField(), SRFVelocityFvPatchVectorField(), SRFVelocityFvPatchVectorField(), and TypeName().

| SRFVelocityFvPatchVectorField | ( | const fvPatch & | p, |
| const DimensionedField< vector, volMesh > & | iF, | ||
| const dictionary & | dict ) |
Construct from patch, internal field and dictionary.
Definition at line 55 of file SRFVelocityFvPatchVectorField.C.
| SRFVelocityFvPatchVectorField | ( | const SRFVelocityFvPatchVectorField & | ptf, |
| const fvPatch & | p, | ||
| const DimensionedField< vector, volMesh > & | iF, | ||
| const fvPatchFieldMapper & | mapper ) |
Construct by mapping given SRFVelocityFvPatchVectorField.
onto a new patch
Definition at line 41 of file SRFVelocityFvPatchVectorField.C.
References p, and SRFVelocityFvPatchVectorField().

| SRFVelocityFvPatchVectorField | ( | const SRFVelocityFvPatchVectorField & | srfvpvf | ) |
Construct as copy.
Definition at line 68 of file SRFVelocityFvPatchVectorField.C.
References SRFVelocityFvPatchVectorField().

| SRFVelocityFvPatchVectorField | ( | const SRFVelocityFvPatchVectorField & | srfvpvf, |
| const DimensionedField< vector, volMesh > & | iF ) |
Construct as copy setting internal field reference.
Definition at line 79 of file SRFVelocityFvPatchVectorField.C.
References SRFVelocityFvPatchVectorField().

| TypeName | ( | "SRFVelocity" | ) |
Runtime type information.
References SRFVelocityFvPatchVectorField().

|
inlinevirtual |
Return a clone.
Definition at line 206 of file SRFVelocityFvPatchVectorField.H.
References fvPatchField< Type >::Clone().

|
inlinevirtual |
Clone with an internal field reference.
Definition at line 214 of file SRFVelocityFvPatchVectorField.H.
References fvPatchField< Type >::Clone().

|
inline |
Is supplied inlet value relative to the SRF?
Definition at line 230 of file SRFVelocityFvPatchVectorField.H.
Referenced by SRFModel::Uabs().

|
virtual |
Map (and resize as needed) from self given a mapping object.
Definition at line 93 of file SRFVelocityFvPatchVectorField.C.
References Field< vector >::autoMap().

|
virtual |
Reverse map the given fvPatchField onto this fvPatchField.
Definition at line 103 of file SRFVelocityFvPatchVectorField.C.
References Foam::refCast(), and SRFVelocityFvPatchVectorField().

|
virtual |
Update the coefficients associated with the patch field.
Definition at line 118 of file SRFVelocityFvPatchVectorField.C.
References Foam::operator==(), and SRFModel::velocity().

|
virtual |
Write.
Definition at line 148 of file SRFVelocityFvPatchVectorField.C.
References os(), fvPatchField< Type >::write(), and fvPatchField< Type >::writeValueEntry().
