12.4.1. Working with Fluent Server-mode Jobs

Engineering Knowledge Manager

User's Guide | Chapter 12: Managing Jobs | 12.4. Monitoring and Controlling Jobs |

12.4. Monitoring and Controlling Jobs |  | 12.4.2. Working with CFX Server-Mode Jobs
Prev |  | Next

### 12.4.1. Working with Fluent Server-mode Jobs

When a job involves Fluent running in server mode, (for example, if you have launched the job using the Fluent Batch job template), the job status window displays case details, parameters (if any) and live monitors. A toolbar is also displayed in the top right corner of the status window. You can use actions on this toolbar to control the Fluent application. Initially, Pause and Interrupt actions are displayed. If you pause the solution, other actions become available. For example, you can open the command window, modify the auto-save frequency, and save changes to the case file in the working directory.

Note: To maximize performance, the job Status updates at regular intervals rather than every second. If a job executes very quickly, you may see the status go right from Queued to Finished on the Status tab.

#### 12.4.1.1. Monitoring a Fluent Solution

As a Fluent solution progresses, live monitors are displayed in the Monitors panel of the Status tab.

Residual monitors are always displayed. Surface monitors or volume monitors may also be displayed if they are defined in the case file.

##### Hiding/Showing Monitors

By default, all available monitors are displayed in the Monitors panel during calculations. You can hide/show monitors by clicking the chart icon in the top right corner of the Monitors panel and disabling/enabling monitor check boxes, as shown in the example below:

Monitors remain displayed in the job view even after a job has been executed, or has failed. They do not remain displayed if you cancel the job.

Note: Monitor data is not overwritten in the monitor data file. Rather, it is appended to the file.

#### 12.4.1.2. Pausing or Interrupting the Fluent Solution

If you have started calculations on a Fluent case, you can pause or interrupt calculations directly from the job monitor in EKM. While a calculation is running, Pause and Interrupt actions appear on the Fluent Actions toolbar:

To pause calculations, click on the Fluent actions toolbar.

When you pause the solution, the toolbar changes to reveal Set Autosave Frequency, Resume, Save, Command Window, and Complete actions:

To interrupt calculations, click on the Fluent actions toolbar. This stops Fluent, and saves a case and data file whose filenames indicate when the solution was stopped. For example, if the input filename is pipe.cas, and the solution is stopped at iteration 80, files named pipe0080.cas and pipe0080.dat will be created in the job working directory. Once these files are saved, Fluent is closed. In the case of transient runs, Fluent will stop after completing the current time step. This operation may take some time depending on the case size and the number of iterations in a time step.

You can subsequently resume a paused solution, or restart a stopped solution if desired. See Resuming or Restarting a Fluent Solution for details.

#### 12.4.1.3. Resuming or Restarting a Fluent Solution

If you have paused or interrupted a Fluent solution, you can resume it by clicking on the Fluent actions toolbar.

When you resume a paused solution, calculations will continue from the point at which they were paused.

When you resume a stopped solution, you will be prompted to specify the desired number of iterations for a steady case, or the number of time steps and time step size for transient case.

#### 12.4.1.4. Setting the Autosave Frequency

For a Fluent server-mode job you can use the Set Autosave Frequency action to specify the desired autosave interval.

1. Use the Fluent actions toolbar to pause or interrupt the solution.

2. Click on the Fluent actions toolbar.

3. In the Set Autosave Frequency dialog box, specify an autosave interval in the edit box:

   - For a steady case, the value for the autosave interval is based on iterations.

   - For a transient case, the autosave interval is based on time steps.

4. Click OK.

#### 12.4.1.5. Specifying Fluent Command Inputs

For a Fluent server-mode job you can enter parameters in a command input window to steer the Fluent solution. The command window is similar to the Fluent console and enables you to execute Fluent text user interface (TUI) commands.

1. Use the Fluent actions toolbar to pause or interrupt the solution.

2. Click to open the command input window.

3. At the prompt, enter the desired command. The appropriate action will occur in Fluent.

4. When finished specifying command inputs, click Close in the command input window.

#### 12.4.1.6. Saving Changes to the Fluent Case File

For a Fluent server-mode job you have the option of saving the Fluent case and data files in the working directory.

1. Use the Fluent actions toolbar to pause or interrupt the solution.

2. Click to save the case and data files in the working directory.

#### 12.4.1.7. Closing a Fluent Server-Mode Job

You can close a Fluent server-mode job using the Complete action on the Fluent actions toolbar. This is equivalent to closing the case and exiting the Fluent application.

1. Use the Fluent actions toolbar to pause or interrupt the solution.

2. Click the Complete button to close Fluent.

3. In the Exit Fluent dialog box, click OK.

   Fluent closes, and the status of the job becomes `Finished`.

Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.

Prev | Up / Contents | Next

Release 18.2 - © ANSYS, Inc. All rights reserved.