This boundary condition provides a total temperature condition. More...
#include <totalTemperatureFvPatchScalarField.H>


Public Member Functions | |
| TypeName ("totalTemperature") | |
| Runtime type information. | |
| totalTemperatureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
| Construct from patch and internal field. | |
| totalTemperatureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. | |
| totalTemperatureFvPatchScalarField (const totalTemperatureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
| Construct by mapping given totalTemperatureFvPatchScalarField. | |
| totalTemperatureFvPatchScalarField (const totalTemperatureFvPatchScalarField &) | |
| Construct as copy. | |
| totalTemperatureFvPatchScalarField (const totalTemperatureFvPatchScalarField &, 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 & | T0 () const |
| Return the total pressure. | |
| scalarField & | T0 () |
| Return reference to the total pressure to allow adjustment. | |
| virtual void | autoMap (const fvPatchFieldMapper &) |
| Map (and resize as needed) from self given a mapping object. | |
| virtual void | rmap (const fvPatchScalarField &, 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. | |
This boundary condition provides a total temperature condition.
| Property | Description | Required | Default value |
|---|---|---|---|
U | Velocity field name | no | U |
phi | Flux field name | no | phi |
psi | Compressibility field name | no | thermo:psi |
gamma | ratio of specific heats (Cp/Cv) | yes | |
T0 | total temperature | yes |
Example of the boundary condition specification:
<patchName>
{
type totalTemperature;
gamma 1.4;
T0 uniform 800;
}
Definition at line 102 of file totalTemperatureFvPatchScalarField.H.
| totalTemperatureFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF ) |
Construct from patch and internal field.
Definition at line 30 of file totalTemperatureFvPatchScalarField.C.
References p, and Foam::Zero.
Referenced by rmap(), totalTemperatureFvPatchScalarField(), totalTemperatureFvPatchScalarField(), totalTemperatureFvPatchScalarField(), and TypeName().

| totalTemperatureFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF, | ||
| const dictionary & | dict ) |
Construct from patch, internal field and dictionary.
Definition at line 62 of file totalTemperatureFvPatchScalarField.C.
References dict, fvPatchField< Type >::operator=(), and p.

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

| totalTemperatureFvPatchScalarField | ( | const totalTemperatureFvPatchScalarField & | tppsf | ) |
Construct as copy.
Definition at line 83 of file totalTemperatureFvPatchScalarField.C.
References totalTemperatureFvPatchScalarField().

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

| TypeName | ( | "totalTemperature" | ) |
Runtime type information.
References totalTemperatureFvPatchScalarField().

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

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

|
inline |
Return the total pressure.
Definition at line 220 of file totalTemperatureFvPatchScalarField.H.
|
inline |
Return reference to the total pressure to allow adjustment.
Definition at line 228 of file totalTemperatureFvPatchScalarField.H.
|
virtual |
Map (and resize as needed) from self given a mapping object.
Definition at line 114 of file totalTemperatureFvPatchScalarField.C.
|
virtual |
Reverse map the given fvPatchField onto this fvPatchField.
Definition at line 124 of file totalTemperatureFvPatchScalarField.C.
References Foam::refCast(), and totalTemperatureFvPatchScalarField().

|
virtual |
Update the coefficients associated with the patch field.
Definition at line 139 of file totalTemperatureFvPatchScalarField.C.
References Foam::magSqr(), and Foam::neg().

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