reactingEulerFoam: Lookup fvOptions from the mesh rather than construct a local copy
This commit is contained in:
parent
9a536b02a7
commit
0df151a378
3 changed files with 2 additions and 6 deletions
|
|
@ -154,8 +154,7 @@ Foam::phaseSystem::phaseSystem
|
|||
dimensionedScalar("dpdt", dimPressure/dimTime, 0)
|
||||
),
|
||||
|
||||
MRF_(mesh_),
|
||||
fvOptions_(mesh_)
|
||||
MRF_(mesh_)
|
||||
{
|
||||
phi_.writeOpt() = IOobject::AUTO_WRITE;
|
||||
|
||||
|
|
|
|||
|
|
@ -176,9 +176,6 @@ protected:
|
|||
//- Optional MRF zones
|
||||
IOMRFZoneList MRF_;
|
||||
|
||||
//- Optional FV-options
|
||||
mutable fv::options fvOptions_;
|
||||
|
||||
//- Blending methods
|
||||
blendingMethodTable blendingMethods_;
|
||||
|
||||
|
|
|
|||
|
|
@ -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_);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue