stlbta.blogg.se

Generate ansys apdl commands
Generate ansys apdl commands




I have used recording macro in mechanical scripting to generate the script which gives me the following lines for generating the mesh:ĬurrentSelection = (.SelectionTypeEnum.GeometryEntities)Į(currentSelection)īut when I try to use this script in other simulation it doesn't work.

generate ansys apdl commands

My goal is to write a script for these two tasks. I execute the journal script with the following command line :Ĭ:Program FilesANSYS Incv201FrameworkinWin64>RunWB2.exe -R "C:UsersJSScriptsRunScript.wbjn" -IĬurrently the step 4 which is open mechanical and generate mesh and input file are done manually. Step 1 to 3 I have already automated in the journal script (.wbjn file) which is attached on this post.

generate ansys apdl commands

This last step will generate and input file that I need for running the simulation on a server. Open Mechanical and : click in "Generate mesh" and click in "Write iinput files". The steps I follow to generate the simulation files are the following:Ģ.Import SolidWorks geometry into the project schematicģ.Open SpaceClaim and run script to generate name selections.Ĥ. I'm working on a parametric study where I need to run many simulations of the same geometry but different dimensions.






Generate ansys apdl commands