Variable heat transfer model depending on local values. The Nusselt number is calculated as: More...


Public Member Functions | |
| TypeName ("variable") | |
| Runtime type information. More... | |
| variable (const dictionary &dict, const fvMesh &mesh) | |
| Construct from dictionary and mesh. More... | |
| variable (const dictionary &dict, const interRegionModel &model) | |
| Construct from dictionary and model. More... | |
| virtual | ~variable () |
| Destructor. More... | |
| virtual tmp< volScalarField > | htc () const |
| Get the heat transfer coefficient. More... | |
| virtual void | correct () |
| Correct the heat transfer coefficient. More... | |
| virtual bool | read (const dictionary &dict) |
| Read dictionary. More... | |
Public Member Functions inherited from heatTransferModel | |
| TypeName ("heatTransferModel") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, heatTransferModel, mesh,(const dictionary &dict, const fvMesh &mesh),(dict, mesh)) | |
| declareRunTimeSelectionTable (autoPtr, heatTransferModel, model,(const dictionary &dict, const interRegionModel &model),(dict, model)) | |
| heatTransferModel (const word &modelType, const dictionary &dict, const fvMesh &mesh) | |
| Construct from dictionary and mesh. More... | |
| heatTransferModel (const word &modelType, const dictionary &dict, const interRegionModel &model) | |
| Construct from dictionary and model. More... | |
| heatTransferModel (const heatTransferModel &)=delete | |
| Disallow default bitwise copy construction. More... | |
| virtual | ~heatTransferModel () |
| Destructor. More... | |
| const fvMesh & | mesh () const |
| Return reference to the mesh. More... | |
| const dictionary & | coeffs () const |
| Return coeffs dictionary. More... | |
| tmp< volScalarField > | AoV () const |
| Get the area per unit volume. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from heatTransferModel | |
| static autoPtr< heatTransferModel > | New (const dictionary &dict, const fvMesh &mesh) |
| Select from dictionary and mesh. More... | |
| static autoPtr< heatTransferModel > | New (const dictionary &dict, const interRegionModel &model) |
| Select from dictionary and model. More... | |
Variable heat transfer model depending on local values. The Nusselt number is calculated as:
And the heat transfer coefficient is calculated as:
Where:
| = | Conductivity |
| = | Length scale |
{
type variable;
AoV 1e3;
a 1;
b 2;
c 3;
Pr 0.7;
L 1e-3;
}
Definition at line 91 of file variable.H.
| variable | ( | const dictionary & | dict, |
| const fvMesh & | mesh | ||
| ) |
Construct from dictionary and mesh.
Definition at line 64 of file variable.C.
| variable | ( | const dictionary & | dict, |
| const interRegionModel & | model | ||
| ) |
Construct from dictionary and model.
Definition at line 96 of file variable.C.
|
virtual |
Destructor.
Definition at line 109 of file variable.C.
| TypeName | ( | "variable" | ) |
Runtime type information.
|
inlinevirtual |
Get the heat transfer coefficient.
Implements heatTransferModel.
Definition at line 147 of file variable.H.
References variable::correct(), and variable::read().

|
virtual |
Correct the heat transfer coefficient.
Implements heatTransferModel.
Definition at line 115 of file variable.C.
References thermophysicalTransportModel::kappaEff(), Foam::mag(), mesh, thermophysicalTransportModel::momentumTransport(), Foam::pow(), Foam::Re(), and U.
Referenced by variable::htc().


|
virtual |
Read dictionary.
Reimplemented from heatTransferModel.
Definition at line 136 of file variable.C.
References heatTransferModel::read().
Referenced by variable::htc().

