modelProblem_1
Single species decay
Extends from TRANSFORM.Icons.Example (Icon for runnable examples).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nC | 1 | |
| Integer | nV | 10 | |
| SI.Length | length | 1.0 | |
| SI.Length | dimension | 0.01 | |
| SI.Temperature | T_start | 20 + 273.15 | |
| SI.Pressure | p_start | 1e5 | |
| TRANSFORM.Units.InverseTime[nC] | lambda_i | fill(0.1, nC) | |
| SIadd.ExtraPropertyConcentration[nV,nC] | C_i_start | 1000*ones(nV, nC) | |
| SIadd.ExtraProperty[nV,nC] | Cs_start | {{C_i_start[i, j]/Medium.density_pT(p_start, T_start) for j in 1:nC} for i in 1:nV} | |
| SI.Length[nV] | x | linspace(0, length, nV) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SIadd.ExtraPropertyConcentration[nV,nC] | C_i | ||
| SIadd.ExtraPropertyConcentration[nV,nC] | C_i_basic | ||
| SIadd.ExtraPropertyConcentration[nV,nC] | C_i_analytical | ||
| SIadd.ExtraPropertyFlowRate | mC_gens | {{-lambda_i[j]*pipe.mCs[i, j]*pipe.nParallel for j in 1:nC} for i in 1:nV} | |
| Pipes.GenericPipe_MultiTransferSurface | pipe | ||
| BoundaryConditions.MassFlowSource_T | boundary | ||
| BoundaryConditions.Boundary_pT | boundary1 |
Contents
| Name | Description |
|---|---|