mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
initialisation order
This commit is contained in:
@ -85,6 +85,9 @@ Foam::spray::spray
|
|||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
|
||||||
|
ambientPressure_(p_.average().value()),
|
||||||
|
ambientTemperature_(T_.average().value()),
|
||||||
|
|
||||||
injectors_
|
injectors_
|
||||||
(
|
(
|
||||||
IOobject
|
IOobject
|
||||||
@ -204,10 +207,7 @@ Foam::spray::spray
|
|||||||
srhos_(fuels_->components().size()),
|
srhos_(fuels_->components().size()),
|
||||||
|
|
||||||
totalInjectedLiquidMass_(0.0),
|
totalInjectedLiquidMass_(0.0),
|
||||||
injectedLiquidKE_(0.0),
|
injectedLiquidKE_(0.0)
|
||||||
|
|
||||||
ambientPressure_(p_.average().value()),
|
|
||||||
ambientTemperature_(T_.average().value())
|
|
||||||
|
|
||||||
{
|
{
|
||||||
// create the evaporation source fields
|
// create the evaporation source fields
|
||||||
|
|||||||
@ -92,6 +92,13 @@ class spray
|
|||||||
IOdictionary sprayProperties_;
|
IOdictionary sprayProperties_;
|
||||||
|
|
||||||
|
|
||||||
|
//- Ambient Pressure
|
||||||
|
scalar ambientPressure_;
|
||||||
|
|
||||||
|
//- Ambient Temperature
|
||||||
|
scalar ambientTemperature_;
|
||||||
|
|
||||||
|
|
||||||
//- The injectors
|
//- The injectors
|
||||||
IOPtrList<injector> injectors_;
|
IOPtrList<injector> injectors_;
|
||||||
|
|
||||||
@ -164,12 +171,6 @@ class spray
|
|||||||
//- The (total added) injected kinetic energy of the liquid
|
//- The (total added) injected kinetic energy of the liquid
|
||||||
scalar injectedLiquidKE_;
|
scalar injectedLiquidKE_;
|
||||||
|
|
||||||
//- Ambient Pressure
|
|
||||||
scalar ambientPressure_;
|
|
||||||
|
|
||||||
//- Ambient Temperature
|
|
||||||
scalar ambientTemperature_;
|
|
||||||
|
|
||||||
|
|
||||||
// Private Member Functions
|
// Private Member Functions
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user