36 #ifndef twoPhaseMixtureThermo_H 37 #define twoPhaseMixtureThermo_H 39 #include "rhoThermo.H" 40 #include "psiThermo.H" 41 #include "twoPhaseMixture.H" 52 class twoPhaseMixtureThermo
55 public twoPhaseMixture
60 autoPtr<rhoThermo> thermo1_;
63 autoPtr<rhoThermo> thermo2_;
69 TypeName(
"twoPhaseMixtureThermo");
82 virtual ~twoPhaseMixtureThermo();
87 const rhoThermo& thermo1()
const 92 const rhoThermo& thermo2()
const 108 virtual void correct();
112 virtual bool incompressible()
const;
116 virtual bool isochoric()
const;
123 virtual volScalarField& he()
125 notImplemented(
"twoPhaseMixtureThermo::he()");
126 return thermo1_->he();
130 virtual const volScalarField& he()
const 132 notImplemented(
"twoPhaseMixtureThermo::he() const");
133 return thermo1_->he();
138 virtual tmp<volScalarField> he
140 const volScalarField& p,
141 const volScalarField& T
145 virtual tmp<scalarField> he
147 const scalarField& p,
148 const scalarField& T,
149 const labelList& cells
153 virtual tmp<scalarField> he
155 const scalarField& p,
156 const scalarField& T,
161 virtual tmp<volScalarField> hc()
const;
164 virtual tmp<scalarField> THE
166 const scalarField& h,
167 const scalarField& p,
168 const scalarField& T0,
169 const labelList& cells
173 virtual tmp<scalarField> THE
175 const scalarField& h,
176 const scalarField& p,
177 const scalarField& T0,
185 virtual tmp<volScalarField> Cp()
const;
188 virtual tmp<scalarField> Cp
190 const scalarField& p,
191 const scalarField& T,
196 virtual tmp<volScalarField> Cv()
const;
199 virtual tmp<scalarField> Cv
201 const scalarField& p,
202 const scalarField& T,
207 virtual tmp<volScalarField> gamma()
const;
210 virtual tmp<scalarField> gamma
212 const scalarField& p,
213 const scalarField& T,
218 virtual tmp<volScalarField> Cpv()
const;
221 virtual tmp<scalarField> Cpv
223 const scalarField& p,
224 const scalarField& T,
229 virtual tmp<volScalarField> CpByCpv()
const;
232 virtual tmp<scalarField> CpByCpv
234 const scalarField& p,
235 const scalarField& T,
243 virtual tmp<volScalarField> kappa()
const;
246 virtual tmp<scalarField> kappa
252 virtual tmp<volScalarField> kappaEff
254 const volScalarField& alphat
258 virtual tmp<scalarField> kappaEff
260 const scalarField& alphat,
265 virtual tmp<volScalarField> alphaEff
267 const volScalarField& alphat
271 virtual tmp<scalarField> alphaEff
273 const scalarField& alphat,