Particle-size distribution model wherein random samples are drawn from the doubly-truncated two-parameter Rosin-Rammler (Weibull) probability density function: More...
Public Member Functions | |
TypeName ("RosinRammler") | |
RosinRammler (const dictionary &dict, Random &rndGen) | |
RosinRammler (const RosinRammler &p) | |
virtual autoPtr< distributionModel > | clone () const |
void | operator= (const RosinRammler &)=delete |
virtual | ~RosinRammler ()=default |
virtual scalar | sample () const |
virtual scalar | meanValue () const |
![]() | |
TypeName ("distributionModel") | |
declareRunTimeSelectionTable (autoPtr, distributionModel, dictionary,(const dictionary &dict, Random &rndGen),(dict, rndGen)) | |
distributionModel (const word &name, const dictionary &dict, Random &rndGen) | |
distributionModel (const distributionModel &p) | |
virtual | ~distributionModel ()=default |
virtual scalar | minValue () const |
virtual scalar | maxValue () const |
Additional Inherited Members | |
![]() | |
static autoPtr< distributionModel > | New (const dictionary &dict, Random &rndGen) |
![]() | |
virtual void | check () const |
![]() | |
const dictionary | distributionModelDict_ |
Random & | rndGen_ |
scalar | minValue_ |
scalar | maxValue_ |
Particle-size distribution model wherein random samples are drawn from the doubly-truncated two-parameter Rosin-Rammler (Weibull) probability density function:
where
![]() | = | Rosin-Rammler probability density function |
![]() | = | Scale parameter |
![]() | = | Shape parameter |
![]() | = | Sample |
![]() | = | Minimum of the distribution |
![]() | = | Maximum of the distribution |
Constraints:
Random samples are generated by the inverse transform sampling technique by using the quantile function of the doubly-truncated two-parameter Rosin-Rammler (Weibull) probability density function:
with
where is sample drawn from the uniform probability density function on the unit interval
.
Reference:
Doubly-truncated two-parameter Weibull distribution and its moments (tag:C): Crénin, F. (2015). Truncated Weibull Distribution Functions and Moments. SSRN 2690255. DOI:10.2139/ssrn.2690255
constant/<CloudProperties>
: subModels { injectionModels { <name> { ... sizeDistribution { type RosinRammler; RosinRammlerDistribution { lambda <scaleParameterValue>; n <shapeParameterValue>; minValue <minValue>; maxValue <maxValue>; } } } } }
where the entries mean:
Property | Description | Type | Reqd | Deflt |
---|---|---|---|---|
type | Type name: RosinRammler | word | yes | - |
RosinRammlerDistribution | Distribution settings | dict | yes | - |
lambda | Scale parameter | scalar | yes | - |
n | Shape parameter | scalar | yes | - |
minValue | Minimum of the distribution | scalar | yes | - |
maxValue | Maximum of the distribution | scalar | yes | - |
Definition at line 215 of file RosinRammler.H.
RosinRammler | ( | const dictionary & | dict, |
Random & | rndGen | ||
) |
Definition at line 40 of file RosinRammler.C.
Referenced by RosinRammler::clone().
RosinRammler | ( | const RosinRammler & | p | ) |
Definition at line 73 of file RosinRammler.C.
|
virtualdefault |
TypeName | ( | "RosinRammler" | ) |
|
inlinevirtual |
Implements distributionModel.
Definition at line 243 of file RosinRammler.H.
References RosinRammler::RosinRammler().
|
delete |
|
virtual |
Implements distributionModel.
Definition at line 83 of file RosinRammler.C.
References Foam::exp(), Foam::log(), and Foam::pow().
|
virtual |
Implements distributionModel.
Definition at line 93 of file RosinRammler.C.
References Foam::exp(), Foam::gMax(), Foam::gMin(), Foam::Math::incGamma_P(), and Foam::pow().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.