Preprocessing

Preprocessing

Topics related to geometry, meshing, and CAD.

APDL how to select individual volume after VROTAT command

    • JUNBO YANG
      Subscriber

      I created the 2D schematic shown below and use the left side as the axis to apply VROTAT and got the geometry shown in the second plot.

           

      After VROTAT, I cannot choose individual volumes using Cylindrical coordinates. Volume 1 and 2 stay together and volume 3 and 4 stay together. No matter whether I set the radius as volume 1 or volume 2, it will select both 1 and 2. The same for 3 and 4...     

       

    • JUNBO YANG
      Subscriber
       
      The code is attached. How to decide the offset value? Is there a rule?
      For example, to select 1+2, 'VSEL,S,LOC,X,0,B-S_offset*8' works but 'VSEL,S,LOC,X,0,B-S_offset*7' didn't work.



      FINISH
      /clear
      /prep7

      A=23.5
      B=35
      C=37.5
      D=42

      /VIEW,1,1,1,1
      BLC4,0,0,A,10
      BLC4,0,0,B,10
      BLC4,0,0,C,10
      BLC4,0,0,D,10

      AOVLAP,ALL
      ALLS
      NUMMRG,ALL
      NUMCMP,ALL
      ALLS
      VROTAT,ALL,,,,,,1,4,90

      S_offset=1

      CSYS,5
      VSEL,S,LOC,X,0,A-S_OFFSET*2
      VPLOT

      CSYS,5
      VSEL,S,LOC,X,0,B-S_offset*8
      VPLOT

      CSYS,5
      VSEL,S,LOC,X,0,C-s_offset*8
      VPLOT

      CSYS,5
      VSEL,S,LOC,X,0,D
      VPLOT
Viewing 1 reply thread
  • The topic ‘APDL how to select individual volume after VROTAT command’ is closed to new replies.