Formulas are one possibility, besides tables, that allow to specify a variable or parameter (velocity, temperature, etc) as a function of other independent variables ( e.g. time or distance). You can add mathematical operations involving different variables, which gives you the chance to easily implement any distribution with no need to add a great number of discrete values in a table.
Not every variable is allowed to be defined as a function of other variables. If formulas are allowed, you can find the icon of a graph next to the variable you want to define.
Once you click on the icon, a dialogue box appears to define the table. However, click on the ‘Formula’ tab next to Table and access the interface where you can input your data as shown below:
Figure 1 shows an example input formula for an inlet velocity boundary condition. Three velocity components can be defined in this case either as a single value or a formula. Different units are available next to each component if desired.
Below it appears the space variables x, y, z or time variable t that can be included in the formula. Following this, all the numbers mathematical operators, and trigonometric, exponential, and logarithmic functions are available to create the formula.
It is also possible to add conditional statements like <, >, = useful for piecewise functions.
Following are some of our tutorials where you can try using the tables feature:
Strictly Necessary Cookies
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.