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

[ICEM] ic_geo_surface_get_objects

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   October 17, 2014, 11:00
Default ic_geo_surface_get_objects
  #1
Senior Member
 
François Grégoire
Join Date: Jan 2010
Location: Laval University, Canada
Posts: 366
Rep Power: 8
macfly is on a distinguished road
Hi,

I can't get the geometry function ic_geo_surface_get_objects surface type [embedded_points] to work. I tried all the types (surface, curve, point, material, loop, density) and I always get the following error message (box8.00 is the name of a given surface):
Error: bad object type "'surface'" for surface "box8.00"

Moreover, I have no idea of what I'm supposed to do with [embedded_points]??
macfly is offline   Reply With Quote

Old   October 17, 2014, 16:34
Default
  #2
Member
 
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 92
Rep Power: 7
bluebase is on a distinguished road
Hi François,

i don't have an idea to what valid values are accepted. I think "embedded_points" is just the standard value for types.

There is a chance that you're looking for a function to get the boundary curves of a surface or boundary points of curves. If that's the case, have a look at ic_geo_boundary.

Quote:
args: should be "ic_geo_boundary type ?names? ?outer? ?even_if_dormant? ?embedded?"

## Return what objects of lower dimensionality are the boundary of this one.
## Points are the boundary of curves and curves are the boundary of surfaces
## and loops. The list returned has a sublist foreach element in <em>names</em>
## such that {{c00 c01} {c10 c11} ...}, unless names is one elment, in which
## case the returned list goes as: "c00 c01".
## <i>names</i> may be one name, or a list of names
## <i>outer</i> may be 0 or 1, indicating what kind of boundaries
## <i>even_if_dormant</i> may be 0 or 1, indicating which additional boundaries
## <i>embedded</i> may be 0 or 1, indicating which additional boundaries
type should be the type of the parent entity

Code:
ic_geo_boundary surface s.c.wll.inl.1
Result: c.wll.inl c.p.wll.inl.1 c.wll.inl.2 c.p.wll.inlvrd.1 

ic_geo_boundary curve c.wll.inl
Result: p.wll.inlvrd.1 p.wll.inl.1
with regards,
Sebastian
bluebase is offline   Reply With Quote

Old   October 17, 2014, 16:55
Default
  #3
Senior Member
 
François Grégoire
Join Date: Jan 2010
Location: Laval University, Canada
Posts: 366
Rep Power: 8
macfly is on a distinguished road
Hi Sebastian,

Yes I'm looking for a function that will get some boundary coordinates of a given surface. I want to locate all surfaces and group them in different parts.

Thanks for ic_geo_boundary, I might use it eventually. I found ic_geo_get_srf_pos which gets the coordinates at a surface parameter, I think it's the simplest way to go.

Thanks for your input,
Regards
macfly is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 22:37.