blockIntegrator
Extends from Icons.BlockIcon1.
Information
The Flux Limiter Integrator takes as input the fluctuation matrices A+ and A-, initial condition matrix IC and two boundary condition matrices gcl and gcr.
As output it computes the cell averages at the next time step by using the formula
where
are the sum of all right-going waves, respectively left-going waves, from the interfaces xi-1/2.
Release Notes:
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | n | worldModel1.n | |
| Integer | m | worldModel1.m | |
| Integer | vb | gcl + 1 | |Unknowns| The left most unknown |
| Integer | ve | gcl + worldModel1.n | |Unknowns| The right most unknown |
| Integer | icb | gcl + 1 | |Initial Condition| Begin of the initial condition |
| Integer | ice | gcl + worldModel1.n | |Initial Condition| End of the initial condition |
| Integer | bcl | 1 | |Boundary Conditions| Boundary condition at the left (0: no; 1: yes) |
| Integer | bcr | 1 | |Boundary Conditions| Boundary condition at the right (0: no; 1: yes) |
| Integer | gcl | 2 | |Boundary Conditions| Number of ghost cells at the left |
| Integer | gcr | 2 | |Boundary Conditions| Number of ghost cells at the right |
| Real | delta_x | 1/n | |
| Integer | index | 1 |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput[worldModel1.m,worldModel1.n + 1] | u | ||
| Modelica.Blocks.Interfaces.RealInput[worldModel1.m,worldModel1.n] | u1 | ||
| Modelica.Blocks.Interfaces.RealOutput[worldModel1.m,worldModel1.n + worldModel1.gcl + worldModel1.gcr] | y | ||
| Modelica.Blocks.Interfaces.RealInput[worldModel1.m,worldModel1.gcl] | u2 | ||
| Modelica.Blocks.Interfaces.RealInput[worldModel1.m,worldModel1.gcr] | u3 | ||
| Modelica.Blocks.Interfaces.RealInput[worldModel1.m,worldModel1.n + 1] | u4 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| PDE.World.worldModel | worldModel1 | ||
| Real[m,n + gcl + gcr] | q |