correct transport molecular weight type to scalar and correct size of PtrList<Coulomb> ccs_

This commit is contained in:
ignis 2018-06-21 14:18:58 +09:00
parent 6d3a738e8b
commit 6033bedc3a

View file

@ -144,7 +144,7 @@ Foam::diffusivityModel::diffusivityModel(const psiReactionThermo& thermo)
forAll(species_, i)
{
const word namei(species_[i]);
const label Wi = thermo_.composition().W(i);
const scalar Wi = thermo_.composition().W(i);
const label zi = thermo_.composition().z(i);
dictionary tranDict(transports.subDict(species_[i]).subDict("transport"));
@ -154,7 +154,7 @@ Foam::diffusivityModel::diffusivityModel(const psiReactionThermo& thermo)
Particle p(tranDict);
// Info << tranDict << endl;
// Info << namei << endl << tranDict << endl;
// Info << p << endl;
// Info << scalarList(tranDict["tranlib"]) << endl;
@ -204,7 +204,7 @@ Foam::diffusivityModel::diffusivityModel(const psiReactionThermo& thermo)
neutrals_.resize(nNeutral);
nns_.resize(nNeutral*(nNeutral+1)/2);
ccs_.resize((nIon+1)*(nIon)/2 - 1);
ccs_.resize((nIon+1)*(nIon)/2);
cns_.resize(nNeutral*nIon);
ecs_.resize(nIon+1);
ens_.resize(nNeutral);