This boundary condition provides a free-stream condition for velocity. More...
#include <freestreamVelocityFvPatchVectorField.H>


Public Member Functions | |
| TypeName ("freestreamVelocity") | |
| Runtime type information. | |
| freestreamVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
| Construct from patch and internal field. | |
| freestreamVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. | |
| freestreamVelocityFvPatchVectorField (const freestreamVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
| Construct by mapping given freestreamVelocityFvPatchVectorField onto. | |
| freestreamVelocityFvPatchVectorField (const freestreamVelocityFvPatchVectorField &) | |
| Construct as copy. | |
| freestreamVelocityFvPatchVectorField (const freestreamVelocityFvPatchVectorField &, 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. | |
| const vectorField & | freestreamValue () const |
| Same as refValue(). | |
| vectorField & | freestreamValue () |
| Same as refValue(). | |
| virtual void | updateCoeffs () |
| Update the coefficients associated with the patch field. | |
| virtual void | write (Ostream &) const |
| Write. | |
This boundary condition provides a free-stream condition for velocity.
It is an inlet-outlet condition that uses the velocity orientation to continuously blend between fixed value for normal inlet and zero gradient for normal outlet flow.
| Property | Description | Required | Default value |
|---|---|---|---|
freestreamValue | freestream velocity | yes |
Example of the boundary condition specification:
<patchName>
{
type freestreamVelocity;
freestreamValue uniform (300 0 0);
}
Definition at line 86 of file freestreamVelocityFvPatchVectorField.H.
| freestreamVelocityFvPatchVectorField | ( | const fvPatch & | p, |
| const DimensionedField< vector, volMesh > & | iF ) |
Construct from patch and internal field.
Definition at line 26 of file freestreamVelocityFvPatchVectorField.C.
References p.
Referenced by freestreamVelocityFvPatchVectorField(), freestreamVelocityFvPatchVectorField(), freestreamVelocityFvPatchVectorField(), and TypeName().

| freestreamVelocityFvPatchVectorField | ( | const fvPatch & | p, |
| const DimensionedField< vector, volMesh > & | iF, | ||
| const dictionary & | dict ) |
Construct from patch, internal field and dictionary.
Definition at line 36 of file freestreamVelocityFvPatchVectorField.C.
References Field< Type >::assign(), dict, freestreamValue(), fvPatchField< vector >::operator=(), p, and Foam::Zero.

| freestreamVelocityFvPatchVectorField | ( | const freestreamVelocityFvPatchVectorField & | ptf, |
| const fvPatch & | p, | ||
| const DimensionedField< vector, volMesh > & | iF, | ||
| const fvPatchFieldMapper & | mapper ) |
Construct by mapping given freestreamVelocityFvPatchVectorField onto.
a new patch
Definition at line 57 of file freestreamVelocityFvPatchVectorField.C.
References freestreamVelocityFvPatchVectorField(), and p.

| freestreamVelocityFvPatchVectorField | ( | const freestreamVelocityFvPatchVectorField & | wbppsf | ) |
Construct as copy.
Definition at line 69 of file freestreamVelocityFvPatchVectorField.C.
References freestreamVelocityFvPatchVectorField().

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

| TypeName | ( | "freestreamVelocity" | ) |
Runtime type information.
References freestreamVelocityFvPatchVectorField().

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

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

|
inline |
Same as refValue().
Definition at line 175 of file freestreamVelocityFvPatchVectorField.H.
Referenced by freestreamVelocityFvPatchVectorField(), and write().

|
inline |
Same as refValue().
Definition at line 180 of file freestreamVelocityFvPatchVectorField.H.
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 90 of file freestreamVelocityFvPatchVectorField.C.
References Foam::mag(), and fvPatchField< Type >::updateCoeffs().

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