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


Public Member Functions | |
| TypeName ("freestreamPressure") | |
| Runtime type information. | |
| freestreamPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
| Construct from patch and internal field. | |
| freestreamPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. | |
| freestreamPressureFvPatchScalarField (const freestreamPressureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
| Construct by mapping given freestreamPressureFvPatchScalarField onto. | |
| freestreamPressureFvPatchScalarField (const freestreamPressureFvPatchScalarField &) | |
| Construct as copy. | |
| freestreamPressureFvPatchScalarField (const freestreamPressureFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
| Construct as copy setting internal field reference. | |
| virtual tmp< fvPatchField< scalar > > | clone () const |
| Return a clone. | |
| virtual tmp< fvPatchField< scalar > > | clone (const DimensionedField< scalar, volMesh > &iF) const |
| Clone with an internal field reference. | |
| const scalarField & | freestreamValue () const |
| Same as refValue(). | |
| scalarField & | 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 pressure.
It is an outlet-inlet condition that uses the velocity orientation to continuously blend between zero gradient for normal inlet and fixed value for normal outlet flow.
| Property | Description | Required | Default value |
|---|---|---|---|
U | velocity field name | no | U |
freestreamValue | freestream pressure | yes |
Example of the boundary condition specification:
<patchName>
{
type freestreamPressure;
freestreamValue uniform 1e5;
}
Definition at line 92 of file freestreamPressureFvPatchScalarField.H.
| freestreamPressureFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF ) |
Construct from patch and internal field.
Definition at line 28 of file freestreamPressureFvPatchScalarField.C.
References p.
Referenced by freestreamPressureFvPatchScalarField(), freestreamPressureFvPatchScalarField(), freestreamPressureFvPatchScalarField(), and TypeName().

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

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

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

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

| TypeName | ( | "freestreamPressure" | ) |
Runtime type information.
References freestreamPressureFvPatchScalarField().

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

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

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

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

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