diff --git a/src/finiteVolume/functionObjects/volRegion/volRegion.C b/src/finiteVolume/functionObjects/volRegion/volRegion.C index a8f1c4c8a871798db061eb08aa2fdf9b6bf6a1b1..2659d753a57934566ac816b7a19bc7049cb2230c 100644 --- a/src/finiteVolume/functionObjects/volRegion/volRegion.C +++ b/src/finiteVolume/functionObjects/volRegion/volRegion.C @@ -60,6 +60,7 @@ void Foam::functionObjects::volRegion::calculateCache() { regionID_ = -1; cellIds_.clear(); + requireUpdate_ = false; switch (regionType_) { @@ -112,8 +113,6 @@ void Foam::functionObjects::volRegion::calculateCache() << " Region has no cells" << nl << exit(FatalError); } - - requireUpdate_ = false; }