modelAdvectionUpwind

Information

Advection equation solved with Upwind flux

Implements the advection equation

where c is speed, with the Upwind numerical flux. The initial condition is

and boundary condition at the left is

The analytical solution of this problem is implemented in AdvectionAnalytic block

Release Notes:

    Components

    TypeNameDefaultDescription
    PDE.FiniteVolume.FVMIntegrator.FVIntegratorAdvection
    PDE.FiniteVolume.Fluxes.UpwindFlux.UpwindupwindNew
    Modelica.Blocks.Sources.RealExpression[worldModel1.gcl]BCL
    Modelica.Blocks.Sources.RealExpression[worldModel1.gcr]BCR
    Modelica.Blocks.Sources.RealExpressionspeed
    MOL.Examples.Diffusion.DiffusionICdiffusionIC
    World.worldModelworldModel1