This boundary condition provides a fixed heat constraint on temperature (i.e. T) to specify temperature gradient through an input heat source which can either be specified as absolute power [W], or as flux [W/m2].
More...
#include <atmTurbulentHeatFluxTemperatureFvPatchScalarField.H>


Public Member Functions | |
| TypeName ("atmTurbulentHeatFluxTemperature") | |
| Runtime type information. | |
| atmTurbulentHeatFluxTemperatureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
| Construct from patch and internal field. | |
| atmTurbulentHeatFluxTemperatureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. | |
| atmTurbulentHeatFluxTemperatureFvPatchScalarField (const atmTurbulentHeatFluxTemperatureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
| Construct by mapping given atmTurbulentHeatFluxTemperatureFvPatchScalarField onto a new patch. | |
| atmTurbulentHeatFluxTemperatureFvPatchScalarField (const atmTurbulentHeatFluxTemperatureFvPatchScalarField &) | |
| Construct as copy. | |
| atmTurbulentHeatFluxTemperatureFvPatchScalarField (const atmTurbulentHeatFluxTemperatureFvPatchScalarField &, 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. | |
| 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 fixed heat constraint on temperature (i.e. T) to specify temperature gradient through an input heat source which can either be specified as absolute power [W], or as flux [W/m2].
Required fields:
nut | Turbulent viscosity [m2/s] k | Turbulent kinetic energy [m2/s2]
<patchName>
{
// Mandatory entries (unmodifiable)
type atmTurbulentHeatFluxTemperature;
heatSource flux;
alphaEff alphaEff;
// Mandatory entries (runtime modifiable)
Cp0 0.001;
q uniform 10;
// Optional (inherited) entries
...
}
where the entries mean:
| Property | Description | Type | Reqd | Dflt |
|---|---|---|---|---|
heatSource | Heat source type | word | yes | - |
alphaEff | Name of turbulent thermal diff. field [kg/m/s] | word | yes | - |
Cp0 | Specific heat capacity [m2/s2/K] | Function1<scalar> | yes | - |
q | Heat source value [W (power) or W/m2 (flux)] | PatchFunction1<scalar> | yes | - |
The inherited entries are elaborated in:
Options for the heatSource entry:
power | Absolute power heat source [W]
flux | Flux heat source [W/m2]
Definition at line 139 of file atmTurbulentHeatFluxTemperatureFvPatchScalarField.H.
| atmTurbulentHeatFluxTemperatureFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF ) |
Construct from patch and internal field.
Definition at line 48 of file atmTurbulentHeatFluxTemperatureFvPatchScalarField.C.
References p.
Referenced by atmTurbulentHeatFluxTemperatureFvPatchScalarField(), atmTurbulentHeatFluxTemperatureFvPatchScalarField(), atmTurbulentHeatFluxTemperatureFvPatchScalarField(), rmap(), and TypeName().

| atmTurbulentHeatFluxTemperatureFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF, | ||
| const dictionary & | dict ) |
Construct from patch, internal field and dictionary.
Definition at line 80 of file atmTurbulentHeatFluxTemperatureFvPatchScalarField.C.
References dict, Foam::New(), p, and Foam::Zero.

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

| atmTurbulentHeatFluxTemperatureFvPatchScalarField | ( | const atmTurbulentHeatFluxTemperatureFvPatchScalarField & | atmpsf | ) |
Construct as copy.
Definition at line 110 of file atmTurbulentHeatFluxTemperatureFvPatchScalarField.C.
References atmTurbulentHeatFluxTemperatureFvPatchScalarField(), and clone().

| atmTurbulentHeatFluxTemperatureFvPatchScalarField | ( | const atmTurbulentHeatFluxTemperatureFvPatchScalarField & | atmpsf, |
| const DimensionedField< scalar, volMesh > & | iF ) |
Construct as copy setting internal field reference.
Definition at line 124 of file atmTurbulentHeatFluxTemperatureFvPatchScalarField.C.
References atmTurbulentHeatFluxTemperatureFvPatchScalarField(), and clone().

| TypeName | ( | "atmTurbulentHeatFluxTemperature" | ) |
Runtime type information.
References atmTurbulentHeatFluxTemperatureFvPatchScalarField().

|
inlinevirtual |
Return a clone.
Definition at line 246 of file atmTurbulentHeatFluxTemperatureFvPatchScalarField.H.
References fvPatchField< Type >::Clone().
Referenced by atmTurbulentHeatFluxTemperatureFvPatchScalarField(), atmTurbulentHeatFluxTemperatureFvPatchScalarField(), and atmTurbulentHeatFluxTemperatureFvPatchScalarField().


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

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

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

|
virtual |
Update the coefficients associated with the patch field.
Definition at line 166 of file atmTurbulentHeatFluxTemperatureFvPatchScalarField.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::gSum(), and Foam::nl.

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