parcelCloud: Renamed volume and mass fractions
A cloud's volume fraction is now generated with parcelCloud::alpha, and the mass fraction with parcelCloud::Y. This is consistent with the rest of OpenFOAM.
This commit is contained in:
@ -225,7 +225,7 @@ incompressibleDenseParticleFluid
|
||||
momentumTransport->validate();
|
||||
|
||||
// Update alphac from the particle locations
|
||||
alphac_ = max(1 - clouds.theta(), alphacMin);
|
||||
alphac_ = max(1 - clouds.alpha(), alphacMin);
|
||||
alphac_.correctBoundaryConditions();
|
||||
alphacf = fvc::interpolate(alphac);
|
||||
alphaPhic = alphacf*phic;
|
||||
@ -288,7 +288,7 @@ void Foam::solvers::incompressibleDenseParticleFluid::prePredictor()
|
||||
clouds.evolve();
|
||||
|
||||
// Update continuous phase volume fraction field
|
||||
alphac_ = max(1 - clouds.theta(), alphacMin);
|
||||
alphac_ = max(1 - clouds.alpha(), alphacMin);
|
||||
alphac_.correctBoundaryConditions();
|
||||
alphacf = fvc::interpolate(alphac);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user