| 52 | |
| 53 | template<class CombThermoType, class ThermoType> |
| 54 | class diffusion |
| 55 | : |
| 56 | public singleStepCombustion<CombThermoType, ThermoType> |
| 57 | { |
| 58 | // Private data |
| 59 | |
| 60 | //- Model constant |
| 61 | scalar C_; |
| 62 | |
| 63 | //- Name of oxidant - default is "O2" |
| 64 | word oxidantName_; |
| 65 | |
| 66 | |
| 67 | // Private Member Functions |
| 68 | |
| 69 | //- Disallow copy construct |
| 70 | diffusion(const diffusion&); |
| 71 | |
| 72 | //- Disallow default bitwise assignment |
| 73 | void operator=(const diffusion&); |
| 74 | |
| 75 | |
| 76 | public: |
| 77 | |
| 78 | //- Runtime type information |
| 79 | TypeName("diffusion"); |
| 80 | |
| 81 | |
| 82 | // Constructors |
| 83 | |
| 84 | //- Construct from components |
| 85 | diffusion |
| 86 | ( |
| 87 | const word& modelType, |
| 88 | const fvMesh& mesh, |
| 89 | const word& combustionProperties, |
| 90 | const word& phaseName |
| 91 | ); |
| 92 | |
| 93 | |
| 94 | //- Destructor |
| 95 | virtual ~diffusion(); |
| 96 | |
| 97 | |
| 98 | // Member Functions |
| 99 | |
| 100 | //- Correct combustion rate |
| 101 | virtual void correct(); |
| 102 | |
| 103 | //- Update properties |
| 104 | virtual bool read(); |
| 105 | }; |
| 106 | |
| 107 | |
| 108 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // |