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

[Other] Modification of multi region heater tutorial geometry

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By mukut

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 30, 2013, 03:48
Default Modification of multi region heater tutorial geometry
  #1
Senior Member
 
Mominul MuKuT
Join Date: Mar 2009
Location: Bangladesh
Posts: 124
Rep Power: 17
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;
        }
    }
);

// ************************************************************************* //
atulkjoy likes this.

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

Old   October 4, 2013, 13:25
Default
  #2
Member
 
Jace
Join Date: Oct 2012
Posts: 77
Rep Power: 16
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 08:18. Reason: removed unecessary long quote
zhengzh5 is offline   Reply With Quote

Old   October 4, 2013, 21:59
Default
  #3
Senior Member
 
Mominul MuKuT
Join Date: Mar 2009
Location: Bangladesh
Posts: 124
Rep Power: 17
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


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
problem with Min/max rho tH3f0rC3 OpenFOAM 8 July 31, 2019 10:48
p_rgh initial residual no change with different settings manuc OpenFOAM Running, Solving & CFD 3 June 26, 2018 16:53
[Other] mesh interface for multi region Mohammad Jam OpenFOAM Meshing & Mesh Conversion 3 December 5, 2016 08:23
[Other] StarToFoam error Kart OpenFOAM Meshing & Mesh Conversion 1 February 4, 2010 05:38
[OpenFOAM] How to zoom in only a region of my geometry nico ParaView 3 April 11, 2006 03:41


All times are GMT -4. The time now is 15:07.