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

[Gmsh] Creating a fluid domain

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 9, 2008, 17:10
Default Creating a fluid domain
  #1
Senior Member
 
Alexandre Pereira
Join Date: Mar 2009
Posts: 155
Rep Power: 17
alexandrepereira is on a distinguished road
Hi Forum,

I am trying to use gmsh as a mesh generator for a specific cfd problem:

Creating an EXTERNAL mesh around a car shape.

My project has been built in a CAD package as an stl.

I can import it inside gmsh, but i do not ( yet ) know how to define a fluid domain inside gmsh but that, is the least of my problems; by what i have seen in the gmsh tutorial, i simply have to define points, edges, and faces sp as to create my rectangular virtual "wind tunnel" with dimensions such as to have the least blockage in my simulations... my worse problem will be how to "subtract" the volume corresponding to my stl car from that of the fluid domain, and then mesh it ( preferably with a boundary layer ) and then impose suitable BCs...

So, I ask you forum:

1. Is it possible to "subtract" a volume defined by an stl boundary from another volume created inside gmsh, or do i have to sculpt and carve the car shape using gmsh scripting language ( a bit untractable i guess ...) ?

2. CFD calculations are critically dependent on appropriately meshing a boundary layer with the due refinement so as to capture the high gradients in that region; is this possible in gmsh ?

3. Should i fail ( hope not ) in my task to use gmsh to build an OpenFOAM mesh to use in my simulation, what would you users suggest me to use as a mesher ? Gridgen, Pointwise, Harpoon, IcemCFD, netgen, tetgen...?

BTW i would like a mesher that best suits my needs in CFD... Boundary layer meshing... etc. what would be yr suggestion?

Thanks in advance,

Alex
alexandrepereira is offline   Reply With Quote

Old   May 11, 2008, 07:47
Default I think you can perform the vo
  #2
New Member
 
Bernd F.
Join Date: Mar 2009
Posts: 18
Rep Power: 17
bernd is on a distinguished road
I think you can perform the volume subtraction using cellSet.
See also http://www.cfd-online.com/OpenFOAM_D...es/1/7543.html

Bernd
bernd is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Centrifugal fan j0hnny CFX 13 October 1, 2019 13:55
Domain Imbalance HMR CFX 5 October 10, 2016 05:57
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) cfdonline2mohsen OpenFOAM 3 October 21, 2013 09:28
injection problem Mark New FLUENT 0 August 4, 2013 01:30
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 09:11


All times are GMT -4. The time now is 16:03.