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

Calculating Temperature Gradient

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 29, 2016, 15:52
Question Calculating Temperature Gradient
  #1
Member
 
Pedro
Join Date: Nov 2014
Posts: 50
Rep Power: 11
pupo is on a distinguished road
Good Night all!

I'm with a very minor, very noobish problem i can't solve/find a solution online:

how do i convert a a heat transfer coeficient at a wall ( q = 200 w/mē ) to an OpenFoam Fixed gradient boundary condition? ( gradient uniform ?????; )

I used to have this in a manual, that I foolishly borrowed a collegue, that explained this very clearly and now I'm stuck in this silly detail.

Thank you very much!

Best Regards,
Pupo
pupo is offline   Reply With Quote

Old   May 1, 2016, 02:02
Smile
  #2
Senior Member
 
Hesam
Join Date: Feb 2015
Posts: 139
Rep Power: 11
rapierrz is on a distinguished road
Hi pedro,

For conjugate heat transfer if you want to apply heat flux to solid boundary you

can use gradT=q/Ksolid.

If you want to apply to boundary near fluid you can use gradT=q/Kfluid.
rapierrz is offline   Reply With Quote

Old   May 2, 2016, 05:37
Default
  #3
Member
 
Pedro
Join Date: Nov 2014
Posts: 50
Rep Power: 11
pupo is on a distinguished road
Thnak you for the answer!

However, K changes with temperature on the fluid side... how do i account for that?

Best Regards
pupo is offline   Reply With Quote

Old   May 2, 2016, 07:12
Smile
  #4
Senior Member
 
Hesam
Join Date: Feb 2015
Posts: 139
Rep Power: 11
rapierrz is on a distinguished road
For this condition you can use of groovyBc for example:


Wall
{
type groovyBC;
valueExpression "0";
variables "K1=0.6;K2=0.02;Keff=alpha1*K1+(1-alpha1)*K2";//alpha is volume fraction
gradientExpression "2000/Keff";
fractionExpression "0";
value uniform 293;

}
rapierrz is offline   Reply With Quote

Old   May 2, 2016, 11:53
Default
  #5
Member
 
Pedro
Join Date: Nov 2014
Posts: 50
Rep Power: 11
pupo is on a distinguished road
Thank you, i had completely forgot about good old groovy :P

meanwhile i found this: http://openfoam.com/documentation/cp...ml/a00744.html

it seems to do what i want and to take into consideration the varying conductivity of the fluid.

Best Regards,
pupo is offline   Reply With Quote

Reply


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
Temperature gradient using wall-functions chantre OpenFOAM 2 July 19, 2021 07:56
Periodic flow using Cyclic - comparison with Fluent nusivares OpenFOAM Running, Solving & CFD 30 December 12, 2017 05:35
Temperature gradient macros on face qwerty753 Fluent UDF and Scheme Programming 6 July 31, 2016 11:13
Calculating outlet temperature pipeline Erikwt STAR-CCM+ 3 April 14, 2010 09:41
temperature normal gradient on a boundary Sandrine Main CFD Forum 2 June 10, 2009 16:34


All times are GMT -4. The time now is 11:54.