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

chtMultiRegionFoam - pipeflow

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 30, 2013, 05:31
Default chtMultiRegionFoam - pipeflow
  #1
New Member
 
Join Date: Sep 2013
Posts: 5
Rep Power: 12
Sausi is on a distinguished road
Hi,

I am using the chtMultiRegionFoam with OpenFoam 2.1.x and I realized that if I have a normal pipe flow the velocity at the lower edge is wrong [attachment]. My case is 2D and I defined a velocity of 3m/s at my inlet.
For my case the buoyant pressure is important because my real case has a heat source and I want to investigate this buoyant driven effects.



Pressure 0 folder



Code:
/*--------------------------------*- C++ -*----------------------------------*\
 | =========                 |                                                 |
 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
 |  \\    /   O peration     | Version:  2.1.x                                 |
 |   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
 |    \\/     M anipulation  |                                                 |
 \*---------------------------------------------------------------------------*/
 FoamFile
 {
     version     2.0;
     format      binary;
     class       volScalarField;
     location    "0";
     object      p_rgh;
 }
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
 

 dimensions      [ 1 -1 -2 0 0 0 0 ];
 

 value           101325;
 internalField   uniform $value;
 

 boundaryField
 {
     air_in
     {
         type            buoyantPressure;
         value           uniform $value;
     }
     air_out
     {
         type            fixedValue;
         value           uniform $value;
     }
     wall
     {
         type            buoyantPressure;
         value           uniform $value;
     }
     air_sym_left
     {
         type            symmetryPlane;
     }
     air_sym_right
     {
         type            symmetryPlane;
     }
 }
 

 

 // ************************************************************************* //
Velocity 0 folder



Code:
/*--------------------------------*- C++ -*----------------------------------*\ 
 | =========                 |                                                 | 
 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           | 
 |  \\    /   O peration     | Version:  2.1.x                                 | 
 |   \\  /    A nd           | Web:      www.OpenFOAM.org                      | 
 |    \\/     M anipulation  |                                                 | 
 \*---------------------------------------------------------------------------*/ 
 FoamFile 
 { 
     version     2.0; 
     format      binary; 
     class       volVectorField; 
     location    "0"; 
     object      U; 
 } 
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 
  
 dimensions      [ 0 1 -1 0 0 0 0 ]; 
  
 value           (3 0 0); 
 internalField   uniform $value; 
  
 boundaryField 
 { 
     air_in 
     { 
         type        fixedValue; 
         value       uniform $value; 
     } 
     air_out 
     { 
         type            inletOutlet; 
         inletValue      uniform (0 0 0); 
         value           uniform $value; 
     } 
     "wall" 
     { 
         type            fixedValue; 
         value           uniform (0 0 0); 
     } 
     air_sym_left 
     { 
         type            symmetryPlane; 
     } 
     air_sym_right 
     { 
         type            symmetryPlane; 
     } 
 } 
  
  
 // ************************************************************************* //
Did anyone have similar problems? Thanks for your help.
Attached Images
File Type: png velocityPlot.png (15.4 KB, 16 views)
Sausi is offline   Reply With Quote

Old   February 7, 2014, 07:53
Default
  #2
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21
jherb is on a distinguished road
Hello Sausi,

could you solve your problem? Is gravity considered in your simulation?
jherb 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
Error in chtMultiRegionFoam kirankarki OpenFOAM 6 August 21, 2018 08:00
chtMultiRegionFoam - different mesh on the 2 sides of a coupled boundary turbulencious OpenFOAM 5 July 24, 2014 05:58
FOAM FATAL IO ERROR for chtMultiRegionFoam xiaoyoyo OpenFOAM Running, Solving & CFD 0 May 8, 2012 16:49
Embed explicitSetValue in chtMultiRegionFoam samiam1000 OpenFOAM 2 April 18, 2012 05:14
chtmultiregionFoam alvora OpenFOAM 9 February 23, 2011 03:06


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