modelAdvectionGaussian
Extends from Modelica.Icons.Example (Icon for runnable examples).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | N | 30 | number of discrete node |
| Real | std_dev | 0.05 | |
| Modelica.SIunits.Length | L | 1 | length of the domain |
| Real | dx | L/(N + 1 - 1) | |
| Real[N] | x | linspace(dx/2, L - dx/2, N) | |
| Real[N] | x_bis | linspace(dx/2, L - dx/2, N) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Velocity | Vel | Displacemement velocity | |
| Real | u_1order | ||
| Real | u_analytic | ||
| Real | positionMean | ||
| Transport.UpwindFirstOrder | upwindFirstOrder | ||
| Modelica.Blocks.Sources.Pulse | pulse_velocity |