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

[swak4Foam] groovyBC + wallHeatFlux BC

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

Reply
 
LinkBack Thread Tools Search this Thread 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: 17
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: 4,225
Rep Power: 51
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 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
[swak4Foam] reactingMultiPhaseEulerFoam problems with groovyBC zanilu70 OpenFOAM Community Contributions 4 December 13, 2016 06:46
[swak4Foam] Change in alpha and U with groovyBC in twoPhaseEulerFoam dani2702 OpenFOAM Community Contributions 0 November 17, 2016 03:30
wallHeatFlux utility with sonicFoam hiuluom OpenFOAM Post-Processing 3 September 18, 2015 07:39
Something doens't work with wallHeatFlux utility or externalWallHeatFluxTemperat BC!! zfaraday OpenFOAM Post-Processing 0 February 5, 2015 16:47
[swak4Foam] groovyBC and Eqn.setReference() benk OpenFOAM Community Contributions 3 June 2, 2011 08:49


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