objectRegistry, regIOobject: Added support for automatic re-reading of dependent class
Now with the addition of the optional dependenciesModified() function classes which depend on other classes which are re-read from file when modified are also automatically updated via their read() function called by objectRegistry::readModifiedObjects. This significantly simplifies the update of the solutionControls and modular solvers when either the controlDict or fvSolution dictionaries are modified at run-time.
This commit is contained in:
@ -197,9 +197,6 @@ Foam::scalar Foam::solvers::VoFSolver::maxDeltaT() const
|
||||
|
||||
void Foam::solvers::VoFSolver::preSolve()
|
||||
{
|
||||
// Read the controls
|
||||
readControls();
|
||||
|
||||
if ((mesh.dynamic() || MRF.size()) && !Uf.valid())
|
||||
{
|
||||
Info<< "Constructing face momentum Uf" << endl;
|
||||
|
||||
Reference in New Issue
Block a user