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

HeatFlux [W/m2] in fvOptions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 5, 2022, 21:50
Default HeatFlux [W/m2] in fvOptions
  #1
New Member
 
Giulia
Join Date: Feb 2022
Posts: 19
Rep Power: 4
letoppina is on a distinguished road
Hello,

I would like to give as input a heat flux in my fvOptions related to one region. This is the file I have:

PHP Code:
fixedTemperature
{
    
type            fixedTemperatureConstraint;
    
active          yes;
    
selectionMode   all;

    
mode            uniform;

    
temperature     constant 298.15// Set temperature (K)
}

fixedPower
{
    
type            scalarSemiImplicitSource;
    
active          no;
    
selectionMode   all;

    
volumeMode      absolute;

    
power           100;          // Set power (W)

    
injectionRateSuSp
    
{
        
e           ($power 0);
        
h           ($power 0);
    }

So, my issue is that I would like to give, instead of a value of power in W, a value of heat flux in W/m2 (iso-flux conditions). How do I do that?
Also, what do e and h mean on injectionRateSuSp?

Thank you in advance!
letoppina is offline   Reply With Quote

Old   April 6, 2022, 10:41
Default
  #2
Member
 
tobiasS's Avatar
 
Hussam
Join Date: Aug 2017
Location: Germany
Posts: 32
Rep Power: 9
tobiasS is on a distinguished road
Hi,
If you switch volumeMode from absolute to "specific" the power will be in W/m³. But if you really want to specify heat flux in W/m² or even htc in W/ m².K on certainwalls you should use externallWallHeatFluxTemperature bc on the respective wall.
Regards,
Hussam
tobiasS is offline   Reply With Quote

Old   April 6, 2022, 10:45
Default
  #3
Member
 
tobiasS's Avatar
 
Hussam
Join Date: Aug 2017
Location: Germany
Posts: 32
Rep Power: 9
tobiasS is on a distinguished road
Btw: h and e are the source terms for enthalpy and internal energy. Dependind on which option is selected in physicalProperties, the respective value stated in fvOptions/fvModels will be used.
tobiasS is offline   Reply With Quote

Old   April 7, 2022, 01:50
Default
  #4
New Member
 
Giulia
Join Date: Feb 2022
Posts: 19
Rep Power: 4
letoppina is on a distinguished road
Quote:
Originally Posted by tobiasS View Post
Hi,
If you switch volumeMode from absolute to "specific" the power will be in W/m³. But if you really want to specify heat flux in W/m² or even htc in W/ m².K on certainwalls you should use externallWallHeatFluxTemperature bc on the respective wall.
Regards,
Hussam
Hi Hussam,

Thank you for your reply! How do I add such a boundary condition? Do I have to add a new file on the desired region or can I add the script on an existing file (I am new in using OpenFOAM).

Thank you!
letoppina is offline   Reply With Quote

Old   April 7, 2022, 02:49
Default
  #5
Member
 
tobiasS's Avatar
 
Hussam
Join Date: Aug 2017
Location: Germany
Posts: 32
Rep Power: 9
tobiasS is on a distinguished road
Hi, I would suggest to use the foamInfo utility, to help get more information about openfoam features. For this case:
"foamInfo externallWallHeatFluxTemperature"
will return
detailed usage information and examples from the tutorials about the topic. For this bc you can find an example in the tutorial "reverseBurner".. check it out.
tobiasS is offline   Reply With Quote

Reply

Tags
flux boundary condition, fvoptions, fvoptions mass source, heatflux


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
fvOptions limitTemperature crashing in compressibleInterFoam JM27 OpenFOAM Running, Solving & CFD 38 November 29, 2023 03:55
Can I use fvOptions to couple a solid region and a fluid region? titanchao OpenFOAM Running, Solving & CFD 4 January 14, 2022 07:55
Configuration of boundary conditions and fvOptions file Raza Javed OpenFOAM Running, Solving & CFD 16 May 3, 2019 16:35
topoSet/setSet and fvOptions pod OpenFOAM Running, Solving & CFD 5 April 30, 2019 05:41
Power and Enthalpy in fvOptions file Raza Javed OpenFOAM Running, Solving & CFD 1 April 26, 2019 10:03


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