Create a Model Type that uses multiple Fluid Types in a single model instance
- Last UpdatedSep 10, 2025
- 2 minute read
-
Edit the Model Type to which you want to add multi-component thermodynamics.
-
Expand the Parameters section.
-
Add a new parameter, select the Type list, and select Fluid Type.
-
Name the Parameter; for example, Hot.
-
Add another Parameter, select the Type list, and select Fluid Type.
-
Name the Parameter; for example, Cold.

-
Add the Model Type to your simulation.
-
Right-click the model instance on the Canvas and select Full Properties to display the Properties Inspector.
-
Expand the Parameters section.

-
Beside each parameter, select the Value dropdown menu, expand Fluids and select a Fluid Type.
-
In the Model Editor, expand the Variables section.

-
Add a new variable.
-
Name the Variable; for example, Z.
-
In the Type list, select a Variable Type.
-
In the Dim list, select the appropriate components list (CompList) for each parameter you created; for example, Hot.CompList. This defines Z as an array variable of the Hot.CompList dimension.
The CompList for a Fluid Type is built in the Fluid Editor.