fvModels: Added support for mesh redistribution and load-balancing

This commit is contained in:
Henry Weller
2021-12-24 15:02:30 +00:00
parent 4267bb6c37
commit 5ed8dbb463
60 changed files with 626 additions and 58 deletions

View File

@ -168,6 +168,23 @@ void Foam::fv::interRegionExplicitPorositySource::addSup
}
void Foam::fv::interRegionExplicitPorositySource::updateMesh(const mapPolyMesh&)
{}
void Foam::fv::interRegionExplicitPorositySource::distribute
(
const mapDistributePolyMesh&
)
{}
bool Foam::fv::interRegionExplicitPorositySource::movePoints()
{
return true;
}
bool Foam::fv::interRegionExplicitPorositySource::read(const dictionary& dict)
{
if (interRegionModel::read(dict))

View File

@ -149,6 +149,18 @@ public:
) const;
// Mesh changes
//- Update for mesh changes
virtual void updateMesh(const mapPolyMesh&);
//- Update mesh corresponding to the given distribution map
virtual void distribute(const mapDistributePolyMesh&);
//- Update for mesh motion
virtual bool movePoints();
// IO
//- Read dictionary

View File

@ -212,6 +212,20 @@ void Foam::fv::interRegionHeatTransfer::correct()
}
void Foam::fv::interRegionHeatTransfer::updateMesh(const mapPolyMesh&)
{}
void Foam::fv::interRegionHeatTransfer::distribute(const mapDistributePolyMesh&)
{}
bool Foam::fv::interRegionHeatTransfer::movePoints()
{
return true;
}
bool Foam::fv::interRegionHeatTransfer::read(const dictionary& dict)
{
if (interRegionModel::read(dict))

View File

@ -182,6 +182,18 @@ public:
virtual void correct();
// Mesh changes
//- Update for mesh changes
virtual void updateMesh(const mapPolyMesh&);
//- Update mesh corresponding to the given distribution map
virtual void distribute(const mapDistributePolyMesh&);
//- Update for mesh motion
virtual bool movePoints();
// IO
//- Read dictionary