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

Heterogeneous heat flux

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 1, 2009, 11:13
Default Heterogeneous heat flux
  #1
Kev
New Member
 
Join Date: Jul 2009
Posts: 11
Rep Power: 16
Kev is on a distinguished road
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
Kev is offline   Reply With Quote

Old   July 2, 2009, 12:40
Default
  #2
Senior Member
 
Pauli
Join Date: Mar 2009
Posts: 189
Rep Power: 17
Pauli is on a distinguished road
A varying profile on one boundary region can be achieved with either a table or user subroutine (bcdefw.f).
Pauli is offline   Reply With Quote

Old   July 3, 2009, 06:30
Default
  #3
Kev
New Member
 
Join Date: Jul 2009
Posts: 11
Rep Power: 16
Kev is on a distinguished road
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
C U=
C V=
C W=
C TORHF=
C SCALAR(1)=
C RESWT=
C RSTSC(1)=
C ENDIF
C-------------------------------------------------------------------------
Kev is offline   Reply With Quote

Old   July 6, 2009, 15:00
Default
  #4
Senior Member
 
Pauli
Join Date: Mar 2009
Posts: 189
Rep Power: 17
Pauli is on a distinguished road
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.
Pauli is offline   Reply With Quote

Old   July 7, 2009, 05:48
Default
  #5
Kev
New Member
 
Join Date: Jul 2009
Posts: 11
Rep Power: 16
Kev is on a distinguished road
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
Kev is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
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


All times are GMT -4. The time now is 01:48.