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

[ICEM] Troubles with ICEM Hexa scripting

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 13, 2013, 02:02
Default Troubles with ICEM Hexa scripting
  #1
New Member
 
Join Date: Mar 2013
Posts: 1
Rep Power: 0
Yatekii is on a distinguished road
Hey guys!

I am working on a script to enhance the blocking process in icem hexa ..
Maybe you all know the beta feature "3D Key Point Blocking".
It creates a blocking, with yet done blocks, derived from the geometry.
Bad with this feature is the thing, that it does not consider surfaces. just 3D objects.
So I want to enhance this by spliting the edges that are parallel to the surface by the corner points of the surface.
The thing is: I know the corner-point-names plus the curve-name between them. But this is no edge!!
The command to use is "ic_hex_split_grid" but this will just accept the numbers of the points at the ends of the edge and not their names.
I know this sounds like I did no researches at all but in fact I did a lot. Everywhere is written that to start you can just watch the replay. But sorry, the replay is one of the most intransparent things I EVER saw. I mean for sure the engine can form the exact command in Tcl when it knows ALL the information. When you click on an edge it knows like one bilion times more than us.
Maybe I do know too less but at the moment I am kind of disapointed by Tcl because the information I am provided by is so few.

I would be really glad if anyone can help me! Because at the moment I am even reading and encapsuling the .tin geometry file by myself in python, because I was not really able to get the needed information by Tcl.
I know ICEM is really strong on what it does, so it would be very helpful if I could script it properly.

Thanks to everyone and sorry for writing in a little negative attitude, but I had to get rid of this
Cheers
-Yatekii
Yatekii is offline   Reply With Quote

Old   March 14, 2013, 08:04
Default
  #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
Hey Yatekii,

That key point blocking is probably not the best way to start a scripting because you don't know how the blocking will look. You are trying to make a script that is independent of the topology, which is very difficult.

When I script blocking, I use the top down method and make my own splits at points, etc. Since the topology is fixed I always know what edge I need to split next.

There are ways to make topology independent scripts, but you need to use queries to investigate the model. For instance there is a command to find out the location of a point and then there is another command to find the nearest curve or surface to that location. I don't recall if there is a command to find the nearest edge...
__________________
-----------------------------------------
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   April 24, 2013, 10:09
Default
  #3
Senior Member
 
Javi
Join Date: Jan 2013
Posts: 276
Rep Power: 16
FJSJ is on a distinguished road
Quote:
Originally Posted by PSYMN View Post

For instance there is a command to find out the location of a point...
Hi,

I just want to know if "find location" tool is only for the points. I want to make sure about it. Because I´ve been reading the Help Manual and I´ve not found that this tool can measure a "vertex location" too.. but.. when I use this option with any point gives me a small yellow point but when I use it with a vertex gives me a big yellow point. So.. I just want to make sure that gives me the real location of this vertex. Anybody know about it?
Attached Images
File Type: png Picture1.PNG (13.0 KB, 22 views)
FJSJ 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
[ICEM] ICEM Scripting Issues tylerplowright ANSYS Meshing & Geometry 33 September 27, 2021 16:35
[ICEM] ICEM Hexa Meshing Automation Haasini ANSYS Meshing & Geometry 1 April 24, 2012 22:46
ICEM hexa mesh built with v10 deformed in v11 (degenerated edges) cfxicem ANSYS Meshing & Geometry 1 October 14, 2009 15:06
ICEM HEXA - Where to start? flattie CFX 3 May 26, 2009 09:12
ICEM HEXA Grid Manish Phoenics 0 March 12, 2005 05:07


All times are GMT -4. The time now is 15:08.