分析过coalChemistryFoam主函数和单颗粒的子模型 coalParcel之后,下面看颗粒了群子模型
coalCloud.H是描述碳颗粒的coalCloud类,是由以下6个类派生出来
namespace Foam
{
typedef ReactingMultiphaseCloud
<
ReactingCloud
<
ThermoCloud
<
KinematicCloud
<
Cloud
<
coalParcel
>
>
>
>
> coalCloud;
}
Cloud
template<class ParticleType>
class Foam::Cloud< ParticleType >
Base cloud calls templated on particle type.
其中包括获得Cloud中颗粒数量、增加/删除Cloud中的粒子等成员函数
KinematicCloud
template<class CloudType>
class Foam::KinematicCloud< CloudType >
Templated base class for kinematic cloud.
- cloud function objects
- particle forces, e.g.
- buoyancy
- drag
- pressure gradient
- ...
- sub-models:
- dispersion model
- injection model
- patch interaction model
- stochastic collision model
- surface film model
ThermoCloud
template<class CloudType>
class Foam::ThermoCloud< CloudType >
Templated base class for thermodynamic cloud.
- Adds to kinematic cloud
- Heat transfer
在KinematicCloud基础上增加了颗粒群换热模型
ReactingCloud
template<class CloudType>
class Foam::ReactingCloud< CloudType >
Templated base class for reacting cloud.
- Adds to thermodynamic cloud
- Variable composition (single phase)
- Phase change
ReactingMultiphaseCloud
template<class CloudType>
class Foam::ReactingMultiphaseCloud< CloudType >
Templated base class for multiphase reacting cloud.
- Adds to reacting cloud
- multiphase composition
- devolatilisatsion
- surface reactions
网友评论