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 input file
2. Modify and read input file

Step 1: Create input file

Generate Clean Version of Log File

Every action taken in the ANSYS GUI has a corresponding text command that is stored in the log file. At the end of step 6 for the original semi-monocoque shell problem, you were asked to create the log file for steps 1-6 by issuing the command Utility Menu > File > Write DB log file. We will create an input file from this log file. Copy this log file to your working folder.

...

Generate a clean version of the log fileshell_step6.lgw for steps 1-6. If you don't have the log file, I'll be nice and give it to you (right-click on this link to download).

Generate Input File from Log File

In your working folder, make a copy of the log file shell_step6.lgw and call it shell_step6.inp. The inp extension signifies that it is an input file. Bring up your pet text editor and load in shell_step6.inp. The top several lines, along with annotations, are shown below:


 

You can run ANSYS in the interactive mode or batch mode (in which you do not use the GUI). By default, ANSYS assumes you'll be running in batch mode; so it'll put a couple of batch-mode commands at the top of your log file. Since we are going to use the input file in the interactive mode, delete the first two commands above (/BATCH and /input) that pertain to the batch mode.

...

In the snippet above, you enter the preprocessor module using the /PREP7 command; this is equivalent to selecting Main Menu>Preprocessor in the GUI. Once you are in the Preprocessor, you can access its utilities such as specifying the element type (ET command). A key thing to remember is that you have to be in the appropriate module (Preprocessor, Postprocessor, etc) to access the corresponding utilities. If you are, say,in the Postprocessor module and try to access a Preprocessor command such as ET, ANSYS won't recognize the command. The Utility menu commands can be accessed from any module.

Go to Semi-Monocoque Shell, Part 2 Step 2: Modify and read input file

See and rate the complete Learning Module

Go to all ANSYS Learning Modules