|
[Sponsors] |
[ANSYS Meshing] Importing Cylinders by Point Data Input with Radii |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 29, 2012, 16:27 |
Importing Cylinders by Point Data Input with Radii
|
#1 |
Member
Brian Henry
Join Date: Aug 2010
Posts: 42
Rep Power: 16 |
Hello, thank you for reading this,
Something I have tried in the past is the importing of point and connectivity data into Ansys using the Formatted Point Input. I can successively import the points easily, but I was wondering if I can progamatically import cylinders using a similar approach. I am doing this in ANSYS ICEM CFD at the moment. I have the beginning point, end point and radii for each segment. When I imported point data before, I built cylinders completely manually, but the tree I have this time is made up of hundreds to thousands of segments, so it would be a lot easier if I could programatically bring them in. I understand this is possible using a TCL script. How would I look into writing one, and where would I execute the script? Thanks for your help! |
|
May 31, 2012, 10:56 |
ICEM CFD Scripting
|
#2 |
Senior Member
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,663
Blog Entries: 1
Rep Power: 47 |
Go to File => Replay Scripts => Replay control and record the steps you want to script... So go into point creation, create your points, then go into surface creation and create cylinders from those points...
Looking at your replay script, you will see the command for each of those operations. For more details about the structure of each command, go to Help => Programmers guide and look them up. Then you can create a replay script using these commands and other tcl logic (some other help is given in the programmers guide) to setup loops, if statements, etc. You can run the script a variety of ways, including in batch. To run it in batch, run icemcfd -batch scriptname.rpl It would be cool if you could post your final script here so people could learn from your experience.
__________________
----------------------------------------- Please help guide development at ANSYS by filling in these surveys Public ANSYS ICEM CFD Users Survey This second one is more general (Gambit, TGrid and ANSYS Meshing users welcome)... CFD Online Users Survey |
|
May 31, 2012, 14:34 |
|
#3 |
Member
Brian Henry
Join Date: Aug 2010
Posts: 42
Rep Power: 16 |
Thank you very much, will take a look in to this!
You are my favorite PSYMN for today. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Transfer output data as input for second calculation | mannobot | Main CFD Forum | 3 | December 7, 2018 10:37 |
input data to a poisson solver | HaKu | Main CFD Forum | 2 | June 11, 2009 23:45 |
Text input commands to add data points | Kathryn | FLUENT | 0 | November 5, 2007 18:38 |
how to create the formatted point data for icemcfd | charles | CFX | 3 | February 28, 2006 21:01 |
CFX4.3 -build analysis form | Chie Min | CFX | 5 | July 13, 2001 00:19 |