CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[swak4Foam] Air Conditioned room groovyBC

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   June 21, 2012, 06:20
Default Air Conditioned room groovyBC
  #1
New Member
 
Sebastian
Join Date: Aug 2011
Location: Poland, Poznań
Posts: 23
Rep Power: 14
Sebaj is on a distinguished road
Dear All,

I have a problem with temperature in my simulation. in first step [0] it's ok 323K but in 1 step [1] it's 300K..
I use buoyantBoussinesqSimpleFoam with groovyBC
My start files

T
Code:
dimensions      [0 0 0 1 0 0 0];

internalField   uniform 300;

boundaryField
{
    
    RAK2
    {
    type groovyBC;
    value uniform 323;
    gradientExpression "gradT";
    fractionExpression "0";
    variables "heatFlux= 0.00005;gradT=heatFlux/kappaEff;";
        
     
    }
    RAK1
    {
        type groovyBC;
        value uniform 323;
        gradientExpression "gradT";
        fractionExpression "0";
        variables "heatFlux= 0.00005;gradT=heatFlux/kappaEff;";
        
       
    }
    FAN1
    {
        type            fixedValue;
        value           uniform 287;
        
       
    }
    FAN2
    {
        type            fixedValue;
     value           uniform 287;
    
    RAK1IN3
    {
    type        fixedValue;
    vale        uniform 323;
    }
    RAK1IN4
    {
    type        fixedValue;
    value        uniform 323;
    }
    
    RAK2IN3
    {
    type        fixedValue;
    value        uniform 323;
    }
    RAK2IN4
    {
    type        fixedValue;
    value        uniform 323;
    }
        
       
    }
    ".*"
    {
        type            zeroGradient;
    }
    
    
}
here a have also problem with variables "heatFlux= 0.00005;gradT=heatFlux/kappaEff;"; where i have define in my case kappaEff? i read that kappaEff is
"kappaEff = turbulence->nu()/Pr + turbulence->nut()/Prt

Prt has no units-> kappaEff = m^2/s"

U
Code:
dimensions      [0 1 -1 0 0 0 0];

internalField   uniform (0 0 0);

boundaryField
{
    WALL
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
    FLOOR
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
    BOX1
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
    BOX2
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
    RAK2
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
    RAK1
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
    FAN1
    {
        type            fixedValue;
        value           uniform (0 0 1);
    }
    FAN2
    {
        type            fixedValue;
        value           uniform (0 0 1);
    }
    RAK1IN1
    {
        type            fixedValue;
        value           uniform (1 0 0);
    }
     RAK1IN2
    {
        type            fixedValue;
        value           uniform (1 0 0);
    }
     RAK1IN3
    {
        type            fixedValue;
        value           uniform (1 0 0);
    }
    RAK1IN4
    {
        type            fixedValue;
        value           uniform (1 0 0);
    }
    RAK2IN1
    {
        type            fixedValue;
        value           uniform (-1 0 0);
    }
     RAK2IN2
    {
        type            fixedValue;
        value           uniform (-1 0 0);
    }
     RAK2IN3
    {
        type            fixedValue;
        value           uniform (-1 0 0);
    }
    RAK2IN4
    {
        type            fixedValue;
        value           uniform (-1 0 0);
    }
    FAN1_WALL
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
    FAN2_WALL
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
    CLIM1
    {
        type            pressureInletOutletVelocity;
                value           uniform (0 0 0);
    }
    CLIM2
    {
        type            pressureInletOutletVelocity;
                value           uniform (0 0 0);
    }
    CLIM3
    {
        type            pressureInletOutletVelocity;
                value           uniform (0 0 0);
    }
    CLIM4
    {
        type            pressureInletOutletVelocity;
                value           uniform (0 0 0);
    }
    CLIM5
    {
        type            pressureInletOutletVelocity;
                value           uniform (0 0 0);
    }
    CLIM6
    {
        type            pressureInletOutletVelocity;
                value           uniform (0 0 0);
    }
    CLIM6_WALL
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
    CLIM5_WALL
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
    CLIM4_WALL
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
    CLIM3_WALL
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
    CLIM2_WALL
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
    CLIM1_WALL
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
    ".*"
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
}
epsilon
Code:
dimensions      [0 2 -3 0 0 0 0];

