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

How to create a multi-region mesh?

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

Like Tree1Likes
  • 1 Post By nimasam

Reply
 
LinkBack Thread Tools Display Modes
Old   February 5, 2014, 05:36
Default How to create a multi-region mesh?
  #1
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 490
Rep Power: 9
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, 09:38
Default
  #2
Senior Member
 
Nima Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,123
Blog Entries: 1
Rep Power: 14
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
look at CHTmultiRegion test cases in OpenFOAM tutorial, you wiil find how define different zone
Quote:
tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeater/
samiam1000 likes this.
__________________
Training Course on OpenFOAM at (http://www.isme.ir/)
My Weblog (http://openfoam.blogfa.com/)
nimasam is offline   Reply With Quote

Old   February 5, 2014, 09:51
Default
  #3
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 490
Rep Power: 9
samiam1000 is on a distinguished road
Thank you very much. I'll investigate it.
samiam1000 is offline   Reply With Quote

Reply

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
SnappyHexMesh for internal Flow vishwa OpenFOAM Native Meshers: snappyHexMesh and Others 23 August 6, 2014 03:50
[ICEM] Fine mesh of Local block methods. Sheyko ANSYS Meshing & Geometry 0 January 29, 2014 11:35
Using starToFoam clo OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 33 September 26, 2012 04:04
[ICEM] How can I create prism mesh for a 3D domain surrounded by a torus? lzgwhy ANSYS Meshing & Geometry 3 September 18, 2012 21:04
How to control Minximum mesh space? hung FLUENT 7 April 18, 2005 09:38


All times are GMT -4. The time now is 00:48.