CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > ANSYS Meshing & Geometry

[ANSYS Meshing] Importing Cylinders by Point Data Input with Radii

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 29, 2012, 16:27
Default Importing Cylinders by Point Data Input with Radii
  #1
Member
 
Brian Henry
Join Date: Aug 2010
Posts: 42
Rep Power: 16
EphemeralMemory is on a distinguished road
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!
EphemeralMemory is offline   Reply With Quote

Old   May 31, 2012, 10:56
Default ICEM CFD Scripting
  #2
Senior Member
 
PSYMN's Avatar
 
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,663
Blog Entries: 1
Rep Power: 47
PSYMN has a spectacular aura aboutPSYMN has a spectacular aura about
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
PSYMN is offline   Reply With Quote

Old   May 31, 2012, 14:34
Default
  #3
Member
 
Brian Henry
Join Date: Aug 2010
Posts: 42
Rep Power: 16
EphemeralMemory is on a distinguished road
Thank you very much, will take a look in to this!

You are my favorite PSYMN for today.
EphemeralMemory is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 02:45.