You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Remaining case: _velocity is empty and _crossSection <= 0.0
376
378
// _curVelocity is goverend by network flow rate provided in setFlowRates().
377
379
// Direction never changes (always forward, that is, _dir = 1)-
@@ -517,12 +519,11 @@ int AxialConvectionDispersionOperatorBaseDG::residualImpl(const IModel& model, d
517
519
518
520
if (_OSmode == 2 && _maxBlending > 0.0) // Element-wise lower order subcell FV blending for advection, treat dispersion with high order DG.
519
521
subcellFVconvectionIntegral<StateType, ResidualType, ParamType>(_troubledCells + comp, y + offsetC() + comp, res + offsetC() + comp);
520
-
521
522
// else if (_OSmode == 3) // todo ? subcell limiting with subelement-wise blending
522
523
523
524
elseif (_OSmode == 4) // Subcell FV for both, advection and dispersion and without blending, i.e. pure FV // todo enable blending? -> ensure mass conservation for dispersive flux across DG elements
524
525
{
525
-
subcellFVconvDispIntegral<StateType, ResidualType, ParamType>(1.0, y + offsetC() + comp, res + offsetC() + comp, d_ax);
// By leaving the following out, the surface integral computes B (h^* - \hat{h}) with \hat{h} = h - \alpha u c, i.e. \hat{h} equals the substitute h minus the subcell (convection) part.
574
+
// This way we can leave out any interface flux computations at DG-element boundaries in the subcell FV scheme.
0 commit comments