The Generate Chemistry Wizard can be used to directly create a Chemistry physics interface from an existing Thermodynamics System node. The resulting Chemistry interface is automatically populated with the selected species, and is set up to be fully coupled to the thermodynamics. This means for example that functions for mixture properties, like the density enthalpy, are automatically defined and used in the generated Chemistry interface.
The Generate Chemistry Wizard contains the following steps:
Select the species to be included in the list. Use the Add All button (
) to add all species in the thermodynamic system. It is also possible to select a subset of the available species. In that case use the
Add Selected button (
) to add species. The
Selected species table is updated as you add species.
Click the Next button (
) to proceed to the next step in the wizard.
The table at the top shows the selected species and their respective chemical formula. For each species, a corresponding Species feature will be added in the Chemistry interface. As an option, use the Name in Chemistry columns to specify another name of the species in Chemistry. This means that the species name could be different in Thermodynamics and Chemistry for a species. By default the chemical formula is used.
Use the Component list to select the model component to which the Chemistry interface will be added. The already existing components are shown in the top of the list. A new component can be created by selecting the desired space dimension.
The Mass transfer list controls the intended mixture type for the Chemistry interface. Select
Diluted species to model a mixture where the species are assumed diluted in a high concentration solvent. For this choice, also select
Solvent. Optionally, select
Concentrated species to model a mixture where all species are assumed to contribute to the mixture properties. In the resulting Chemistry interface the
Type setting in the Mixture Properties section is defined accordingly.
Select the Phase of the mixture from the Phase list. Included in the list are the phases available in the Thermodynamic System from which the Chemistry is generated.
Click the Finish button (
) to create the desired Chemistry physics interface and exit the wizard.