blockUpwind
Extends from Icons.BlockIcon5.
Information
Implements the upwind flux: Fi-1/2 = uQi-1 if u > 0 and Fi-1/2 = uQi otherwise.
By using this flux the average update rule becomes
if u > 0, and
otherwise.
Release Notes:
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | n | worldModel1.n | |
| Integer | gcl | worldModel1.gcl | |
| Integer | gcr | worldModel1.gcr |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput[worldModel1.n + worldModel1.gcr + worldModel1.gcr] | u | ||
| Modelica.Blocks.Interfaces.RealOutput[worldModel1.n + 1] | y | ||
| Modelica.Blocks.Interfaces.RealInput | u1 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| PDE.World.worldModel | worldModel1 |