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

Power and Enthalpy in fvOptions file

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By Bloerb

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 25, 2019, 05:22
Default Power and Enthalpy in fvOptions file
  #1
Senior Member
 
Raza Javed
Join Date: Apr 2019
Location: Germany
Posts: 183
Rep Power: 7
Raza Javed is on a distinguished road
Hello everyone,


I am trying to generate a heat source using Power of 10W using fvOptions file. So for this, I have given the value of 10 to "h" in fvOptions like below:


Code:
heatSource
{
    type            scalarSemiImplicitSource;
    active          true;
 
    scalarSemiImplicitSourceCoeffs
    {
        selectionMode   all; // all, cellSet, cellZone, points
       // cellZone        heatSrc;
        //cellSet         c1;
        volumeMode      absolute; // specific;
        injectionRateSuSp
        {
            h     (10 0);
        }
    }
}

I have read in this forum that If I need a power of say 10W, then I just need to put that value as "h (10 0)" in fvOptions and the volumeMode should be "absolute".


The temperature of my heat source is changing when I check it in paraview but I don't understand that how this power(W) is changing my temperature? What is the mathematical relationship between them? Also some people also say that this 'h' is Enthalpy, so I am confused that if this is enthalpy then how can I put my power directly in "h" ?


Also I went through the solver log file to see how solver reads the fvOtption file. And it shows the following:


Code:
    Adding fvOptions

Creating finite volume options from "constant/fvOptions"

Selecting finite volume options model type scalarSemiImplicitSource
    Source: heatSource
    - selecting all cells
    - selected 10599 cell(s) with volume 123000


What does this mean?
Code:
-selected 10599 cell(s) with volume 123000

This value remains the same even if I change the value of "h" in my fvOptions file.


I shall be very thankful if someone can clear my doubts.


Thank you
Raza Javed is offline   Reply With Quote

Old   April 26, 2019, 10:03
Default
  #2
Senior Member
 
Join Date: Sep 2013
Posts: 353
Rep Power: 20
Bloerb will become famous soon enough
> -selected 10599 cell(s) with volume 123000

This simply means, that your fvOptions is applied to 10599 cells which have a combined volume of 123000 m.

Lets assume you have the following equation:

\nabla\cdot \left(\alpha \nabla h \right) = 0

This is the equation for heat conduction inside a solid. It is an equation for enthalpy, but can also be formulated with temperature directly. You can add an explicit source term S to this equation:

\nabla\cdot \left(\alpha \nabla h \right) = S

Now this source term describes internal heat generation. Again, please check a fundamentals book in heat transfer for that.

Now:
scalarSemiImplicitSource has an explicit and implicit part.
Code:
h     (10 0);
This means that to the equation for h and explicit part of 10 should be added and an implicit part of 0. This changes our equation to
\nabla\cdot \left(\alpha \nabla h \right) = 10


I hope this helps
saidc. likes this.
Bloerb is offline   Reply With Quote

Reply

Tags
fvoptions, heat sources, openfoam, power, temperature

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Power dependent heat source using fvOptions Raza Javed OpenFOAM Running, Solving & CFD 0 April 15, 2019 08:45
Surface emissive power and virtual radiometers Dani87 FLUENT 1 November 30, 2018 06:58
Calculation of power in CFD Post for a radial turbine AntonZ CFX 0 May 29, 2017 23:10
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 15:45
Flow power computation Atit Koonsrisuk CFX 0 February 23, 2005 12:44


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