added prop headers for post-processing models

This commit is contained in:
andy
2009-05-22 13:54:08 +01:00
parent 7a157d7b9b
commit b01210e58b
10 changed files with 87 additions and 10 deletions

View File

@ -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

View File

@ -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

View File

@ -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>;

View File

@ -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>

View File

@ -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>;

View File

@ -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>

View File

@ -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>;

View File

@ -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>

View File

@ -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>;

View File

@ -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>