Skip to content

Specialize SubcellLimiterIDP for certain equations #2455

Open
@patrickersing

Description

@patrickersing

I would like to apply the SubcellLimiterIDP for shallow water equations in TrixiSW. In order to do this I need to modify the blending coefficient alpha computation to set alpha = 1 to have pure FV near dry states and possibly introduce a special version of the idp_local_twosided!.

I think the easiest way to do this would be to just add an additional argument equations to this function

function (limiter::SubcellLimiterIDP)(u::AbstractArray{<:Any, 4}, semi, dg::DGSEM, t,
dt;
kwargs...)
and then use equations::ShallowWaterEquations for dispatch, such that we can create a specialized version.

@bennibolm @amrueda Does this sound good or can someone see a better way to achieve this?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions