mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
added prop headers for post-processing models
This commit is contained in:
@ -256,8 +256,13 @@ public:
|
||||
friend class Cloud<ParticleType>;
|
||||
|
||||
|
||||
//- Runtime type information
|
||||
TypeName("Particle");
|
||||
// Static data members
|
||||
|
||||
//- String representation of properties
|
||||
static string propHeader;
|
||||
|
||||
//- Runtime type information
|
||||
TypeName("Particle");
|
||||
|
||||
|
||||
// Constructors
|
||||
|
||||
@ -28,6 +28,12 @@ License
|
||||
#include "IOstreams.H"
|
||||
#include "IOPosition.H"
|
||||
|
||||
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
||||
|
||||
template<class ParticleType>
|
||||
Foam::string Foam::Particle<ParticleType>::propHeader = "(Px Py Pz) cellI";
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
||||
// Construct from Istream
|
||||
|
||||
@ -249,8 +249,14 @@ protected:
|
||||
|
||||
public:
|
||||
|
||||
//- Runtime type information
|
||||
TypeName("KinematicParcel");
|
||||
// Static data members
|
||||
|
||||
//- String representation of properties
|
||||
static string propHeader;
|
||||
|
||||
//- Runtime type information
|
||||
TypeName("KinematicParcel");
|
||||
|
||||
|
||||
friend class Cloud<ParcelType>;
|
||||
|
||||
|
||||
@ -29,6 +29,20 @@ License
|
||||
#include "IOField.H"
|
||||
#include "Cloud.H"
|
||||
|
||||
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
||||
|
||||
template <class ParcelType>
|
||||
Foam::string Foam::KinematicParcel<ParcelType>::propHeader =
|
||||
Particle<ParcelType>::propHeader
|
||||
+ " typeId"
|
||||
+ " nParticle"
|
||||
+ " d"
|
||||
+ " (Ux Uy Uz)"
|
||||
+ " rho"
|
||||
+ " tTurb"
|
||||
+ " UTurb";
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
||||
template <class ParcelType>
|
||||
|
||||
@ -262,8 +262,14 @@ protected:
|
||||
|
||||
public:
|
||||
|
||||
//- Runtime type information
|
||||
TypeName("ReactingMultiphaseParcel");
|
||||
// Static data members
|
||||
|
||||
//- String representation of properties
|
||||
static string propHeader;
|
||||
|
||||
//- Runtime type information
|
||||
TypeName("ReactingMultiphaseParcel");
|
||||
|
||||
|
||||
friend class Cloud<ParcelType>;
|
||||
|
||||
|
||||
@ -27,6 +27,16 @@ License
|
||||
#include "ReactingMultiphaseParcel.H"
|
||||
#include "IOstreams.H"
|
||||
|
||||
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
||||
|
||||
template <class ParcelType>
|
||||
Foam::string Foam::ReactingMultiphaseParcel<ParcelType>::propHeader =
|
||||
ReactingParcel<ParcelType>::propHeader
|
||||
+ " nGas(Y1..YN)"
|
||||
+ " nLiquid(Y1..YN)"
|
||||
+ " nSolid(Y1..YN)";
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
||||
template<class ParcelType>
|
||||
|
||||
@ -214,8 +214,14 @@ protected:
|
||||
|
||||
public:
|
||||
|
||||
//- Runtime type information
|
||||
TypeName("ReactingParcel");
|
||||
// Static data members
|
||||
|
||||
//- String representation of properties
|
||||
static string propHeader;
|
||||
|
||||
//- Runtime type information
|
||||
TypeName("ReactingParcel");
|
||||
|
||||
|
||||
friend class Cloud<ParcelType>;
|
||||
|
||||
|
||||
@ -27,6 +27,15 @@ License
|
||||
#include "ReactingParcel.H"
|
||||
#include "IOstreams.H"
|
||||
|
||||
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
||||
|
||||
template <class ParcelType>
|
||||
Foam::string Foam::ReactingParcel<ParcelType>::propHeader =
|
||||
ThermoParcel<ParcelType>::propHeader
|
||||
+ " mass0"
|
||||
+ " nPhases(Y1..YN)";
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
||||
template<class ParcelType>
|
||||
|
||||
@ -228,8 +228,14 @@ protected:
|
||||
|
||||
public:
|
||||
|
||||
//- Runtime type information
|
||||
TypeName("ThermoParcel");
|
||||
// Static data members
|
||||
|
||||
//- String representation of properties
|
||||
static string propHeader;
|
||||
|
||||
//- Runtime type information
|
||||
TypeName("ThermoParcel");
|
||||
|
||||
|
||||
friend class Cloud<ParcelType>;
|
||||
|
||||
|
||||
@ -27,6 +27,15 @@ License
|
||||
#include "ThermoParcel.H"
|
||||
#include "IOstreams.H"
|
||||
|
||||
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
||||
|
||||
template <class ParcelType>
|
||||
Foam::string Foam::ThermoParcel<ParcelType>::propHeader =
|
||||
KinematicParcel<ParcelType>::propHeader
|
||||
+ " T"
|
||||
+ " cp";
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
||||
template<class ParcelType>
|
||||
|
||||
Reference in New Issue
Block a user