mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
changed molecular weight
This commit is contained in:
@ -50,8 +50,11 @@ tmp<fv::convectionScheme<scalar> > mvConvection
|
||||
}
|
||||
}
|
||||
|
||||
// calculate total molar number in volume
|
||||
N = Yt*rhoeps/W;
|
||||
|
||||
Info << "molecular weight of mixture" << W << endl;
|
||||
|
||||
Y[inertIndex] = scalar(1) - Yt;
|
||||
Y[inertIndex].max(0.0);
|
||||
}
|
||||
|
||||
@ -18,9 +18,8 @@
|
||||
basicSpecieMixture& composition = thermo.composition();
|
||||
PtrList<volScalarField>& Y = composition.Y();
|
||||
|
||||
// The molecular weight [kj/mol] ====== EKI
|
||||
//const volScalarField W(composition.W());
|
||||
const volScalarField& W = composition.W();
|
||||
// The molecular weight [kj/mol]
|
||||
const volScalarField W(composition.W());
|
||||
|
||||
const word inertSpecie(thermo.lookup("inertSpecie"));
|
||||
|
||||
@ -42,7 +41,7 @@
|
||||
}
|
||||
fields.add(thermo.he());
|
||||
|
||||
// define total number of moles in volume ====== EKI
|
||||
// Total Mole in Volume
|
||||
volScalarField N
|
||||
(
|
||||
IOobject
|
||||
@ -55,7 +54,6 @@
|
||||
),
|
||||
mesh
|
||||
);
|
||||
// =============================================
|
||||
|
||||
volScalarField rho
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user