CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   ANSYS Meshing & Geometry (http://www.cfd-online.com/Forums/ansys-meshing/)
-   -   How could I add in 459 edges as the source of my face size function at once in GAMBIT (http://www.cfd-online.com/Forums/ansys-meshing/92946-how-could-i-add-459-edges-source-my-face-size-function-once-gambit.html)

sosososo1114 September 29, 2011 15:21

How could I add in 459 edges as the source of my face size function at once in GAMBIT
 
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.

-mAx- September 30, 2011 00:47

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
http://www.cfd-online.com/Forums/mem...fice-plate.jpg


All times are GMT -4. The time now is 20:19.