Replacing the specific twoPhaseChangeModel with a consistent and general fvModel interface will support not just cavitation using the new VoFCavitation fvModel but also other phase-change and interface manipulation models in the future and is easier to use for case-specific and other user customisation.
8 lines
220 B
C++
8 lines
220 B
C++
volScalarField& alpha2(mixture.alpha2());
|
|
|
|
const dimensionedScalar& rho1 = mixture.rho1();
|
|
const dimensionedScalar& rho2 = mixture.rho2();
|
|
|
|
//twoPhaseChangeModel& phaseChange = phaseChangePtr();
|
|
tmp<volScalarField> rAU;
|