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

[blockMesh] Solid volume inside computational domain

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 19, 2008, 05:27
Default Solid volume inside computational domain
  #1
Senior Member
 
Francois Beaubert
Join Date: Mar 2009
Location: Lille, France
Posts: 147
Rep Power: 17
francois is on a distinguished road
Hi all,

I've just started to do one simple mesh which contains a solid volume (solid wall) which will be heated inside the computational domain. But I have some problem here figuring how to do this.

To illustrate what I want to achieve I made a picture of a square solid with a square hole in it. This solid volume is inside the computational domain. My configuration is more complex but let's start with an easy one.



The meshing part with blockmesh is easy for me: I have defined the verticies, edges and the different blocks.

But after, how do I define the solid volume with the hole as a wall to impose an heat flux or a temperature on it ?

I already search on the UserGuide, Wiki and Forum with no success. If you have some suggestions which can help me...

thank you very much.
Best regards
Francois
francois is offline   Reply With Quote

Old   November 19, 2008, 09:27
Default Have you defined patches? Patc
  #2
New Member
 
Juan Fernando Duque Lombana.
Join Date: Mar 2009
Posts: 14
Rep Power: 17
juanduque is on a distinguished road
Have you defined patches? Patches are composed by the boundary faces (See Cavity example blockMeshdict, where they define sets of block faces as different patches, E.G fixedWalls, movingWall, etc...). The Block faces you define must comply with the right hand rule and MUST belong to a block.

After you define patches, you can set the proper boundary conditions (for each field) for using with the solver you've chosen.

Hope that helps,
juanduque is offline   Reply With Quote

Old   November 19, 2008, 09:30
Default Hello Francois, I would rec
  #3
Senior Member
 
santos's Avatar
 
Jose Luis Santos
Join Date: Mar 2009
Location: Portugal
Posts: 215
Rep Power: 18
santos is on a distinguished road
Send a message via Skype™ to santos
Hello Francois,

I would recommend you the new meshing utility introduced in OpenFOAM 1.5: snappyHeshMesh. Read its section in the User Guide for indications on how to use it.

You could export your solid volume with the hole as a STL file, using eg. Salome, then snappyHeshMesh would take care of the rest.

Regards,
Jose Santos
santos is offline   Reply With Quote

Old   November 19, 2008, 10:06
Default Thanks Juan and Jose ! It's n
  #4
Senior Member
 
Francois Beaubert
Join Date: Mar 2009
Location: Lille, France
Posts: 147
Rep Power: 17
francois is on a distinguished road
Thanks Juan and Jose !
It's nice from you ...

Jose: Your solution looks very good but I prefer to stay with blockmesh at present time because I have some python scripts which build my blockmesh dict file. Thanks for the advice be sure I will look at your solution when I will have enough time.

Juan: indeed some patches must be defined and my question was how to define those patches in 3D for a solid volume with a hole. I want to do some simulation with coupled heat transfer (take the conduction into account in the solid volume) but don't know where to start or look for.

So if I understand you correctly, I must define a patch (call it square_hole) with all the faces which surround the solid volume. That's all ? After that how can I specify which inner cells belong to the solid volume and which cells are in the fluid region ?

Hope I'm clear and you can understand me.
Anyway thanks for your help and if you have more advices ... they will make me happy !

Thanks again
Regards
francois
francois is offline   Reply With Quote

Old   November 19, 2008, 11:06
Default Francois: As I understand y
  #5
New Member
 
Juan Fernando Duque Lombana.
Join Date: Mar 2009
Posts: 14
Rep Power: 17
juanduque is on a distinguished road
Francois:

As I understand your square-donut is the CFD domain you're trying to analyze. The walls that bound it are the interphase with a solid, am I right?

Yes, to define a patch you must use the faces that define the blocks of your blockmesh (remember, right hand rule is to be applied).

Which solver are you using for the coupled heat transfer problem?

Good luck!
juanduque is offline   Reply With Quote

Old   November 19, 2008, 14:05
Default Hi Juan, Not exactly: the s
  #6
Senior Member
 
Francois Beaubert
Join Date: Mar 2009
Location: Lille, France
Posts: 147
Rep Power: 17
francois is on a distinguished road
Hi Juan,

Not exactly: the square-donut in gray in the solid volume and the cube around it, the fluid region.

I just tried to define a patch with all the faces which surround the solid volume in gray and I'm in trouble here because the faces which are selected are internal faces. See error message below after blockMesh:

Trying to specify a boundary face 4(16 17 21 20) on the face on cell 8 which is either an internal face or already belongs to some other patch.

Don't know what can be done to define such patch/region ??

For the solver I will use for the coupled heat transfer, I saw some posts here on the forum on such a solver perhaps on sourceforge. Don't konow if it's available in OpenFOAM 1.5
francois is offline   Reply With Quote

Old   November 19, 2008, 14:18
Default can you post your blockMeshDic
  #7
New Member
 
Juan Fernando Duque Lombana.
Join Date: Mar 2009
Posts: 14
Rep Power: 17
juanduque is on a distinguished road
can you post your blockMeshDict?
juanduque is offline   Reply With Quote

Old   November 19, 2008, 16:11
Default Yes of course The blockMeshDi
  #8
Senior Member
 
Francois Beaubert
Join Date: Mar 2009
Location: Lille, France
Posts: 147
Rep Power: 17
francois is on a distinguished road
Yes of course
The blockMeshDict I'm working on is with a different geometry: cylindric plate with a hole inside a cylinder. But the problem is the same one.

See picture below



The blockMeshDict is just here:

blockMeshDict
francois is offline   Reply With Quote

Reply


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
Computational domain, lid tool Pawel Zdunek FloEFD, FloWorks & FloTHERM 2 August 16, 2016 12:14
Monte Carlo Simulation: H-Energy is not convergating & high Incident Radiation volleyHC CFX 5 April 3, 2016 05:41
[ICEM] flow inside the solid mesh metmet ANSYS Meshing & Geometry 1 August 31, 2014 08:47
[ICEM] Ignoring body inside fluid domain Bollonga ANSYS Meshing & Geometry 5 January 17, 2014 06:43
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 14:11


All times are GMT -4. The time now is 12:58.