mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
commit
1e6b7f889a
@ -1598,7 +1598,7 @@ public:
|
||||
/*!
|
||||
* \copydoc FvBaseProblem::boundary
|
||||
*
|
||||
* ECLiPSE uses no-flow conditions for all boundaries. \todo really?
|
||||
* Reservoir simulation uses no-flow conditions as default for all boundaries.
|
||||
*/
|
||||
template <class Context>
|
||||
void boundary(BoundaryRateVector& values,
|
||||
@ -1628,8 +1628,7 @@ public:
|
||||
unsigned interiorDofIdx = context.interiorScvIndex(spaceIdx, timeIdx);
|
||||
unsigned globalDofIdx = context.globalSpaceIndex(interiorDofIdx, timeIdx);
|
||||
unsigned pvtRegionIdx = pvtRegionIndex(context, spaceIdx, timeIdx);
|
||||
FaceDir::DirEnum dir = FaceDir::FromIntersectionIndex(indexInInside);
|
||||
const auto [type, massrate] = boundaryCondition(globalDofIdx, dir);
|
||||
const auto [type, massrate] = boundaryCondition(globalDofIdx, indexInInside);
|
||||
if (type == BCType::THERMAL)
|
||||
values.setThermalFlow(context, spaceIdx, timeIdx, boundaryFluidState(globalDofIdx, indexInInside));
|
||||
else if (type == BCType::FREE || type == BCType::DIRICHLET)
|
||||
|
Loading…
Reference in New Issue
Block a user