modelAdvectionLW

Information

Advection equation solved with Lax-Wendroff flux

Implements the advection equation

where c is speed, with the Lax-Wendroff 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
    Modelica.Blocks.Sources.RealExpression[worldModel1.gcl]BCL
    Modelica.Blocks.Sources.RealExpression[worldModel1.gcr]BCR
    Modelica.Blocks.Sources.RealExpressionvelocity
    MOL.Examples.Diffusion.DiffusionICdiffusionIC
    World.worldModelworldModel1
    PDE.FiniteVolume.Fluxes.LaxWendroffFlux.LaxWendrofflW1_1