internalField   uniform 0.01;

boundaryField
{
    
    FAN1
    {
        type            turbulentMixingLengthDissipationRateInlet;
        mixingLength    0.325;
        value           uniform 0.01;
    }
    FAN2
    {
        type            turbulentMixingLengthDissipationRateInlet;
        mixingLength    0.325;
        value           uniform 0.01;
  
    }
    
    RAK1IN1
    {
        type            turbulentMixingLengthDissipationRateInlet;
        mixingLength    0.325;
        value           uniform 0.01;
    }
    RAK1IN2
    {
        type            turbulentMixingLengthDissipationRateInlet;
        mixingLength    0.325;
        value           uniform 0.01;
    }
    RAK1IN3
    {
        type            turbulentMixingLengthDissipationRateInlet;
        mixingLength    0.325;
        value           uniform 0.01;
    }
    RAK1IN4
    {
        type            turbulentMixingLengthDissipationRateInlet;
        mixingLength    0.325;
        value           uniform 0.01;
    }
    RAK2IN1
    {
        type            turbulentMixingLengthDissipationRateInlet;
        mixingLength    0.325;
        value           uniform 0.01;
    }
    RAK2IN2
    {
        type            turbulentMixingLengthDissipationRateInlet;
        mixingLength    0.325;
        value           uniform 0.01;
    }
    RAK2IN3
    {
        type            turbulentMixingLengthDissipationRateInlet;
        mixingLength    0.325;
        value           uniform 0.01;
    }
    RAK2IN4
    {
        type            turbulentMixingLengthDissipationRateInlet;
        mixingLength    0.325;
        value           uniform 0.01;
    }
    
    
    
    CLIM1
    {
       type        inletOutlet;
        inletValue    uniform 0.01;
        /*type            epsilonWallFunction;
                value           uniform 0.01; */

    }
    CLIM2
    {
        type        zeroGradient;
        
            
    }
    CLIM3
    {
       type        zeroGradient;
        
    }
    CLIM4
    {
       type        zeroGradient;
        
    }
    CLIM5
    {
        type        zeroGradient;
           
    }
    CLIM6
    {
       type        zeroGradient;
        
    }
    ".*"
    {
        type            epsilonWallFunction;
        value           uniform 0.01;
    }
    
   
}
k
Code:
dimensions      [0 2 -2 0 0 0 0];

internalField   uniform 0.1;

boundaryField
{
    
    FAN1
    {
    type            fixedValue;
    value        uniform 0.1;
                   
    }
    RAK1IN1
    {
    type            fixedValue;
    value        uniform 0.1;              
    }
    RAK1IN2
    {
    type            fixedValue;
    value        uniform 0.1;              
    }
    RAK1IN3
    {
    type            fixedValue;
    value        uniform 0.1;              
    }
    RAK1IN4
    {
    type            fixedValue;
    value        uniform 0.1;              
    }
    RAK2IN1
    {
    type            fixedValue;
    value        uniform 0.1;              
    }
    RAK2IN2
    {
    type            fixedValue;
    value        uniform 0.1;              
    }
    RAK2IN3
    {
    type            fixedValue;
    value        uniform 0.1;              
    }
    RAK2IN4
    {
    type            fixedValue;
    value        uniform 0.1;              
    }
    
    FAN2
    {
        
     type            fixedValue;
     value        uniform 0.1;
     
    }
    
    CLIM1
    {
       type            zeroGradient;
                       
    }
    CLIM2
    {
        type            zeroGradient;
                        
    }
    CLIM3
    {
        type            zeroGradient;
                        
    }
    CLIM4
    {
       type            zeroGradient;
                       
    }
    CLIM5
    {
        type            zeroGradient;
                       
    }
    CLIM6
    {
       type            zeroGradient;
                      
    }
    ".*"
    {
        type            kqRWallFunction;
        value           uniform 0.1;
    }
    
   
}
kappat
Code:
dimensions      [0 2 -1 0 0 0 0];

internalField   uniform 0;

