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

How could I add in 459 edges as the source of my face size function at once in GAMBIT

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 29, 2011, 15:21
Default How could I add in 459 edges as the source of my face size function at once in GAMBIT
  #1
Member
 
Hongjin Wang
Join Date: Mar 2010
Posts: 37
Rep Power: 16
sosososo1114 is on a distinguished road
Dear all:

I have a 3d model of perforated plate with 459 small holes. I need to set up a size function to mesh the upper surface of the plate with useing the edge of the holes as sources. But there are 459 edges and unfurtainatley they are not named continously as edge.1 edge.2 . In face they are named as "edge.1" "edge.3"..... So how could I add these 459 edges as the source of my size function at once? Is there any idea? I do not want to add them by hand one by one since I am in faction working on geometery optimzation which means I may rebuild the geometery later and I have to do the same work several times.

Also I wrote a journal like this:

sfunction create edgesource (a[1:459]) growthrate 1.2 max size 3.5 attech surface "face.660"

but unluckly it does not work. the system said syntex error......

Thanks for any hints.
sosososo1114 is offline   Reply With Quote

Old   September 30, 2011, 00:47
Default
  #2
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
can you post a picture of your plate, just to see how it looks like (especially holes number and holes diameter).
Do you still have one volume, or do you already proceed some volume decomposition? I advice you to isolate all your holes for better meshing them (min. 8 cells in diameter is recommended), then size function with holes-volume as source
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- 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
[swak4Foam] swak4foam building problem GGerber OpenFOAM Community Contributions 54 April 24, 2015 16:02
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 04:37
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55
Droplet Evaporation Christian Main CFD Forum 2 February 27, 2007 06:27


All times are GMT -4. The time now is 18:00.