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:
Will Bainbridge
2023-09-06 12:00:23 +01:00
parent b6883889ca
commit 889b811005
9 changed files with 32 additions and 32 deletions

View File

@ -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);