Scripting geometry in ansys workbench

AI Thread 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
 
Posted June 2024 - 15 years after starting this class. I have learned a whole lot. To get to the short course on making your stock car, late model, hobby stock E-mod handle, look at the index below. Read all posts on Roll Center, Jacking effect and Why does car drive straight to the wall when I gas it? Also read You really have two race cars. This will cover 90% of problems you have. Simply put, the car pushes going in and is loose coming out. You do not have enuff downforce on the right...
Thread 'Physics of Stretch: What pressure does a band apply on a cylinder?'
Scenario 1 (figure 1) A continuous loop of elastic material is stretched around two metal bars. The top bar is attached to a load cell that reads force. The lower bar can be moved downwards to stretch the elastic material. The lower bar is moved downwards until the two bars are 1190mm apart, stretching the elastic material. The bars are 5mm thick, so the total internal loop length is 1200mm (1190mm + 5mm + 5mm). At this level of stretch, the load cell reads 45N tensile force. Key numbers...
I'm trying to decide what size and type of galvanized steel I need for 2 cantilever extensions. The cantilever is 5 ft. The space between the two cantilever arms is a 17 ft Gap the center 7 ft of the 17 ft Gap we'll need to Bear approximately 17,000 lb spread evenly from the front of the cantilever to the back of the cantilever over 5 ft. I will put support beams across these cantilever arms to support the load evenly
Back
Top