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...


Public Member Functions | |
| TypeName ("atmTurbulentHeatFluxTemperature") | |
| Runtime type information. More... | |
| atmTurbulentHeatFluxTemperatureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
| Construct from patch and internal field. More... | |
| atmTurbulentHeatFluxTemperatureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. More... | |
| atmTurbulentHeatFluxTemperatureFvPatchScalarField (const atmTurbulentHeatFluxTemperatureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
| Construct by mapping given atmTurbulentHeatFluxTemperatureFvPatchScalarField onto a new patch. More... | |
| atmTurbulentHeatFluxTemperatureFvPatchScalarField (const atmTurbulentHeatFluxTemperatureFvPatchScalarField &) | |
| Construct as copy. More... | |
| virtual tmp< fvPatchScalarField > | clone () const |
| Construct and return a clone. More... | |
| atmTurbulentHeatFluxTemperatureFvPatchScalarField (const atmTurbulentHeatFluxTemperatureFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
| Construct as copy setting internal field reference. More... | |
| virtual tmp< fvPatchScalarField > | clone (const DimensionedField< scalar, volMesh > &iF) const |
| Construct and return a clone setting internal field reference. More... | |
| virtual void | autoMap (const fvPatchFieldMapper &) |
| Map (and resize as needed) from self given a mapping object. More... | |
| virtual void | rmap (const fvPatchScalarField &, const labelList &) |
| Reverse map the given fvPatchField onto this fvPatchField. More... | |
| virtual void | updateCoeffs () |
| Update the coefficients associated with the patch field. More... | |
| virtual void | write (Ostream &) const |
| Write. More... | |
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].
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 50 of file atmTurbulentHeatFluxTemperatureFvPatchScalarField.C.
Referenced by atmTurbulentHeatFluxTemperatureFvPatchScalarField::clone().

| atmTurbulentHeatFluxTemperatureFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF, | ||
| const dictionary & | dict | ||
| ) |
Construct from patch, internal field and dictionary.
Definition at line 82 of file atmTurbulentHeatFluxTemperatureFvPatchScalarField.C.
References dict, 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 65 of file atmTurbulentHeatFluxTemperatureFvPatchScalarField.C.
| atmTurbulentHeatFluxTemperatureFvPatchScalarField | ( | const atmTurbulentHeatFluxTemperatureFvPatchScalarField & | atmpsf | ) |
Construct as copy.
Definition at line 112 of file atmTurbulentHeatFluxTemperatureFvPatchScalarField.C.
| atmTurbulentHeatFluxTemperatureFvPatchScalarField | ( | const atmTurbulentHeatFluxTemperatureFvPatchScalarField & | atmpsf, |
| const DimensionedField< scalar, volMesh > & | iF | ||
| ) |
Construct as copy setting internal field reference.
Definition at line 126 of file atmTurbulentHeatFluxTemperatureFvPatchScalarField.C.
| TypeName | ( | "atmTurbulentHeatFluxTemperature" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 237 of file atmTurbulentHeatFluxTemperatureFvPatchScalarField.H.
References atmTurbulentHeatFluxTemperatureFvPatchScalarField::atmTurbulentHeatFluxTemperatureFvPatchScalarField().

|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 258 of file atmTurbulentHeatFluxTemperatureFvPatchScalarField.H.
References atmTurbulentHeatFluxTemperatureFvPatchScalarField::atmTurbulentHeatFluxTemperatureFvPatchScalarField().

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

|
virtual |
Reverse map the given fvPatchField onto this fvPatchField.
Definition at line 152 of file atmTurbulentHeatFluxTemperatureFvPatchScalarField.C.
References atmTurbulentHeatFluxTemperatureFvPatchScalarField::rmap().
Referenced by atmTurbulentHeatFluxTemperatureFvPatchScalarField::rmap().


|
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(), Foam::nl, Foam::foamVersion::patch, IOobject::time(), and TimeState::timeOutputValue().

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

Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.