CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Mesh Utilities

Geometry Generation In SnappyHexMeshDict

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 20, 2009, 13:31
Default Hi Christian, in the OF-spi
  #1
Senior Member
 
Henrik Rusche
Join Date: Mar 2009
Location: Braunschweig, Niedersachsen, Germany
Posts: 275
Rep Power: 9
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
henrik is offline   Reply With Quote

Old   January 21, 2009, 06:39
Default Hello Henrik, you are right
  #2
New Member
 
Christian Trapp
Join Date: Mar 2009
Posts: 7
Rep Power: 8
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

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


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 05:16.