CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

groovyBC + wallHeatFlux BC

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 21, 2009, 05:24
Default groovyBC + wallHeatFlux BC
  #1
New Member
 
Praveen
Join Date: Mar 2009
Location: Goteborg, Sweden
Posts: 8
Rep Power: 8
prabhu is on a distinguished road
Hello,

I want to use wallHeatflux BC from wiki page for a heat transfer problem. A non uniform value for heat flux at the boundary using some expression based on the co-ordinates of the faces has to be specified.

I found from the threads that there is a new library ""groovyBC" to specify non-uniform values. I would like know if its possible to use groovyBC with wallHeatFlux BC available.

Has anyone tried using this type of boundry condition? Any ideas to specify non unifrom BC for wallHeatFlux?
prabhu is offline   Reply With Quote

Old   July 21, 2009, 10:56
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,914
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by prabhu View Post
Hello,

I want to use wallHeatflux BC from wiki page for a heat transfer problem. A non uniform value for heat flux at the boundary using some expression based on the co-ordinates of the faces has to be specified.

I found from the threads that there is a new library ""groovyBC" to specify non-uniform values. I would like know if its possible to use groovyBC with wallHeatFlux BC available.

Has anyone tried using this type of boundry condition? Any ideas to specify non unifrom BC for wallHeatFlux?
You could use groovyBC to emulate a nonuniform-wallHeatFluxBC: wallHeatFluxBC propably sets a gradient for the Temperature (which it calculates from the specified heat-flux). In groovyBC you'd have to do the evaluation that wallHeatFluxBC does in the gradientExpression (which can be inhomogenous) and set fractionExpression to 0.

BTW: The expression parsing/evaluation part from groovyBC can be plugged into other BC-classes. So it shouldn't be too difficult to write a groovyWallHatFluxBC. "Not too difficult" is of course a question of perspective
gschaider is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM 300 October 29, 2014 19:00
groovyBC sega OpenFOAM Running, Solving & CFD 12 February 17, 2010 10:30
Calculation of heat transfer coefficients uli_u OpenFOAM Running, Solving & CFD 16 November 25, 2009 11:41
wallHeatFlux for heated walls in laminar channel flow svens OpenFOAM Post-Processing 0 June 20, 2009 20:33
FixedGradient BC update stefan82 OpenFOAM Running, Solving & CFD 4 April 28, 2009 03:10


All times are GMT -4. The time now is 22:40.