CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Add solar radiation to laplacianFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 5, 2016, 10:50
Default Add solar radiation to laplacianFoam
  #1
New Member
 
aaron outhwaite
Join Date: Mar 2016
Posts: 10
Rep Power: 10
aar_out is on a distinguished road
Hi all,

I am working on a (relatively) simple problem involving a slab thermal mass - here water - and the heat equation:

ρC_p*∂T/∂t=-∇∙(k∇T)+(q_v )

In this case, the source term q_v is a solar load that is incident on a single patch (1 5 4 0), resulting in a change in the slab temperature.

I would like to use laplacianFoam for this (to start), and then move to more complicated buoyant and multi-region solvers. I have played around with adding q_v as a source term to the laplacianFoam.c file, but with the coding required to properly track the diurnal variations in the solar load, I prefer instead to add solar radiation using the solarLoad solver (as part of the radiationModel package available in v1606+).

As such, I need to add radiationModel.H to the laplacianFoam solver. This is where I get lost; I've tried to copy the radiationModel.H implementation in more complex solvers, but get lost in the details.

Has anyone else tried to add radiation to laplacianFoam? Any help would be greatly appreciated!
aar_out is offline   Reply With Quote

Old   August 5, 2016, 11:09
Default Add solar radiation to laplacianFoam
  #2
New Member
 
aaron outhwaite
Join Date: Mar 2016
Posts: 10
Rep Power: 10
aar_out is on a distinguished road
Attached image is the scenario that I am considering.
Attached Images
File Type: jpg Window Heat Flux.jpg (60.4 KB, 61 views)

Last edited by aar_out; August 5, 2016 at 11:10. Reason: (via Ismail + Henriquez 2003)
aar_out is offline   Reply With Quote

Old   April 30, 2017, 15:12
Default
  #3
New Member
 
Sergio López Sánchez
Join Date: Mar 2017
Posts: 4
Rep Power: 9
sergiolopezsan is on a distinguished road
Quote:
Originally Posted by aar_out View Post
Attached image is the scenario that I am considering.
I am also doing something like that. Did you get the solution to the problem?
sergiolopezsan 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
Monte Carlo Simulation: H-Energy is not convergating & high Incident Radiation volleyHC CFX 5 April 3, 2016 05:41
Floating point error with Solar radiation Ruzic STAR-CCM+ 1 December 21, 2012 14:38
solar radiation javad814 OpenFOAM 0 September 27, 2011 13:16
solar radiation javad814 OpenFOAM 0 September 23, 2011 16:43
Solar radiation though double glazing Multiband CFX 0 January 26, 2009 08:19


All times are GMT -4. The time now is 15:26.