|
[Sponsors] |
April 12, 2019, 12:01 |
Using fvOption file
|
#1 |
Senior Member
Raza Javed
Join Date: Apr 2019
Location: Germany
Posts: 183
Rep Power: 7 |
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 |
|
April 17, 2019, 00:12 |
|
#2 |
Senior Member
Join Date: Aug 2015
Posts: 494
Rep Power: 15 |
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 |
|
April 17, 2019, 03:56 |
|
#3 |
Senior Member
Raza Javed
Join Date: Apr 2019
Location: Germany
Posts: 183
Rep Power: 7 |
||
April 17, 2019, 12:02 |
|
#4 |
Senior Member
Join Date: Aug 2015
Posts: 494
Rep Power: 15 |
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 |
|
Tags |
fvoption, heat transfer |
|
|
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 09:46 |
[foam-extend.org] problem when installing foam-extend-1.6 | Thomas pan | OpenFOAM Installation | 7 | September 9, 2015 22:53 |
[swak4Foam] Problem installing swak_2.x for OpenFoam-2.4.0 | towanda | OpenFOAM Community Contributions | 6 | September 5, 2015 22:03 |
"parabolicVelocity" in OpenFoam 2.1.0 ? | sawyer86 | OpenFOAM Running, Solving & CFD | 21 | February 7, 2012 12:44 |
ParaView Compilation | jakaranda | OpenFOAM Installation | 3 | October 27, 2008 12:46 |