CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Mesh Utilities

Geometry Generation In SnappyHexMeshDict

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

LinkBack Thread Tools Display Modes
Old   January 20, 2009, 13:31
Default Hi Christian, in the OF-spi
Senior Member
Henrik Rusche
Join Date: Mar 2009
Location: Braunschweig, Niedersachsen, Germany
Posts: 277
Rep Power: 11
henrik is on a distinguished road
Hi Christian,

in the OF-spirit, the searchable objects are runtime-selectable. Therefore you can create your own, e.g. truckGroup, and link it to the mesh generator at runtime. truckGroup would then read a list of position out of the dictionary.

Alternative, if this stretches your C++ knowledge, I would suggest to use the m4 macro-preprocessor.

henrik is offline   Reply With Quote

Old   January 21, 2009, 06:39
Default Hello Henrik, you are right
New Member
Christian Trapp
Join Date: Mar 2009
Posts: 7
Rep Power: 10
chtrapp is on a distinguished road
Hello Henrik,

you are right, this would be a very good starting point to get into coding my own extensions, since I'm sure that this is a rather simple problem. The m4 option looks to me like the least comfortable solution because as far as I understand m4, getting it to support loops takes some effort.
Anyway, I've heard a rumor that tools for grouping/ replicating geometries in the snappyHexMeshDict have been implemented but not yet documented.

Thanks for your advice, Christian
chtrapp is offline   Reply With Quote


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mesh Generation for Simple geometry chinmay OpenFOAM Mesh Utilities 1 July 11, 2007 06:06
Geometry Error Generation Joe CFX 4 March 15, 2005 23:57
Geometry generation Prospective User CFX 3 February 4, 2002 00:50
Geometry generation Prospective User FLUENT 2 February 2, 2002 20:30
Generation of elliptical geometry Glenn Price FLUENT 4 February 3, 2000 10:19

All times are GMT -4. The time now is 14:48.