|September 29, 2011, 15:21||
How could I add in 459 edges as the source of my face size function at once in GAMBIT
Join Date: Mar 2010
Posts: 37Rep Power: 8
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.
|September 30, 2011, 00:47||
Join Date: Mar 2009
Posts: 3,137Rep Power: 32
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
|Thread||Thread Starter||Forum||Replies||Last Post|
|swak4foam building problem||GGerber||OpenFOAM Installation||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 05:37|
|fluent add additional zones for the mesh file||SSL||FLUENT||2||January 26, 2008 12:55|
|Droplet Evaporation||Christian||Main CFD Forum||2||February 27, 2007 07:27|