| 48 | |
| 49 | template<class BasicThermo, class MixtureType> |
| 50 | class heThermo |
| 51 | : |
| 52 | public BasicThermo, |
| 53 | public MixtureType |
| 54 | { |
| 55 | protected: |
| 56 | |
| 57 | // Protected data |
| 58 | |
| 59 | //- Energy field |
| 60 | volScalarField he_; |
| 61 | |
| 62 | |
| 63 | // Protected Member Functions |
| 64 | |
| 65 | // Enthalpy/Internal energy |
| 66 | |
| 67 | //- Correct the enthalpy/internal energy field boundaries |
| 68 | void heBoundaryCorrection(volScalarField& he); |
| 69 | |
| 70 | |
| 71 | private: |
| 72 | |
| 73 | // Private Member Functions |
| 74 | |
| 75 | //- Construct as copy (not implemented) |
| 76 | heThermo(const heThermo<BasicThermo, MixtureType>&); |
| 77 | |
| 78 | |
| 79 | //- Initialize heThermo |
| 80 | void init(); |
| 81 | |
| 82 | |
| 83 | public: |
| 84 | |
| 85 | // Constructors |
| 86 | |
| 87 | //- Construct from mesh |
| 88 | heThermo |
| 89 | ( |
| 90 | const fvMesh&, |
| 91 | const word& phaseName |
| 92 | ); |
| 93 | |
| 94 | //- Construct from mesh and dictionary |
| 95 | heThermo |
| 96 | ( |
| 97 | const fvMesh&, |
| 98 | const dictionary&, |
| 99 | const word& phaseName |
| 100 | ); |
| 101 | |
| 102 | |
| 103 | //- Destructor |
| 104 | virtual ~heThermo(); |
| 105 | |
| 106 | |
| 107 | // Member functions |