Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Panel

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.

...

After completing the Plate with a Hole tutorial, create the Database log file.

Utility Menu > File > Write DB log file

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.

...

We can now use this file as a starting point. We will modify these commands to solve our problem.

Go to Step 2: Modify Log file - part1

Go to all ANSYS Learning Modules