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

Energy not conserved - Air heated up in a sealed room

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 18, 2022, 10:18
Default Energy not conserved - Air heated up in a sealed room
  #1
New Member
 
Pu Gong
Join Date: Jul 2018
Location: London
Posts: 22
Rep Power: 7
minecraftgp is on a distinguished road
Hi everyone,

The case is a sealed room with 80W output heat source. The problem I met is that the total enthalpy increase inside the whole room in 1s is 75J. A buoyantPimpleFoam solver with boussinesq equation of state is used for the case.

The setting of the heat source is to use scalarSemiImplicitSource, which used part of the room air as a cellSet heat source. The code is shown as follow
Code:
heat1
 {
        type            scalarSemiImplicitSource;
        enabled         true;
        active          true;
        scalarSemiImplicitSourceCoeffs
        {
        selectionMode   cellSet;
        cellSet        heat1;
        volumeMode      absolute;
        injectionRateSuSp
            {
                    h
                    {
                        Su table
                        (
                            (0 80)
                        );
                        Sp      0.0;
                    }
            }
        }
    }

To measure the enthalpy increase inside the room, a swak4Foam code is used as follow, where 298.15 is the reference temperature T0, 1000 is the mass heat capacity Cp, and vol() is the volume for each cell.

Code:
T_volSum_room
 {
        name        T_volSum_room;
        type        swakExpression;
        valueType   cellSet;
        libs        ("libsimpleSwakFunctionObjects.so" );
        outputControlMode  timeStep;
        outputInterval     10;
        writeStartTime  no;
        setName    room;
        expression  "(T-298.15)*1000*vol()*rho";
        autoInterpolate   true;
        accumulations   (sum);
        verbose     true;
    }
For the issue I have considered 3 possibilities
1. It is due to the boussinesq equation of state.
2. It is caused by the configuration of the heat source, which means the heat source I am using is output less than 80W
3. It is due to the incorrect way of measuring, which means the expression "(T-298.15)*1000*vol()*rho" above cannot measure the enthalpy increase rate properly.

Any suggestion would be appreciated

Regards
Pu
minecraftgp 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
Air diffusion in room stteng OpenFOAM 1 December 8, 2021 15:32
Simulation of a flow of air in a room from a fan tejas_jeurkar FLUENT 0 April 4, 2019 11:41
Density setting in Fluent for compressed and heated air bolbol FLUENT 4 May 10, 2018 13:51
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


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