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
| Type | Name | Default | Description |
|---|---|---|---|
| PDE.FiniteVolume.FVMIntegrator.FVIntegrator | Advection | ||
| PDE.FiniteVolume.Fluxes.UpwindFlux.Upwind | upwindNew | ||
| Modelica.Blocks.Sources.RealExpression[worldModel1.gcl] | BCL | ||
| Modelica.Blocks.Sources.RealExpression[worldModel1.gcr] | BCR | ||
| Modelica.Blocks.Sources.RealExpression | speed | ||
| MOL.Examples.Diffusion.DiffusionIC | diffusionIC | ||
| World.worldModel | worldModel1 |