Example of Creating a Table for a Profile

This section illustrates how you would go about creating a table for a profile.

Suppose that you must specify a velocity inlet as a function of Z. If you have a few points of data, you can create a table and use it to specify the inlet.

First, create, and save your table file in a typical text editor, specifying the .csv format as the file extension.

Even if you only want calculations in relation to one direction, you need columns that correspond to the two others (or the other in a two-dimensional case). Hence “empty” columns must contain entries of zero.

Next, read the table file into Simcenter STAR-CCM+ using the Tools > Tables node. In this example, the table file is named profile.csv.

Open the Regions > [individual region node] > Boundaries > [individual boundary node] > Physics Values nodes, and select the profile node (Velocity Magnitude in the following screenshot).

Set the Method property to a tabular method (Table (x,y,z) in the following screenshot).

As a result of this action, the method node inside the profile node changes to a tabular method node. Its label matches the selection in the drop-down list, in this case Table (x,y,z). Select that node and set the Table property to the name of your table file. In this example, the name is profile.

Set the Table:Data property to the column of the scalar value, in this case Velocity.

When you use Table (x,y,z) as the tabular method, once you set the Table and Table:Data properties, the other properties for the X, Y, and Z coordinates are read-only, since they map automatically to the columns in your table file with those headings.

This completes the example of setting a profile with tables.