PDF#
- class ansys.chemkin.core.particles.PDF(core_wt: float, bulk_density: float)#
Object representing the population density function (PDF) of aerosols.
Overview#
Convert size class to particle volume. |
|
Convert particle volume to size class. |
|
Convert particle class to particle diameter. |
|
Convert particle diameter to particle class. |
|
Calculate the key properties of the PDF from the moments values. |
|
Reconstruct the PDF by assuming the gamma function distribution. |
|
Reconstruct the PDF by assuming the lognormal distribution. |
Get volume of the core class unit. |
|
Get the mean size class of the distribution. |
|
Get the volume corresponding to the mean size class. |
Import detail#
from ansys.chemkin.core.particles import PDF
Property detail#
- property PDF.vol0: float#
Get volume of the core class unit.
- property PDF.mean_class: float#
Get the mean size class of the distribution.
- property PDF.mean_volume: float#
Get the volume corresponding to the mean size class.
Attribute detail#
- PDF.core_molar_mass#
- PDF.bulk_density#
- PDF.mass_per_class#
- PDF.vol_per_class#
- PDF.m0 = 0.0#
- PDF.mean = 0.0#
- PDF.variance = 0.0#
- PDF.std_dev = 0.0#
- PDF.mean_shifted = 0.0#
- PDF.x_min = 0.0#
Method detail#
- PDF.class_to_volume(x: float) float#
Convert size class to particle volume.
- PDF.volume_to_class(v: float) float#
Convert particle volume to size class.
- PDF.class_to_diameter(x: float) float#
Convert particle class to particle diameter.
- PDF.diameter_to_class(diameter: float) float#
Convert particle diameter to particle class.
- PDF.set_moments(m0: float, m1: float, m2: float, x_min: float) None#
Calculate the key properties of the PDF from the moments values.
- PDF.get_gamma_pdf(samples: int = 1000, limit: float = 5.0, mode: str = 'class') tuple[numpy.typing.NDArray[numpy.double], numpy.typing.NDArray[numpy.double]]#
Reconstruct the PDF by assuming the gamma function distribution.
- PDF.get_lognormal_pdf(samples: int = 1000, limit: float = 5.0, mode: str = 'class') tuple[numpy.typing.NDArray[numpy.double], numpy.typing.NDArray[numpy.double]]#
Reconstruct the PDF by assuming the lognormal distribution.