Synapse enables you to quickly and easily place constraints on physical properties. For example, if we are designing a chemical that should have liquid densities close to those of water, we can quickly enter the following constraints:
Function | Minimum | Goal | Maximum |
---|---|---|---|
f("Density, Liquid - f(T)", 293.15, 0) | 950 | 1000 | 1050 |
f("Density, Liquid - f(T)", 353.15, 0) | 925 | 975 | 1025 |
However, we must often enter more complicated constraints. For example, constraints on ratios of properties, dimensionless numbers (e.g., the Prantl number), or heat transfer coefficients. Thus, each design and selection document contains a Functions chapter. The Functions chapter enables you to construct a design constraint of any complexity needed.
Clicking the left mouse button on the code edit control activates the Code Edit dialog.
The function's code is run for every chemical candidate in a design or selection. For input, the function is given the candidate's name, components, and composition. These input arguments can be accessed by the standard functions shown in the code to the right.
For details on editing function code, see documentation for the Code Edit Dialog.
Clicking the right mouse button within the field's code edit control activates the field's commands menu.
The menu's commands enable you to copy, cut and paste values to and from the data control. See Common Menu Commands for documentation on the commands commonly found on command menus.
In this example we will create a function that will calculate the heat transfer coefficient for a fluid flowing through a tube. This function can be used in a constraint for designing a new solar thermal working fluid.
The heat transfer coefficient is calculated from the dimenionless Nusselt number:
The Nusselt number is calculated from the Dittus-Boelter correlation:
where:
Enter code to declare variables and assign parameter values.
Retrieve data values or estimates for each of the dependent physical properties.
Calculate the Prantl and Reynolds numbers.
Topic | Description |
---|---|
Getting Started using Synapse | provides a quick tour of Synapse's capabilities including examples of chemical product design. |
Designing Chemical Products | a short video demonstrating how to use Synapse to design candidate chemicals that satisfy a set of physical property and molecular structure constraints. |