diff --git a/src/lagrangian/cfdemParticle/subModels/chemistryModel/diffusionCoefficients/diffusionCoefficients.C b/src/lagrangian/cfdemParticle/subModels/chemistryModel/diffusionCoefficients/diffusionCoefficients.C index c824f43c..3ad1a38b 100644 --- a/src/lagrangian/cfdemParticle/subModels/chemistryModel/diffusionCoefficients/diffusionCoefficients.C +++ b/src/lagrangian/cfdemParticle/subModels/chemistryModel/diffusionCoefficients/diffusionCoefficients.C @@ -77,7 +77,7 @@ diffusionCoefficient::diffusionCoefficient initialized_(false) { particleCloud_.checkCG(false); - particleCloud_.registerParticleProperty("partPressure",1); + particleCloud_.registerParticleProperty(partPressureName_,1); for (int i=0; i(diffusantGasNames_[i],1); @@ -144,7 +144,7 @@ void diffusionCoefficient::execute() interpolationCellPoint TInterpolator_(tempField_); interpolationCellPoint PInterpolator_(P_); - double**& partPressure_ = particleCloud_.getParticlePropertyRef("partPressure"); + double**& partPressure_ = particleCloud_.getParticlePropertyRef(partPressureName_); for (int index=0; index("densityFieldName","rho")), rho_(sm.mesh().lookupObject (densityFieldName_)), partNuName_(propsDict_.lookupOrDefault("partViscos","partNu")), - partReynolds_(propsDict_.lookupOrDefault("partReynolds","partRe")), + partReName_(propsDict_.lookupOrDefault("partReynolds","partRe")), scaleDia_(1) { particleCloud_.checkCG(true); particleCloud_.registerParticleProperty(partNuName_,1); - particleCloud_.registerParticleProperty(partReynolds_,1); + particleCloud_.registerParticleProperty(partReName_,1); } // * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * // @@ -115,7 +115,7 @@ void massTransferCoeff::execute() interpolationCellPoint voidfractionInterpolator_(voidfraction_); double**& partNu_ = particleCloud_.getParticlePropertyRef(partNuName_); - double**& partRe_ = particleCloud_.getParticlePropertyRef(partReynolds_); + double**& partRe_ = particleCloud_.getParticlePropertyRef(partReName_); for (int index=0; index("verbose",false)), + partReactantName_("reactantPerParticle"), voidfractionFieldName_(propsDict_.lookupOrDefault("voidfractionFieldName","voidfraction")), voidfraction_(sm.mesh().lookupObject(voidfractionFieldName_)), particlesPerCell_ @@ -75,7 +76,7 @@ reactantPerParticle::reactantPerParticle Nevery_(propsDict_.lookupOrDefault