Function1 heat transfer model. The 1D function returns the heat transfer coefficient as a function of the local velocity magnitude. More...


Public Member Functions | |
| TypeName ("function1") | |
| Runtime type information. More... | |
| function1 (const dictionary &dict, const fvMesh &mesh) | |
| Construct from dictionary and mesh. More... | |
| function1 (const dictionary &dict, const interRegionModel &model) | |
| Construct from dictionary and model. More... | |
| virtual | ~function1 () |
| 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 heatTransferCoefficientModel | |
| TypeName ("heatTransferCoefficientModel") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, heatTransferCoefficientModel, mesh,(const dictionary &dict, const fvMesh &mesh),(dict, mesh)) | |
| declareRunTimeSelectionTable (autoPtr, heatTransferCoefficientModel, model,(const dictionary &dict, const interRegionModel &model),(dict, model)) | |
| heatTransferCoefficientModel (const word &modelType, const dictionary &dict, const fvMesh &mesh) | |
| Construct from dictionary and mesh. More... | |
| heatTransferCoefficientModel (const word &modelType, const dictionary &dict, const interRegionModel &model) | |
| Construct from dictionary and model. More... | |
| heatTransferCoefficientModel (const heatTransferCoefficientModel &)=delete | |
| Disallow default bitwise copy construction. More... | |
| virtual | ~heatTransferCoefficientModel () |
| Destructor. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from heatTransferCoefficientModel | |
| static autoPtr< heatTransferCoefficientModel > | New (const dictionary &dict, const fvMesh &mesh) |
| Select from dictionary and mesh. More... | |
| static autoPtr< heatTransferCoefficientModel > | New (const dictionary &dict, const interRegionModel &model) |
| Select from dictionary and model. More... | |
Protected Attributes inherited from heatTransferCoefficientModel | |
| const fvMesh & | mesh_ |
| Reference to the mesh. More... | |
Function1 heat transfer model. The 1D function returns the heat transfer coefficient as a function of the local velocity magnitude.
{
heatTransferCoefficientModel function1;
htcFunc
{
type constant;
value 1e5;
}
}
Definition at line 65 of file function1.H.
| function1 | ( | const dictionary & | dict, |
| const fvMesh & | mesh | ||
| ) |
| function1 | ( | const dictionary & | dict, |
| const interRegionModel & | model | ||
| ) |
Construct from dictionary and model.
Definition at line 83 of file function1.C.
|
virtual |
Destructor.
Definition at line 95 of file function1.C.
| TypeName | ( | "function1" | ) |
Runtime type information.
|
virtual |
Get the heat transfer coefficient.
Implements heatTransferCoefficientModel.
Definition at line 102 of file function1.C.
References Foam::dimArea, Foam::dimPower, Foam::dimTemperature, Foam::mag(), GeometricField< Type, GeoMesh, PrimitiveField >::New(), Foam::typedName(), and U.

|
virtual |
Correct the heat transfer coefficient.
Implements heatTransferCoefficientModel.
Definition at line 122 of file function1.C.
|
virtual |
Read dictionary.
Reimplemented from heatTransferCoefficientModel.
Definition at line 126 of file function1.C.
References dict, and heatTransferCoefficientModel::read().
