mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Updated cloud for topology change in parallel
This commit is contained in:
@ -652,7 +652,11 @@ void Foam::KinematicCloud<CloudType>::scaleSources()
|
||||
template<class CloudType>
|
||||
void Foam::KinematicCloud<CloudType>::preEvolve()
|
||||
{
|
||||
Info<< "\nSolving cloud " << this->name() << endl;
|
||||
// force calculaion of mesh dimensions - needed for parallel runs
|
||||
// with topology change due to lazy evaluation of valid mesh dimensions
|
||||
label nGeometricD = mesh_.nGeometricD();
|
||||
|
||||
Info<< "\nSolving " << nGeometricD << "-D cloud " << this->name() << endl;
|
||||
|
||||
this->dispersion().cacheFields(true);
|
||||
forces_.cacheFields(true);
|
||||
|
||||
Reference in New Issue
Block a user