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

Using fvOption file

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By clapointe

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 12, 2019, 11:01
Default Using fvOption 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,


I want to introduce a heat source in my simulation that takes power as an input.


I am trying to do this using fvOption file. My fvOption file is given below:


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

with the above mentioned file, I am able to generate a heat source of some temperature. But I don't exactly understand that how to initialize the parameters in this file.

what does 'h' stands for? Does it take only temperature as an input OR it can be power, energy or anything that generates heat?


If I want to use power as an input for my heat source (say 65W) then how can I put this power in this fvOption file?

Thank you
Raza Javed is offline   Reply With Quote

Old   April 16, 2019, 23:12
Default
  #2
Senior Member
 
Join Date: Aug 2015
Posts: 494
Rep Power: 15
clapointe is on a distinguished road
Quick answers : h is enthalpy (you could also use e if solving for internal energy). Its units are J/kg. You could back out a value for the source from your desired power.

Caelan
bullmut likes this.
clapointe is offline   Reply With Quote

Old   April 17, 2019, 02:56
Default
  #3
Senior Member
 
Raza Javed
Join Date: Apr 2019
Location: Germany
Posts: 183
Rep Power: 7
Raza Javed is on a distinguished road
Quote:
Originally Posted by clapointe View Post
You could back out a value for the source from your desired power.

Caelan

Thank you for your reply. But I didn't get exactly what does it mean by backing out a value for the source from my desired power?
Raza Javed is offline   Reply With Quote

Old   April 17, 2019, 11:02
Default
  #4
Senior Member
 
Join Date: Aug 2015
Posts: 494
Rep Power: 15
clapointe is on a distinguished road
You have power -- energy/time. Run the simulation for some time -- compute a total amount of energy. Divide this by mass of fluid it is working on -- energy/mass.

Note that you are using the "specific" option, so you are also dividing by volume. A search for existing tutorials using fvOptions and scalarSemiImplicitSource comes up with numerous examples, and reveals that the units are therefore : kg*m^2/s^3

Caelan
clapointe is offline   Reply With Quote

Reply

Tags
fvoption, heat transfer


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
how to calculate mass flow rate on patches and summation of that during the run? immortality OpenFOAM Post-Processing 104 February 16, 2021 08:46
[foam-extend.org] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 21:53
[swak4Foam] Problem installing swak_2.x for OpenFoam-2.4.0 towanda OpenFOAM Community Contributions 6 September 5, 2015 21:03
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 11:44
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 11:46


All times are GMT -4. The time now is 21:56.