|
[Sponsors] |
September 30, 2013, 06:31 |
chtMultiRegionFoam - pipeflow
|
#1 |
New Member
Join Date: Sep 2013
Posts: 5
Rep Power: 13 |
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; } } // ************************************************************************* // 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; } } // ************************************************************************* // |
|
February 7, 2014, 08:53 |
|
#2 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22 |
Hello Sausi,
could you solve your problem? Is gravity considered in your simulation? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error in chtMultiRegionFoam | kirankarki | OpenFOAM | 6 | August 21, 2018 09:00 |
chtMultiRegionFoam - different mesh on the 2 sides of a coupled boundary | turbulencious | OpenFOAM | 5 | July 24, 2014 06:58 |
FOAM FATAL IO ERROR for chtMultiRegionFoam | xiaoyoyo | OpenFOAM Running, Solving & CFD | 0 | May 8, 2012 17:49 |
Embed explicitSetValue in chtMultiRegionFoam | samiam1000 | OpenFOAM | 2 | April 18, 2012 06:14 |
chtmultiregionFoam | alvora | OpenFOAM | 9 | February 23, 2011 04:06 |