Commit 402ce6c8 authored by Henry's avatar Henry
Browse files

Renamed minParticleMass -> minParcelMass

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1288
parent afc467dc
......@@ -105,8 +105,8 @@ public:
//- Particle density [kg/m3] (constant)
demandDrivenEntry<scalar> rho0_;
//- Minimum particle mass [kg]
demandDrivenEntry<scalar> minParticleMass_;
//- Minimum parcel mass [kg]
demandDrivenEntry<scalar> minParcelMass_;
public:
......@@ -138,7 +138,7 @@ public:
inline scalar rho0() const;
//- Return const access to the minimum particle mass
inline scalar minParticleMass() const;
inline scalar minParcelMass() const;
};
......
......@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
......@@ -37,7 +37,7 @@ Foam::KinematicParcel<ParcelType>::constantProperties::constantProperties()
parcelTypeId_(dict_, -1),
rhoMin_(dict_, 0.0),
rho0_(dict_, 0.0),
minParticleMass_(dict_, 0.0)
minParcelMass_(dict_, 0.0)
{}
......@@ -51,7 +51,7 @@ inline Foam::KinematicParcel<ParcelType>::constantProperties::constantProperties
parcelTypeId_(cp.parcelTypeId_),
rhoMin_(cp.rhoMin_),
rho0_(cp.rho0_),
minParticleMass_(cp.minParticleMass_)
minParcelMass_(cp.minParcelMass_)
{}
......@@ -65,7 +65,7 @@ inline Foam::KinematicParcel<ParcelType>::constantProperties::constantProperties
parcelTypeId_(dict_, "parcelTypeId", -1),
rhoMin_(dict_, "rhoMin", 1e-15),
rho0_(dict_, "rho0"),
minParticleMass_(dict_, "minParticleMass", 1e-15)
minParcelMass_(dict_, "minParcelMass", 1e-15)
{}
......@@ -165,9 +165,9 @@ Foam::KinematicParcel<ParcelType>::constantProperties::rho0() const
template<class ParcelType>
inline Foam::scalar
Foam::KinematicParcel<ParcelType>::constantProperties::minParticleMass() const
Foam::KinematicParcel<ParcelType>::constantProperties::minParcelMass() const
{
return minParticleMass_.value();
return minParcelMass_.value();
}
......
......@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
......@@ -341,7 +341,7 @@ void Foam::ReactingMultiphaseParcel<ParcelType>::calc
}
// Remove the particle when mass falls below minimum threshold
if (np0*mass1 < td.cloud().constProps().minParticleMass())
if (np0*mass1 < td.cloud().constProps().minParcelMass())
{
td.keepParticle = false;
......
......@@ -514,7 +514,7 @@ void Foam::ReactingParcel<ParcelType>::calc
}
// Remove the particle when mass falls below minimum threshold
if (np0*mass1 < td.cloud().constProps().minParticleMass())
if (np0*mass1 < td.cloud().constProps().minParcelMass())
{
td.keepParticle = false;
......
......@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
......@@ -95,7 +95,7 @@ public:
const label parcelTypeId,
const scalar rhoMin,
const scalar rho0,
const scalar minParticleMass,
const scalar minParcelMass,
const scalar youngsModulus,
const scalar poissonsRatio,
const scalar T0,
......
......@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
......@@ -64,7 +64,7 @@ inline Foam::SprayParcel<ParcelType>::constantProperties::constantProperties
const label parcelTypeId,
const scalar rhoMin,
const scalar rho0,
const scalar minParticleMass,
const scalar minParcelMass,
const scalar youngsModulus,
const scalar poissonsRatio,
const scalar T0,
......@@ -85,7 +85,7 @@ inline Foam::SprayParcel<ParcelType>::constantProperties::constantProperties
parcelTypeId,
rhoMin,
rho0,
minParticleMass,
minParcelMass,
youngsModulus,
poissonsRatio,
T0,
......
......@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
......@@ -84,7 +84,7 @@ void Foam::ORourkeCollision<CloudType>::collide(const scalar dt)
parcelType& p = iter();
scalar mass = p.nParticle()*p.mass();
if (mass < this->owner().constProps().minParticleMass())
if (mass < this->owner().constProps().minParcelMass())
{
this->owner().deleteParticle(p);
}
......
......@@ -48,7 +48,7 @@ constantProperties
parcelTypeId 1;
rhoMin 1e-15;
minParticleMass 1e-15;
minParcelMass 1e-15;
rho0 2526;
youngsModulus 1e8;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment