Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Problem Specification
1. Create Command Log file
2. Modify Log file - part1
3. Modify Log file - part2
4. Solve
5. Postprocess the results

Step 1: Create Command Log file

ANSYS records every command it executes, whether typed in directly or executed by a function in the Graphical User Interface (GUI), in two places: the session log file (Jobname.log) and the internal database command log. In the case of the Plate with a Hole tutorial, for example, all the commands used to generate the solution were recorded in the session log file (plate.log) and in the database log.

...

This brings up the Write Database Log window. Enter plate2 under Write Database Log to. This is the name of the log/input file we will modify. Select the Write essential commands only option at the bottom, so that only essential commands are included. Click OK.

 
Search for the plate2.lwg file in the directory you specified and open it using notepad. Then save this file as plate2.txt. This is the log/input file we will modify. The list of commands generated is shown below.

...