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

Applying a constant heat flux boundary condition in openfoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By hokhay

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 25, 2016, 17:27
Default Applying a constant heat flux boundary condition in openfoam
  #1
New Member
 
Matt
Join Date: Sep 2016
Posts: 7
Rep Power: 9
mattmirsad is on a distinguished road
Dear all,

I am very new to OpenFOAM and still trying to learn it through its tutorial. My aim is to use OpenFOAM in conjugate heat transfer problems (therefore chtMultiregionfoam is the solver I need).

Here is my question:
How can I apply a constant heat flux (W/m2) in openfoam on one of my boundary patches?

Thanks,
Matt
mattmirsad is offline   Reply With Quote

Old   September 25, 2016, 22:53
Default
  #2
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 15
Antimony is on a distinguished road
Hi,

Does this BC not work for you: https://github.com/OpenFOAM/OpenFOAM...hScalarField.H ?

Cheers,
Antimony
Antimony is offline   Reply With Quote

Old   September 26, 2016, 05:47
Default
  #3
New Member
 
Matt
Join Date: Sep 2016
Posts: 7
Rep Power: 9
mattmirsad is on a distinguished road
Dear Antimony,

Thanks for your reply.

Can this boundary condition be applied to a solid wall surface where a "compressible" gas is flowing on top?

I am asking this since there is an "incompressible" namespace in the file you sent.

Kind regards,
Matt
mattmirsad is offline   Reply With Quote

Old   September 26, 2016, 14:48
Default
  #4
Senior Member
 
Join Date: Sep 2013
Posts: 353
Rep Power: 20
Bloerb will become famous soon enough
I was not aware, that there even is an imcompressible version. If you are using a recent openfoam version this is however definitely implemented (and this one can also be used for incompressible cases):

https://github.com/OpenFOAM/OpenFOAM...hScalarField.H
Bloerb is offline   Reply With Quote

Old   August 30, 2017, 05:58
Default
  #5
New Member
 
Ketan Ganatra
Join Date: Aug 2017
Posts: 13
Rep Power: 8
ketanganatra0@yahoo.com is on a distinguished road
Hi,
I am using buoyantBoussinesqSimpleFoam as slver for constant heat flux BC.

The error message is fluidthermopackage is not available'.

Can you help me with that???
ketanganatra0@yahoo.com is offline   Reply With Quote

Old   September 18, 2019, 03:31
Default Applying heat flux on surface of the solid (@wall)
  #6
Member
 
Vishnu
Join Date: May 2019
Location: Tamilnadu, India
Posts: 55
Rep Power: 6
Vishsel is on a distinguished road
Hi all,

As for as now i have only solid body. My case is Incompressible, Heat transfer, Steady state.

I need to create heat flux on the surface of the solid body (@wall). And my inputs are heat flux (W/m²) for surface or (W/m³) for body.

For example - These are my wall surfaces where I have to create heat flux

wall-mp-1
wall-mp-2
wall-dp-1
wall-dp-2


How can i prepare my 0 time folder for solid case and Which solver is suitable for my case ?


Thank you in advance.

Last edited by Vishsel; September 19, 2019 at 00:37.
Vishsel is offline   Reply With Quote

Old   January 13, 2020, 11:36
Default
  #7
Member
 
Join Date: Nov 2014
Posts: 92
Rep Power: 11
hokhay is on a distinguished road
Quote:
Originally Posted by Vishsel View Post
Hi all,

As for as now i have only solid body. My case is Incompressible, Heat transfer, Steady state.

I need to create heat flux on the surface of the solid body (@wall). And my inputs are heat flux (W/m²) for surface or (W/m³) for body.

For example - These are my wall surfaces where I have to create heat flux

wall-mp-1
wall-mp-2
wall-dp-1
wall-dp-2


How can i prepare my 0 time folder for solid case and Which solver is suitable for my case ?


Thank you in advance.
Hi Vishsel, have you found your answer yet? I am facing the same as well. I am trying to use fixed gradient on T BC. This approach looks like numerically correct because heat flux = -k*grad(T) but I found that the simulation result generate much less heat than I expected and i don't know why.

Could you show how you do it if you have solved this problem?

Thanks a lot
Jason
tariq likes this.
hokhay is offline   Reply With Quote

Old   January 17, 2020, 23:08
Default
  #8
New Member
 
Raj Niraj Patil
Join Date: Mar 2019
Location: Nashik, India
Posts: 2
Rep Power: 0
RajNPatil is on a distinguished road
Quote:
Originally Posted by Vishsel View Post
Hi all,

As for as now i have only solid body. My case is Incompressible, Heat transfer, Steady state.

I need to create heat flux on the surface of the solid body (@wall). And my inputs are heat flux (W/m²) for surface or (W/m³) for body.

For example - These are my wall surfaces where I have to create heat flux

wall-mp-1
wall-mp-2
wall-dp-1
wall-dp-2


How can i prepare my 0 time folder for solid case and Which solver is suitable for my case ?


Thank you in advance.
Hi Vishsel,
For solver as far as I know, you should be able to use buoyantBoussinesqSimpleFoam, but this is valid when there is fluid present in your model, I am not sure for case with only solid.

If you want to implement it on solid then better you try to use chtMultiRegionFoam. For better understanding you can follow given link. https://cfd.fossee.in/case-study-pro...e-study-run/60
Download case study and follow through the file. Hope this will help you.
RajNPatil is offline   Reply With Quote

Reply

Tags
openfoam heat flux


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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 07:38
Centrifugal fan j0hnny CFX 13 October 1, 2019 13:55
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 07:30
Problem in setting Boundary Condition Madhatter92 CFX 12 January 12, 2016 04:39
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 04:05


All times are GMT -4. The time now is 05:28.