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

Modification of multi region heater tutorial geometry

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 30, 2013, 02:48
Default Modification of multi region heater tutorial geometry
  #1
Senior Member
 
Mominul MuKuT
Join Date: Mar 2009
Location: Bangladesh
Posts: 121
Rep Power: 8
mukut is on a distinguished road
Hello foamers....in another subforum of openFoam, I have posted about my flow domain which is necessary to simulation flow induced by plasma actuator as bellow:


Some foamers suggested me to learn chtMultiRegionFoam tutorial....I have tried to modify a tutorial name "multiRegionFoam" as follows:

The top image is the actual geometry of multiRegionFoam tutorials in which solid regions are: T shape like heater, left solid and right solid; remaining top and bottom air are fluid.

I can easily modify the size of solid region without changing relative position and tutorial works fine. But when I tried to change relative positions of solid regions like bottom image, after running Allrun command in terminal....there is no output file at different timesteps. In paraFoam, new modified geometry is shown properly......

I have modified both topoSetDict and makeCellSets for for respective solid region geometry. What is the problem? Is there any other files in which I need to modify for required geometry????????


Thanks in advance....

Here is the modified topoSetDict

Code:
 /*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.2.1                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      topoSetDict;
}

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

actions
(
    // Heater
    {
        name    heater;
        type    cellSet;
        action  new;
        source  boxToCell;
        sourceInfo
        {
            box (-100 0 -100 )(0 0.00999 100);
        }
    }
    {
        name    heater;
        type    cellSet;
        action  add;
        source  boxToCell;
        sourceInfo
        {
            box (0 0 -100)(100 0.00999 100);
        }
    }
    {
        name    heater;
        type    cellZoneSet;
        action  new;
        source  setToCellZone;
        sourceInfo
        {
            set heater;           // name of cellSet
        }
    }

    // leftSolid
    {
        name    leftSolid;
        type    cellSet;
        action  new;
        source  boxToCell;
        sourceInfo
        {
            box (-100 -0.00999 -100 )(-0.01001 0 100);
        }
    }
    {
        name    leftSolid;
        type    cellZoneSet;
        action  new;
        source  setToCellZone;
        sourceInfo
        {
            set leftSolid;
        }
    }

    // rightSolid
    {
        name    rightSolid;
        type    cellSet;
        action  new;
        source  boxToCell;
        sourceInfo
        {
            box (0.01001 -0.00999 -100 )(100 0 100);
        }
    }
    {
        name    rightSolid;
        type    cellZoneSet;
        action  new;
        source  setToCellZone;
        sourceInfo
        {
            set rightSolid;
        }
    }

    // topAir
    {
        name    topAir;
        type    cellSet;
        action  new;
        source  boxToCell;
        sourceInfo
        {
            box (-100 0.00999 -100 )(100 100 100);
        }
    }
    {
        name    topAir;
        type    cellZoneSet;
        action  new;
        source  setToCellZone;
        sourceInfo
        {
            set topAir;
        }
    }


    // bottomAir is all the other cells
    {
        name    bottomAir;
        type    cellZoneSet;
        action  clear;
    }
    {
        name    bottomAir;
        type    cellSet;
        action  add;
        source  cellToCell;
        sourceInfo
        {
            set heater;
        }
    }
    {
        name    bottomAir;
        type    cellSet;
        action  add;
        source  cellToCell;
        sourceInfo
        {
            set leftSolid;
        }
    }
    {
        name    bottomAir;
        type    cellSet;
        action  add;
        source  cellToCell;
        sourceInfo
        {
            set rightSolid;
        }
    }
    {
        name    bottomAir;
        type    cellSet;
        action  add;
        source  cellToCell;
        sourceInfo
        {
            set topAir;
        }
    }
    {
        name    bottomAir;
        type    cellSet;
        action  invert;
    }
    {
        name    bottomAir;
        type    cellZoneSet;
        action  new;
        source  setToCellZone;
        sourceInfo
        {
            set bottomAir;
        }
    }
);

// ************************************************************************* //

Last edited by wyldckat; October 13, 2013 at 07:18. Reason: Added [CODE][/CODE]
mukut is offline   Reply With Quote

Old   October 4, 2013, 12:25
Default
  #2
Member
 
Jace
Join Date: Oct 2012
Posts: 77
Rep Power: 5
zhengzh5 is on a distinguished road
hey, off the top of my head, I have couple suggestions:

1. when you run Allrun command, it spits out some log files, open them and see where it stopped and what is it complaining about.

2. chtMultiRegionFoam requires a coupled boundary conditions (forgot what it's called, you can easily find it in the T file) between interfaces for heat transfer. When you change the relative layout of your geometry, you effectively changed the coupling between different regions/patches, so you need to go through the fields inside the initial time directory and correct for that if you haven't already.

do these and see what happens =)

good luck.

Last edited by wyldckat; October 13, 2013 at 07:18. Reason: removed unecessary long quote
zhengzh5 is offline   Reply With Quote

Old   October 4, 2013, 20:59
Default
  #3
Senior Member
 
Mominul MuKuT
Join Date: Mar 2009
Location: Bangladesh
Posts: 121
Rep Power: 8
mukut is on a distinguished road
Quote:
Originally Posted by zhengzh5 View Post
hey, off the top of my head, I have couple suggestions:

1. when you run Allrun command, it spits out some log files, open them and see where it stopped and what is it complaining about.

2. chtMultiRegionFoam requires a coupled boundary conditions (forgot what it's called, you can easily find it in the T file) between interfaces for heat transfer. When you change the relative layout of your geometry, you effectively changed the coupling between different regions/patches, so you need to go through the fields inside the initial time directory and correct for that if you haven't already.

do these and see what happens =)

good luck.
Thanks for your suggestion, I already changed the geometry according to my desired flow domain, but still same problem. I will follow your instruction soon and hope I will get some ingredients about the issue.
Best regard
Mukut
mukut is offline   Reply With Quote

Reply

Tags
mesh, meshing, multi region, openfoam 2.1.x, plasma actuator modeling

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
Has anyone created geometry for HVAC tutorial cfx user CFX 2 July 16, 2008 17:26
vitual _ real deneb FLUENT 3 January 22, 2007 05:31
How to zoom in only a region of my geometry nico OpenFOAM Paraview & paraFoam 3 April 11, 2006 02:41
Multi block geometry Samir FLUENT 0 January 14, 2005 16:55
Virtual/Real geometry. Jack Keays FLUENT 9 June 15, 2000 23:39


All times are GMT -4. The time now is 20:53.