Scripting geometry in ansys workbench

Click For Summary
SUMMARY

This discussion focuses on scripting geometry in ANSYS Workbench, specifically for creating a pipe conveyor. Users can automate geometry creation by entering input data, which generates the desired structure. The example provided utilizes the /prep7 command, defines a coordinate system, and employs the pipe element type 16 from version 5.1, demonstrating the process of defining key points and lines for geometry creation. Meshing techniques are also briefly mentioned, highlighting the importance of element sizing.

PREREQUISITES
  • Familiarity with ANSYS Workbench interface
  • Understanding of scripting commands in ANSYS, particularly /prep7
  • Knowledge of element types, specifically pipe element type 16
  • Basic concepts of meshing in finite element analysis
NEXT STEPS
  • Explore advanced scripting techniques in ANSYS Workbench
  • Learn about defining custom materials and real constants in ANSYS
  • Research best practices for meshing in ANSYS, focusing on element size optimization
  • Investigate the differences between various ANSYS versions, particularly v5.1, v12, and v14
USEFUL FOR

Engineers and designers working with ANSYS Workbench, particularly those involved in automation of geometry creation and finite element analysis for piping systems.

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
 

Similar threads

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