correct transport molecular weight type to scalar and correct size of PtrList<Coulomb> ccs_
This commit is contained in:
parent
6d3a738e8b
commit
6033bedc3a
1 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue