| 54 | |
| 55 | template<class Type> |
| 56 | class PaSR |
| 57 | : |
| 58 | public laminar<Type> |
| 59 | { |
| 60 | // Private data |
| 61 | |
| 62 | //- Mixing constant |
| 63 | scalar Cmix_; |
| 64 | |
| 65 | //- Mixing parameter |
| 66 | volScalarField kappa_; |
| 67 | |
| 68 | |
| 69 | // Private Member Functions |
| 70 | |
| 71 | //- Disallow copy construct |
| 72 | PaSR(const PaSR&); |
| 73 | |
| 74 | //- Disallow default bitwise assignment |
| 75 | void operator=(const PaSR&); |
| 76 | |
| 77 | |
| 78 | public: |
| 79 | |
| 80 | //- Runtime type information |
| 81 | TypeName("PaSR"); |
| 82 | |
| 83 | |
| 84 | // Constructors |
| 85 | |
| 86 | //- Construct from components |
| 87 | PaSR |
| 88 | ( |
| 89 | const word& modelType, |
| 90 | const fvMesh& mesh, |
| 91 | const word& combustionProperties, |
| 92 | const word& phaseName |
| 93 | ); |
| 94 | |
| 95 | |
| 96 | //- Destructor |
| 97 | virtual ~PaSR(); |
| 98 | |
| 99 | |
| 100 | // Member Functions |
| 101 | |
| 102 | //- Correct combustion rate |
| 103 | virtual void correct(); |
| 104 | |
| 105 | //- Fuel consumption rate matrix. |
| 106 | virtual tmp<fvScalarMatrix> R(volScalarField& Y) const; |
| 107 | |
| 108 | //- Heat release rate [kg/m/s3] |
| 109 | virtual tmp<volScalarField> Qdot() const; |
| 110 | |
| 111 | //- Update properties from given dictionary |
| 112 | virtual bool read(); |
| 113 | }; |