Commit a13be520 authored by mattijs's avatar mattijs
Browse files

initialisation order

parent d4dcd5bd
......@@ -85,6 +85,9 @@ Foam::spray::spray
)
),
ambientPressure_(p_.average().value()),
ambientTemperature_(T_.average().value()),
injectors_
(
IOobject
......@@ -204,10 +207,7 @@ Foam::spray::spray
srhos_(fuels_->components().size()),
totalInjectedLiquidMass_(0.0),
injectedLiquidKE_(0.0),
ambientPressure_(p_.average().value()),
ambientTemperature_(T_.average().value())
injectedLiquidKE_(0.0)
{
// create the evaporation source fields
......
......@@ -92,8 +92,15 @@ class spray
IOdictionary sprayProperties_;
//- Ambient Pressure
scalar ambientPressure_;
//- Ambient Temperature
scalar ambientTemperature_;
//- The injectors
IOPtrList<injector> injectors_;
IOPtrList<injector> injectors_;
// References to the spray sub-models
......@@ -164,12 +171,6 @@ class spray
//- The (total added) injected kinetic energy of the liquid
scalar injectedLiquidKE_;
//- Ambient Pressure
scalar ambientPressure_;
//- Ambient Temperature
scalar ambientTemperature_;
// Private Member Functions
......
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