38 #ifndef ThermoParcel_H
39 #define ThermoParcel_H
51 template<
class ParcelType>
54 template<
class ParcelType>
73 template<
class ParcelType>
77 public ThermoParcelName
82 static const std::size_t sizeofFields_;
90 public ParcelType::constantProperties
133 inline scalar
T0()
const;
136 inline scalar
TMin()
const;
139 inline scalar
TMax()
const;
146 inline scalar
Cp0()
const;
154 inline scalar
f0()
const;
160 public ParcelType::trackingData
210 template <
class TrackCloudType>
243 inline scalar
pc()
const;
249 inline scalar
Tc()
const;
255 inline scalar
Cpc()
const;
258 inline scalar&
Cpc();
278 template<
class TrackCloudType>
281 TrackCloudType&
cloud,
316 const label tetFacei,
328 label& nLocateBoundaryHits
355 inline scalar
T()
const;
358 inline scalar
Cp()
const;
373 template<
class TrackCloudType>
377 template<
class TrackCloudType>
380 TrackCloudType&
cloud,
386 template<
class TrackCloudType>
389 const TrackCloudType&
cloud,
390 const trackingData& td,
400 template<
class TrackCloudType>
403 TrackCloudType&
cloud,
412 template<
class CloudType>
416 template<
class CloudType>
420 template<
class CloudType,
class CompositionType>
424 const CompositionType& compModel
430 friend Ostream& operator<< <ParcelType>
Templated base class for dsmc cloud.
Generic GeometricField class.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Class to hold thermo particle constant properties.
constantProperties()
Null constructor.
void setTMax(const scalar TMax)
Set the maximum temperature [K].
scalar f0() const
Return const access to the particle scattering factor [].
scalar TMin() const
Return const access to minimum temperature [K].
scalar epsilon0() const
Return const access to the particle emissivity [].
scalar Cp0() const
Return const access to the particle specific heat capacity.
scalar TMax() const
Return const access to maximum temperature [K].
scalar T0() const
Return const access to the particle initial temperature [K].
const interpolation< scalar > & GInterp() const
Return const access to the interpolator for continuous.
trackingData(const TrackCloudType &cloud)
Construct from components.
const volScalarField & kappa() const
Return access to the locally stored carrier kappa field.
const interpolation< scalar > & CpInterp() const
Return const access to the interpolator for continuous.
scalar Cpc() const
Return the continuous phase specific heat capacity.
scalar pc() const
Return the continuous phase pressure.
const interpolation< scalar > & TInterp() const
Return const access to the interpolator for continuous.
const interpolation< scalar > & pInterp() const
Return const access to the interpolator for continuous phase.
const interpolation< scalar > & kappaInterp() const
Return const access to the interpolator for continuous.
const volScalarField & Cp() const
Return access to the locally stored carrier Cp field.
scalar Tc() const
Return the continuous phase temperature.
Thermodynamic parcel class with one/two-way coupling with the continuous phase.
scalar Cp() const
Return const access to specific heat capacity.
scalar calcHeatTransfer(TrackCloudType &cloud, trackingData &td, const scalar dt, const scalar Re, const scalar Pr, const scalar kappa, const scalar NCpW, const scalar Sh, scalar &dhsTrans, scalar &Sph)
Calculate new particle temperature.
scalar T() const
Return const access to temperature.
AddToPropertyList(ParcelType, " T"+" Cp")
String representation of properties.
scalar Cp_
Specific heat capacity [J/kg/K].
void cellValueSourceCorrection(TrackCloudType &cloud, trackingData &td, const scalar dt)
Correct cell values using latest transfer information.
static autoPtr< ThermoParcel > New(Istream &is)
Construct from Istream and return.
virtual autoPtr< particle > clone() const
Construct and return a clone.
static void writeFields(const CloudType &c)
Write.
void setCellValues(TrackCloudType &cloud, trackingData &td)
Set cell values.
scalar T_
Temperature [K].
static void readFields(CloudType &c)
Read.
void calcSurfaceValues(const TrackCloudType &cloud, const trackingData &td, const scalar T, scalar &Ts, scalar &rhos, scalar &mus, scalar &Pr, scalar &kappas) const
Calculate surface thermo properties.
void calc(TrackCloudType &cloud, trackingData &td, const scalar dt)
Update parcel properties over the time interval.
ThermoParcel(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti, const label facei)
Construct from mesh, coordinates and topology.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A cloud is a collection of lagrangian particles.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base class for interpolation.
Mesh consisting of general polyhedral cells.
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
const dimensionedScalar c
Speed of light in a vacuum.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool cp(const fileName &src, const fileName &dst, const bool followLink=true)
Copy, recursively if necessary, the source to the destination.
TemplateName(FvFaceCellWave)
scalarField Re(const UList< complex > &cf)