Вы находитесь на странице: 1из 7

Patran Neutral Files from

Patran, Cubit, FEMAP, … to


WARP3D
Mark A. Messner
Robert H. Dodds, Jr.
Last Update: April 20, 2017
Overview
1. Create Patran neutral file for model using Cubit, Patran, FEMAP or other
programs that produce a Patran style neutral file (a flat text file)

2. Neutral file format: http://tinyurl.com/kh5lza4

3. (Option) run pid2cid Python script on neutral file produced by Cubit (part of
WARP3D distribution)

4. Run patwarp program (provided with WARP3D) to convert neutral file into
WARP3D input file (text file)

5. Edit WARP3D input as needed to finalize material definitions, element options,


solution parameters, compute, output, restart commands

6. See the WARP3D to ParaView workflow slides for post-processing

2 2/10/2015
Make Model in Cubit
• Must include all elements in a block
§ Recommendation: create one block for
each different material, add all elements
which will have that material to the block
§ Each block will be grouped separately in
eventual WARP3D input file ….

Elements in block #1
elements
1-400 type l3disop material xxx
401-2000 type l3disop material yyy

Elements in block #2

3 2/10/2015
Export to Patran Neutral File
• File -> Export
• Export all blocks
• Export all boundary conditions,
loadings, sidesets, and nodesets
if you have any

4 2/10/2015
(Optional) Run pid2cid
• If you have more than one block (material) in your Cubit
model
• Run Patran neutral file through pid2cid Python script
./pid2cid cubitoutput.out > newneutral.out

• Fixes neutral file so patwarp can group elements having


the same material
• pid2cid.py is located in the patwarp directory of the
WARP3D distribution

5 2/10/2015
Run patwarp
• Run patwarp as usual (Appendix C, User Guide)
• Follow prompts for various options
• Recommend to use automatic blocking option (for
threads-only parallel execution)

Linux:
$WARP3D_HOME/run_linux_em64t/patwarp.go

MacOS:
$WARP3D_HOME/run_mac_os_x/patwarp.go

Windows:

$WARP3D_HOME/run_windows_64/patwarp_windows.exe

6 2/10/2015
Edit WARP3D Input File
• Modify default values of material properties, change element
options, add load step definitions, change default values of
nonlinear solution parameters, add restart commands
• See the WARP3D to ParaView notes for a post-processing

7 2/10/2015

Вам также может понравиться