|
[Sponsors] |
February 5, 2014, 04:36 |
How to create a multi-region mesh?
|
#1 |
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 18 |
Dear All,
I am trying to run a case, from the mesh to the post-processing phase, using OpenFOAM. What I wanna do, now, is very simple: 1. I create a bigCube using blockMesh. 2. Inside this bigCube I am trying to insert a smallCube. Thanks to topoSet I can "select" the cells I am interested in. The point is that I would like to create a double-region domain. I mean: I wanna call "solid" the smallCube set and "fluid" the bigCube. I have thought something about: Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.2.2 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object topoSetDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // actions ( { name smallCube; type cellZoneSet; action new; source boxToCell; sourceInfo { box (0.8 0 0.1)(1.3 0.25 0.6); } } ); // ************************************************************************* // Thanks a lot, Samuele |
|
February 5, 2014, 08:38 |
|
#2 | |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24 |
look at CHTmultiRegion test cases in OpenFOAM tutorial, you wiil find how define different zone
Quote:
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
||
February 5, 2014, 08:51 |
|
#3 |
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 18 |
Thank you very much. I'll investigate it.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] How can I create prism mesh for a 3D domain surrounded by a torus? | lzgwhy | ANSYS Meshing & Geometry | 5 | May 18, 2017 17:10 |
[snappyHexMesh] SnappyHexMesh for internal Flow | vishwa | OpenFOAM Meshing & Mesh Conversion | 24 | June 27, 2016 08:54 |
[ICEM] Fine mesh of Local block methods. | Sheyko | ANSYS Meshing & Geometry | 0 | January 29, 2014 10:35 |
[Commercial meshers] Using starToFoam | clo | OpenFOAM Meshing & Mesh Conversion | 33 | September 26, 2012 04:04 |
How to control Minximum mesh space? | hung | FLUENT | 7 | April 18, 2005 09:38 |