CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Meshing Format & General Technical

General meshing-question for simple (thermal) problem

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

LinkBack Thread Tools Display Modes
Old   October 13, 2009, 12:55
Default General meshing-question for simple (thermal) problem
Join Date: Jun 2009
Location: Germany
Posts: 38
Rep Power: 10
suitup is on a distinguished road
Hello, i'm really new at cfd, so i've a general questions about meshing.

(I'm working with salome.)

I wanna simulate a simple thermal problem: a solid cube with a heat-source in a bigger cube, the bigger cube should be a fluid (e.g. simple air)

My idea is, that i create two cubes and each cube has an 3D-Mesh. Both are volume- solids in salome, the smaller one should be a real solid and the other one should be later declared in OF as fluid.

Is it the right way?


PS: How can I create the inner cube without overlapping with the mesh of the "air"-cube? Creating the little cube using the cutting-function to cut the form out of the bigger cube and then creating a new small cube, or is there an easier way?

Last edited by suitup; October 13, 2009 at 12:57. Reason: spelling
suitup is offline   Reply With Quote

Old   November 26, 2010, 17:15
New Member
Thomas Walsh
Join Date: Nov 2010
Posts: 18
Rep Power: 9
thomasnwalshiii is on a distinguished road
i believe the easiest way to do this would be to just use the blockmesh tool within OpenFOAM. Take a look at the chtMultiRegionFoam tutorial cases. change the initial blockmesh boundary file to correspond with your larger box (the air) and change the setset file to make the inside box (your solid). you will then have to go through and correct all the boundary conditions. Once you gemoetries increase in complexity you will probably have to switch to the snappyhexmesh tool or import meshes from other software packages.

as for importing multiple meshes from salome i think you are on the right path with creating two separate meshes. if you mesh the contacting surfaces (2-D sub-mesh) first i believe that the two surface meshes will align to each other. you will then have to suck the two files into one openfoam case. I am currently attempting to do this and will post my results if i am successful. if anyone has any step-by-step processes for this it would be very helpful to see.

thomasnwalshiii is offline   Reply With Quote

Old   July 26, 2012, 19:45
Post suitup:
New Member
Join Date: Feb 2012
Posts: 4
Rep Power: 7
raniisc14 is on a distinguished road
suitup: have a look at the *.setSet file in chtMultiRegionSimpleFoam may answer your question...not sure myself
raniisc14 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
problem in meshing - urgent ! help please khairul hadi FLUENT 3 August 21, 2008 11:42
Meshing problem Sanjay Jain FLUENT 2 April 7, 2008 10:37
Meshing problem Sanjay Jain FLUENT 6 April 5, 2008 09:51
Simple Meshing Problem with Gambit Mario FLUENT 4 April 18, 2003 09:52
Question concerning about unsteady problem.... ghlee Main CFD Forum 6 October 2, 1998 05:36

All times are GMT -4. The time now is 22:51.