modelSimpleAdvection
Basic thermal advection model with uniform speed
Information
This models solves the temperature advection problem represented by the following PDEs by means of the finite volume method.


The boundary condition at the inlet Tin and the fluid speed u are specified by suitable binding equations.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | N | 2 | Number of nodes |
| Modelica.Units.SI.Temperature[N] | Tstart | ones(N)*300 | Start value of the temperature distribution |
| Modelica.Units.SI.Length | L | 10 | Pipe length |
| Modelica.Units.SI.Length | l | L/N | Length of one volume |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Velocity | u | 1 | Fluid speed |
| Modelica.Units.SI.Temperature | Tin | 300 | Inlet temperature |
| Modelica.Units.SI.Temperature[N] | T | Node temperatures | |
| Modelica.Units.SI.Temperature[N - 1] | Ttilde | Temperature states | |
| Modelica.Units.SI.Temperature | Tout |