fvModels: Added support for mesh redistribution and load-balancing
This commit is contained in:
@ -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))
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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))
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user