There are three ways you can specify transient cell zone and boundary conditions:
transient profile with a format similar to the standard profiles described in Profiles
transient profile in a tabular format
transient profile in comma separated values (CSV) format, as described in CSV Profiles.
Important: For both methods, the cell zone or boundary condition will vary only in time; it must be spatially uniform. However, if the in-cylinder model is activated (In-Cylinder Settings), then you have the option to use the crank angle instead of time. Crank angles can be included in transient tables as well as transient profiles, in a similar fashion to time. Examples of transient profiles and transient tables in crank angle can be found in the sections that follow.
For information about boundary profiles, refer to Reading and Writing Profile Files.
The format of the standard transient profile file (based on the profiles described in Profiles) is
((profile-name transient n periodic?) (field_name-1 a1 a2 a3 .... an) (field_name-2 b1 b2 b3 .... bn) . . . . (field_name-r r1 r2 r3 .... rn))
The profile name as well as the field names have to be shorter than 64 characters. One of the field_name
s
should be used for the time
field, and the time
field section
must be in ascending order. n is the number of entries per field. The periodic?
entry
indicates whether or not the profile is time-periodic. Set it to 1
for a time-periodic profile, or
0
if the profile is not time-periodic.
An example is shown below:
((sampleprofile transient 3 0) (time 1 2 3 ) (u 10 20 30 ) )
This example demonstrates the use of crank angle in a transient profile
((example transient 3 1) (angle 0.000000e+00 1.800000e+02 3.600000e+02) (temperature 3.000000e+02 5.000000e+02 3.000000e+02) )
Important: All quantities, including coordinate values, must be specified in SI units because Ansys Fluent does not perform unit
conversion when reading profile files. Also, profile names must have all lowercase letters (for example,
name
). Uppercase letters in profile names are not acceptable.
You can read this file into Ansys Fluent using the Profiles Dialog Box or the File/Read/Profile... ribbon tab item.
Setup → Cell Zone Conditions → Profiles...
Setup → Boundary Conditions → Profiles...
File → Read → Profile...
See Using Profiles for details.
The format of the tabular transient profile file is
profile-name n_field n_data periodic? field-name-1 field-name-2 field-name-3 .... field-name-n_field v-1-1 v-2-1... ... ... ... v-n_field-1 v-1-2 v-2-2... ... ... ... v-n_field-2 . . . . . v-1-n_data v-2-n_data ... ... ... ... v-n_field-n_data
The first field name (for example field-name-1
) should be used for the time
field,
and the time
field section, which represents the flow time, must be in ascending order.
The periodic?
entry indicates whether or not the profile is time-periodic. Set it to
1
for a time-periodic profile, or 0
if the profile is not time-periodic.
An example is shown below:
sampletabprofile 2 3 0 time u 1 10 2 20 3 30
This file defines the same transient profile as the standard profile example above.
If the periodicity is set to 1
, then n_data
must be the number that closes one
period.
An example is shown below:
periodtabprofile 2 4 1 time u 0 10 1 20 2 30 3 10
The following example uses crank angle instead of time:
example 2 3 1 angle temperature 0 300 180 500 360 300
Important:
All quantities, including coordinate values, must be specified in SI units because Ansys Fluent does not perform unit conversion when reading profile files. Also, profile names must have all lowercase letters (for example,
name
). Uppercase letters in profile names are not acceptable. When choosing the field names, spaces or parentheses should not be included.Some file formats may not be read into Fluent correctly (for example, UCS-2). If your file is not read correctly, copy the contents into a text editor (Notepad++/VIM/Notepad) and save it. This updated version of your profile is now readable in Fluent.
You can read this file into Ansys Fluent using the read-transient-table
text command.
file
→ read-transient-table
After reading the table into Ansys Fluent, the profile will be listed in the Profiles Dialog Box and can be used in the same way as a boundary profile. See Using Profiles for details.
You can use profiles to specify position, velocity, and angular velocity. There are two different valid profile formats for moving and deforming mesh cases.
profile-name n_field n_data periodic? field-name-1 field-name-2 field-name-3 .... field-name-n_field v-1-1 v-2-1... ... ... ... v-n_field-1 v-1-2 v-2-2... ... ... ... v-n_field-2 . . . . . v-1-n_data v-2-n_data ... ... ... ... v-n_field-n_data
and
((profile-name transient n periodic?) (field_name-1 a1 a2 a3 .... an) (field_name-2 b1 b2 b3 .... bn) . . . . (field_name-r r1 r2 r3 .... rn))
You must use the appropriate variable nomenclature when writing your profile so that Fluent can properly interpret your inputs.
For position, use x
, y
, and z
. For specifying velocity,
use v_x
, v_y
, and v_z
. Similarly, for angular velocity, use
omega_x
, omega_y
, and omega_z
.