|
|
To solve a transient problem, you will follow the procedure outlined below:
General
Solution Methods
If you are using the pressure-based solver, select PISO from the Scheme drop-down list in the Pressure-Velocity Coupling group box. To increase the speed of the calculations, you may need to modify the parameters related to the PISO scheme from their default values. See Section 26.3.1 for more information about the optimal use of the PISO algorithm.
|
|
If you are using the LES turbulence model with small time steps, the PISO scheme may be too computationally expensive. It is therefore recommended that you select
SIMPLE or
SIMPLEC instead of
PISO.
|
|
|
It is best to select the
Coupled pressure-velocity coupling scheme if you are using large time steps to solve your transient flow, or if you have a poor quality mesh.
|
Next, specify the desired Transient Formulation. The First Order Implicit formulation is sufficient for most problems. If you need improved accuracy, you can use the Second Order Implicit formulation instead. The Explicit formulation (available only for the density-based solver) is used primarily to capture the transient behavior of moving waves, such as shocks. For details, see this section in the separate Theory Guide.
When using the pressure-based solver, you have the additional options of selecting Non-Iterative Time Advancement and Frozen Flux Formulation for your time-dependent flow calculations (see this section and this section in the separate Theory Guide , respectively). Note that the latter option is only available for single-phase transient problems that do not use a moving/deforming mesh model.
Monitors
Statistic
Edit...
Make sure that the desired item is selected from the Statistics selection list ( time for the current time or delta_time for the current time step size) and enable the Print option. When ANSYS FLUENT prints the residuals to the console window at each iteration, it will include a column with the current time or the current time step size.
Solution Initialization
You can also read in a steady-state data file to set the initial conditions.
File
Read
Data...
Calculation Activities(
Autosave Case/Data)
Edit...
See Section 4.3.4 for details about automatic file saving.
The Calculation Activities task page also allows you to export solution and particle history data during the transient calculation. See Section 4.16 for details.
If you want to create a graphical animation of the solution over time, you can use the Solution Animation dialog box to set up the graphical displays that you want to use in the animation. See Section 26.16 for details.
You may also want to request automatic execution of other commands using the Execute Commands dialog box. See Section 26.14 for details.
Note that the Extrapolate Variables option is not available if you are employing either the NITA scheme with the pressure-based solver or the explicit formulation with the density-based solver.
|
|
If you use the
Extrapolate Variables option when modeling an incompressible flow with the density-based solver, it is recommended that you disable the extrapolation of pressure values. After you have enabled the
Extrapolate Variables option, type the following text command in the console window:
|
> solve/set/extrapolate-eqn-vars/pressure Extrapolate Pressure? [yes] no |
Run Calculation
Enabling this option will allow you to display and report both the mean and the root-mean-square (RMS) values, as described in Section 26.12.4.
To select the variables for which you want to collect statistics, click the sampling Options... button.
Run Calculation
Sampling Options...
|
|
Note that gathering data for time statistics is not meaningful inside a moving cell zone (e.g., a sliding zone in a sliding mesh problem, a moving zone in a dynamic mesh problem).
|
Solution Initialization
Reset Statistics
Note that you can also reset the flow statistics after you have gathered some data for time statistics. If you perform, say, 10 time steps with the Data Sampling for Time Statistics option enabled, check the results, and then continue the calculation for 10 more time steps, the time statistics will include the data gathered in the first 10 time steps unless you reinitialize the flow statistics.
Run Calculation
Solution parameters for the implicit transient formulations are as follows:
For time-periodic calculations, you should choose the time step based on the time scale of the periodicity. For a rotor/stator model, for example, you might want 20 time steps between each blade passing. For vortex shedding, you might want 20 steps per period.
To verify that your choice for
was proper after the calculation is complete, you can plot contours of the Courant number within the domain. To do so, select
Velocity... and
Cell Courant Number from the
Contours of drop-down lists in the
Contours dialog box. For a stable, efficient calculation, the Courant number should not exceed a value of 20-40 in most sensitive transient regions of the domain.
To have ANSYS FLUENT modify the size of the time step as the calculation proceeds, select Adaptive and click the Settings... button to specify the parameters in the Adaptive Time Step Settings dialog box. See Section 26.12.2 for details.
For transient volume of fluid (VOF) calculations that use the explicit scheme of VOF, you can select the Variable time stepping method. The parameters set through the Parameters... button are in many ways the same as for the adaptive time stepping method, with the exception of specifying a global Courant number (see Section 26.12.3).
Note that with the Adaptive or Variable time stepping method, the value you specify for the Time Step Size will be the initial size of the time step. As the calculation proceeds, the Time Step Size shown in the Run Calculation task page will be the size of the current time step.
As it calculates a solution, ANSYS FLUENT will print the current time at the end of each time step.
Solution Controls
If you have modified the parameters, you can click the Default button to retrieve the default settings.
Run Calculation
Remember that when the explicit transient formulation is used, each iteration is a time step. When ANSYS FLUENT prints the residuals to the console windows, it will include a column with the current time (if you requested this in step 4, above).
File
Write
Data...
Additional Inputs
The procedures for setting the reporting interval, updating UDF profiles, interrupting iterations, and resetting data are the same as those for steady-state calculations. See Section 26.11 for details.
|
|
If you are using a user-defined function in your time-dependent calculation, note that, in addition to being updated after every
|