CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

chtMultiRegionSimpleFoam planeWall2D

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 3, 2014, 04:44
Default chtMultiRegionSimpleFoam planeWall2D
  #1
Member
 
Join Date: Oct 2014
Posts: 42
Rep Power: 11
Wien3 is on a distinguished road
Good Morning everyone!
I have studied this tutorial (as I read it was the easiest of this kind of solver) and I learnt quite a few things about it.
For my particular case I want to refrigerate a cube which is inside a pipe (attached_figure1), so I think it could be a first step to modify the planeWall2D model, reducing the length of the "wall" layer from both sides.
I tried first with just only the left part (attached_figure2). I think I have to define a "domain1" with takes into account the new free space. I modified every single file it was related with this change, but when I write ./Allrun no new time folders are created, so I can't see the evolution of temperature in paraFoam.

What can I do to solve this? Which file is wrong?

I post the topoSetDict, and I attached the complete model case.

PHP Code:
actions
(

    
// bottomAir
    
{
        
name    bottomAir;
        
type    cellSet;
        
action  new;
        
source  boxToCell;
        
sourceInfo
        
{
            
box (0 0 0 )(1 0.4 0.1);
        }
    }
    {
        
name    bottomAir;
        
type    cellZoneSet;
        
action  new;
        
source  setToCellZone;
        
sourceInfo
        
{
            
set bottomAir;
        }
    }

    
// leftDomain
    
{
        
name    leftDomain;
        
type    cellSet;
        
action  new;
        
source  boxToCell;
        
sourceInfo
        
{
            
box (0 0.4 0 )(0.2 0.6 0.1);
        }
    }
    {
        
name    leftDomain;
        
type    cellZoneSet;
        
action  new;
        
source  setToCellZone;
        
sourceInfo
        
{
            
set leftDomain;
        }
    }

    
// wall
    
{
        
name    wall;
        
type    cellSet;
        
action  new;
        
source  boxToCell;
        
sourceInfo
        
{
            
box (0.2 0.4 0 )(1 0.6 0.1);
        }
    }
    {
        
name    wall;
        
type    cellZoneSet;
        
action  new;
        
source  setToCellZone;
        
sourceInfo
        
{
            
set wall;
        }
    }

    
// topAir
    
{
        
name    topAir;
        
type    cellSet;
        
action  new;
        
source  boxToCell;
        
sourceInfo
        
{
            
box (0 0.6 0 )(1 1 0.1);
        }
    }
    {
        
name    topAir;
        
type    cellZoneSet;
        
action  new;
        
source  setToCellZone;
        
sourceInfo
        
{
            
set topAir;
        }
    } 
Thank you in advance!!
Attached Images
File Type: jpg Screenshot from 2014-12-03 10:00:20.jpg (34.5 KB, 9 views)
File Type: jpg Screenshot from 2014-12-03 10:37:57.jpg (35.1 KB, 9 views)
Attached Files
File Type: zip test2.zip (38.3 KB, 3 views)
Wien3 is offline   Reply With Quote

Old   December 3, 2014, 06:17
Default
  #2
Member
 
Join Date: Oct 2014
Posts: 42
Rep Power: 11
Wien3 is on a distinguished road
I solved it! The problem was I assigned p_rgh wrongly in the lefDomain ChangeDict.
After some time I achieve to build my model.
A fluid is supossed to entered by the left side and to go out by the opposite one, and, as it has less temperature than the cube, there will be a heat transference.

I have two questions now:
1) it is normal the evolution of the temperature behind the cube (it was assigned gravity=0)??
2) What should I change in my case in order to get my cube cold?? Currently it behaves like a constant heat supply.

I attach my files corrected.

Thanks again!
Attached Images
File Type: jpg Screenshot from 2014-12-03 12:16:15.jpg (34.3 KB, 9 views)
Attached Files
File Type: zip test3.zip (45.3 KB, 8 views)
Wien3 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



All times are GMT -4. The time now is 10:39.