|
[Sponsors] |
July 1, 2009, 11:13 |
Heterogeneous heat flux
|
#1 |
New Member
Join Date: Jul 2009
Posts: 11
Rep Power: 17 |
Dear friends,
I am using StarCD 3.26. I would like to apply a heat flux on a plane face. I have created a wall boundary on this face. Under "Wall heat", i have replaced Adiabatic by Flux. It allows me to specify a Heat Flux value, explained in W/m2. This setting results in a uniform heat flux on the face. My goal is to create a heat flux profile (flux = f(x,y)). Is there any way to do that with Star-CD without creating multiple boundaries (which are limited to 200) ? Thanks for your help, Kevin |
|
July 2, 2009, 12:40 |
|
#2 |
Senior Member
Pauli
Join Date: Mar 2009
Posts: 189
Rep Power: 17 |
A varying profile on one boundary region can be achieved with either a table or user subroutine (bcdefw.f).
|
|
July 3, 2009, 06:30 |
|
#3 |
New Member
Join Date: Jul 2009
Posts: 11
Rep Power: 17 |
Thank you Pauli
I'm trying to use table but Star-cd is crashing when i type values in the matrix. (bus error or segmentation fault). So i'm trying to generate tbl file externally, using Matlab. Formatting the tbl file is not easy, it contains a lot of space; tabulation, etc... Do you have an example of bcdefw.f that discretise a wall boundary ? The default file contains this example, but the boundary is discretised versus region, not versus space dimension C IF(IREG.EQ.5) THEN |
|
July 6, 2009, 15:00 |
|
#4 |
Senior Member
Pauli
Join Date: Mar 2009
Posts: 189
Rep Power: 17 |
Starting with the sample code, change boundary region number 5 (IREG.EQ.5) to your boundary region number. Then add your profile (TORHF = f(x,y)) & remove the other parameters. Parameters not defined in the use subroutine will default to the values specified in the GUI's BC panel.
|
|
July 7, 2009, 05:48 |
|
#5 |
New Member
Join Date: Jul 2009
Posts: 11
Rep Power: 17 |
Thank you Pauli,
I have found this topic : http://www.cfd-online.com/Forums/cd-...rature-bc.html Jimmy was trying to set varying temperature versus x,y,z. It's a bit like my problem. So i have adapted the code to my case, and it seems to work fine. Kevin |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Total heat transf. rate vs Total surface heat flux | Renato Sousa | FLUENT | 1 | April 14, 2020 04:27 |
Sign of Heat Flux at wall | Kyung | FLUENT | 2 | February 26, 2016 17:25 |
Heat Flux Wall Boundary Confusion. | Joee | FLUENT | 1 | August 21, 2010 13:20 |
Heat flux in ansys cfx | juliom | OpenFOAM Running, Solving & CFD | 2 | April 14, 2009 15:30 |
Heat Transfer Coeff. at Heat Flux Boundary | Rushyen | CFX | 6 | January 18, 2001 06:09 |