mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
pimpleControl: Added optional 'solveFlow' control
sprayFoam: Added support for the optional 'solveFlow' control to allow
simulation of the spray evolution with all sub-models in a 'frozen'
flow-field.
This commit is contained in:
@ -69,6 +69,9 @@ protected:
|
||||
|
||||
// Solution controls
|
||||
|
||||
//- Flag to indicate whether to solve for the flow
|
||||
bool solveFlow_;
|
||||
|
||||
//- Maximum number of PIMPLE correctors
|
||||
label nCorrPIMPLE_;
|
||||
|
||||
@ -131,22 +134,25 @@ public:
|
||||
//- PIMPLE loop
|
||||
virtual bool loop();
|
||||
|
||||
//- Pressure corrector loop
|
||||
//- Pressure corrector loop control
|
||||
inline bool correct();
|
||||
|
||||
//- Helper function to identify when to store the intial residuals
|
||||
//- Return true to store the intial residuals
|
||||
inline bool storeInitialResiduals() const;
|
||||
|
||||
//- Helper function to identify first PIMPLE (outer) iteration
|
||||
//- Return true for first PIMPLE (outer) iteration
|
||||
inline bool firstIter() const;
|
||||
|
||||
//- Helper function to identify final PIMPLE (outer) iteration
|
||||
//- Return true fore final PIMPLE (outer) iteration
|
||||
inline bool finalIter() const;
|
||||
|
||||
//- Helper function to identify final inner iteration
|
||||
//- Return true for final inner iteration
|
||||
inline bool finalInnerIter() const;
|
||||
|
||||
//- Helper function to identify whether to solve for turbulence
|
||||
//- Return true to solve for flow
|
||||
inline bool solveFlow() const;
|
||||
|
||||
//- Return true to solve for turbulence
|
||||
inline bool turbCorr() const;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user