Scripting geometry in ansys workbench

Click For Summary
Creating scripted geometry in ANSYS Workbench is feasible, particularly for applications like a pipe conveyor. Users can utilize commands in the scripting environment, such as /prep7 for preprocessing and defining material properties with commands like mp and et. The example provided demonstrates how to set up a coordinate system, define a pipe element type, and create a simple 1-meter length pipe geometry using keypoints and lines. Additionally, meshing can be specified with commands like lesize and latt to control element distribution. This approach allows for automated geometry creation based on input data.
00sorty00
Messages
2
Reaction score
0
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
 
Engineering news on Phys.org
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
 
Had my central air system checked when it sortta wasn't working. I guess I hadn't replaced the filter. Guy suggested I might want to get a UV filter accessory. He said it would "kill bugs and particulates". I know UV can kill the former, not sure how he thinks it's gonna murder the latter. Now I'm finding out there's more than one type of UV filter: one for the air flow and one for the coil. He was suggesting we might get one for the air flow, but now we'll have to change the bulb...

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
6K
  • · Replies 7 ·
Replies
7
Views
16K
  • · Replies 1 ·
Replies
1
Views
7K
  • · Replies 11 ·
Replies
11
Views
12K
Replies
1
Views
7K
Replies
1
Views
6K