Commit b01210e5 authored by Andrew Heather's avatar Andrew Heather
Browse files

added prop headers for post-processing models

parent 7a157d7b
......@@ -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>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment