Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Scripting geometry in ansys workbench

  1. Mar 10, 2014 #1
    How to create a script geometry.
    Is it possible?
    some type?
    I need to create a script to pipe conveyor.
    After entering the input data is created geometry.

    pls help me
     
  2. jcsd
  3. Oct 16, 2014 #2
    Hi

    Please, find a example hereafter:

    /prep7
    csys,0 !default coordinate system
    !first create material + type + real constante
    mp,1 !"mp" command to complete
    et,1,pipe16 !here i chose pipe old element type 16 of version 5.1 (but sometimes I used it for v12 or v14)
    r,1,... !"r" command to complete

    !now the geometry - pipe 1 meter length
    k,1, !"k"command for kpoint kp1 (0,0,0)
    k,2,1, !kp2 (1,0,0)
    L,1,2 !line geometry

    !meshing
    lesize,...!number of elements or length for one element pipe
    latt,1,1,1
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Scripting geometry in ansys workbench
Loading...