CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

How to create a multi-region mesh?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By nimasam

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 5, 2014, 04:36
Default 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
samiam1000 is on a distinguished road
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);
        }
    }

);

// ************************************************************************* //
But once I have the set, how can I make it be a region?

Thanks a lot,
Samuele
samiam1000 is offline   Reply With Quote

Old   February 5, 2014, 08:38
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
look at CHTmultiRegion test cases in OpenFOAM tutorial, you wiil find how define different zone
Quote:
tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeater/
samiam1000 likes this.
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   February 5, 2014, 08:51
Default
  #3
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 18
samiam1000 is on a distinguished road
Thank you very much. I'll investigate it.
samiam1000 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
[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


All times are GMT -4. The time now is 23:24.