diff --git a/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/phaseSystem/phaseSystem.C b/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/phaseSystem/phaseSystem.C index 4efd86189b..4202907a2e 100644 --- a/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/phaseSystem/phaseSystem.C +++ b/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/phaseSystem/phaseSystem.C @@ -154,8 +154,7 @@ Foam::phaseSystem::phaseSystem dimensionedScalar("dpdt", dimPressure/dimTime, 0) ), - MRF_(mesh_), - fvOptions_(mesh_) + MRF_(mesh_) { phi_.writeOpt() = IOobject::AUTO_WRITE; diff --git a/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/phaseSystem/phaseSystem.H b/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/phaseSystem/phaseSystem.H index c5ec2aa501..664add034f 100644 --- a/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/phaseSystem/phaseSystem.H +++ b/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/phaseSystem/phaseSystem.H @@ -176,9 +176,6 @@ protected: //- Optional MRF zones IOMRFZoneList MRF_; - //- Optional FV-options - mutable fv::options fvOptions_; - //- Blending methods blendingMethodTable blendingMethods_; diff --git a/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/phaseSystem/phaseSystemI.H b/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/phaseSystem/phaseSystemI.H index 125d286d9d..7f0e73be56 100644 --- a/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/phaseSystem/phaseSystemI.H +++ b/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/phaseSystem/phaseSystemI.H @@ -84,7 +84,7 @@ inline const Foam::IOMRFZoneList& Foam::phaseSystem::MRF() const inline Foam::fv::options& Foam::phaseSystem::fvOptions() const { - return fvOptions_; + return fv::options::New(mesh_); }