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

buoyantSimpleFoam, problem with additional heat flux

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 11, 2014, 10:52
Default buoyantSimpleFoam, problem with additional heat flux
  #1
New Member
 
Join Date: Mar 2014
Posts: 8
Rep Power: 12
karoltomek is on a distinguished road
Hello

I use buoyantSimpleFoam solver. I have a box 1x1x1.4m with inlet, outlet and two heating boxes inside.
My BC

U
Code:
dimensions      [0 1 -1 0 0 0 0];
internalField   uniform (0 0 0);
boundaryField
{
    wall
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
    inlet
    {
        type            fixedValue;
        value           uniform (0 0 1);
    }
    outlet
    {
        type            inletOutlet;
        inletValue      uniform (0 0 0);
        value           uniform (0 0 0);
    }
    grzalka_1
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
    grzalka_2
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
}

T
Code:
dimensions      [ 0 0 0 1 0 0 0 ];
internalField   uniform 293;
boundaryField
{
    wall
    {
        type            zeroGradient;
    }
    inlet
    {
        type            fixedValue;
        value           uniform 293;
    }
    outlet
    {
        type            zeroGradient;
    }
    grzalka_1
    {
        type            compressible::turbulentHeatFluxTemperature;
        heatSource      power;
        q               uniform 0;
        kappa           fluidThermo;
        Qr              none;
        kappaName       none;
        value           uniform 293;
    }
    grzalka_2
    {
        type            compressible::turbulentHeatFluxTemperature;
        heatSource      power;
        q               uniform 55;
        kappa           fluidThermo;
        Qr              none;
        kappaName       none;
        value           uniform 293;
     }
}
 
// ************************************************************************* //
p_rgh

Code:
 
dimensions      [ 1 -1 -2 0 0 0 0 ];
internalField   uniform 101325;
boundaryField
{
    wall
    {
        type            zeroGradient;
    }
    inlet
    {
        type            zeroGradient;
    }
    outlet
    {
        type            fixedValue;
        value           uniform 101325;
    }
    grzalka_1
    {
        type            zeroGradient;
    }
    grzalka_2
    {
        type            zeroGradient;
    }
}
 
// ************************************************************************* //
When buoyantSimpleFoam solves this case, there is a additional massFlow (kg/h) from heatting box (grzalka_2) >>> see my attachments.

But if I set g=0 [m/s^2] additional massflow disappear (!)

I have the same problem with buoyantBoussinesqSimpleFoam (addtional mass flow and very high temperatures).

My simulation crashes after 1800 steps. I have this problem with different meshes.

It is a bug? Anyone have similar problem?
Attached Images
File Type: jpg 1.jpg (20.0 KB, 16 views)
File Type: jpg 2.jpg (23.1 KB, 16 views)
Attached Files
File Type: gz fvSchemes_fvSolution_checkMesh.tar.gz (2.0 KB, 4 views)
File Type: txt mass_flow_g=9.81.txt (11.4 KB, 2 views)
File Type: txt massFlow_g=0.txt (5.9 KB, 2 views)
karoltomek is offline   Reply With Quote

Old   March 12, 2014, 09:01
Default
  #2
New Member
 
Join Date: Mar 2014
Posts: 8
Rep Power: 12
karoltomek is on a distinguished road
Hello

I know what was wrong.

The correct set for p_rgh for all walls (grzalka_1, grzalka_2 and wall) is fixedFluxPressure, not zeroGradient.
karoltomek 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
heat flux balance problem zhouziyi7123 FLUENT 5 May 21, 2014 03:37
Enforce bounds error with heat loss boundary condition at solid walls Chander CFX 2 May 1, 2012 20:11
problem with heat flux in the wall gholamghar FLUENT 1 September 14, 2010 07:47
Heat Flux Wall Boundary Confusion. Joee FLUENT 1 August 21, 2010 12:20
Basic question: UDF for wall heat flux Carl FLUENT 1 August 5, 2006 19:01


All times are GMT -4. The time now is 14:06.