modelDiffusionGaussian
Extends from Modelica.Icons.Example (Icon for runnable examples).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | N | 22 | Number of layer |
| Modelica.SIunits.Length | L | 2 | length of the domain |
| Real | dx | L/N | |
| Real[N + 2] | x | cat(1, {0.0}, linspace(dx/2, L - dx/2, N), {L}) | |
| Real[N + 2] | xbis | cat(1, {0.0}, linspace(dx/2, L - dx/2, N), {L}) | |
| Modelica.SIunits.DiffusionCoefficient | Dth | 1 | |
| Modelica.SIunits.Time | t_0 | 1e-3 | Initial time to avoid divisions by zero |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | u_1order | ||
| Real | u_analytic | ||
| TAeZoSysPro.PDE.ThermalDiffusion.CentralSecondOrder | centralSecondOrder |