boundaryField
{
    
    FAN1
    {
        type            calculated;
    }
    FAN2
    {
        type            calculated;
    }
    RAK1IN1
    {
        type            calculated;
    }
     RAK1IN2
    {
        type            calculated;
    }
     RAK1IN3
    {
        type            calculated;
    }
     RAK1IN4
    {
        type            calculated;
    }
     RAK2IN1
    {
        type            calculated;
    }
     RAK2IN2
    {
        type            calculated;
    }
     RAK2IN3
    {
        type            calculated;
    }
     RAK2IN4
    {
        type            calculated;
    }
    CLIM1
    {
        type            zeroGradient;
    }
    CLIM2
    {
        type            zeroGradient;
    }
    CLIM3
    {
        type            zeroGradient;
    }
    CLIM4
    {
        type            zeroGradient;
    }
    CLIM5
    {
        type            zeroGradient;
    }
    CLIM6
    {
        type            zeroGradient;
    }
    ".*"
    {
        type            kappatJayatillekeWallFunction;
        Prt             1.0;
        value           uniform 0;
    }
    
    
}
nut

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

internalField   uniform 0;

boundaryField
{
    
    FAN1
    {
        type            zeroGradient;
    }
    FAN2
    {
        type            zeroGradient;
    }
    RAK1IN1
    {
        type            zeroGradient;
    }
    RAK1IN2
    {
        type            zeroGradient;
    }
    RAK1IN3
    {
        type            zeroGradient;
    }
    RAK1IN4
    {
        type            zeroGradient;
    }
    RAK2IN1
    {
        type            zeroGradient;
    }
    RAK2IN2
    {
        type            zeroGradient;
    }
    RAK2IN3
    {
        type            zeroGradient;
    }
    RAK2IN4
    {
        type            zeroGradient;
    }
    
    CLIM1
    {
        type            zeroGradient;
    }
    CLIM2
    {
        type            zeroGradient;
    }
    CLIM3
    {
        type            zeroGradient;
    }
    CLIM4
    {
       type            zeroGradient;
    }
    CLIM5
    {
        type            zeroGradient;
    }
    CLIM6
    {
        type            zeroGradient;
    }
    ".*"
    {
        type            nutWallFunction;
        value           uniform 0;
    }
   
    
}
p_rgh
Code:
dimensions      [0 2 -2 0 0 0 0];

internalField   uniform 0;

boundaryField
{
    
    FAN1
    {
        type            zeroGradient;
    }
    FAN2
    {
        type            zeroGradient;
    }
    RAK1IN1
    {
        type            zeroGradient;
    }
    RAK1IN2
    {
        type            zeroGradient;
    }
    RAK1IN3
    {
        type            zeroGradient;
    }
    RAK1IN4
    {
        type            zeroGradient;
    }
    RAK2IN1
    {
        type            zeroGradient;
    }
    RAK2IN2
    {
        type            zeroGradient;
    }
    RAK2IN3
    {
        type            zeroGradient;
    }
    RAK2IN4
    {
        type            zeroGradient;
    }
    
    CLIM1
    {
       type            fixedValue;
       value           uniform 0;
       
       
    }
    CLIM2
    {
       type            fixedValue;
       value           uniform 0;
       
       
    }
    CLIM3
    {
        type            fixedValue;
        value           uniform 0;
        
        
       
    }
    CLIM4
    {
       type           fixedValue;
       value           uniform 0;
       
       
    }
    CLIM5
    {
        
        type          fixedValue;
        value           uniform 0;
        
       
    }
    CLIM6
    {
       type            fixedValue;
        value           uniform 0;
       
     
    }
    ".*"
    {
        type            buoyantPressure;
        rho             rhok;
        value           uniform 0;
    }
    
    
}
all problem look like this:





in 0 time step:


and then in 1 time step:



another problem is why in hot outlet "rak1in4" is stil cold air. it was defined as 323K..



any sugestion how i can do good symulation of this problem?

Thanks a lot,
Sebastian
Sebaj is offline   Reply With Quote

 


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
Air entrainment model setup for spillway oajor FLOW-3D 4 November 17, 2016 12:02
Need help with CFD and gambit of air conditioned room whiteheart2k FLUENT 2 October 10, 2012 23:43
heat transfer: air in a room and water in a coil Alberto CFX 2 May 9, 2006 09:56
Air movements in the room Nevill Krik CFX 3 July 28, 2004 18:16
HELP!!! Indoor air flow pattern Peter Zhang Main CFD Forum 4 November 3, 1999 02:49


All times are GMT -4. The time now is 00:35.