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

Solar load sun direction not accurate-Is it a bug?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 22, 2021, 03:37
Default Solar load sun direction not accurate-Is it a bug?
  #1
Member
 
Bushra Rasheed
Join Date: Dec 2020
Posts: 97
Rep Power: 5
B_R_Khan is on a distinguished road
Hi!

I was going through openfoam simpleSolarCar tutorial to check out solar load radiation model. I found that the direction of sun written in radiation properties> sunDirectionModel is different from the actual sun direction shown in paraview. I though that it might be a problem limited to the tutorial only and set up my own case files of a solar panel on ground. My case files gave wrong sun direction as well. I changed the z coordinate from +5 to -5 , making sun location under the ground but it gave right results, although the sun is now underground technically. I am attaching my domain showing that the panel is at 0 and it's illuminated side is upward while sun direction in radiation properties is set at (0 0 -5).

Please help me find the source of error. Is it an openfoam bug? or am I missing something?


Thanks
Attached Images
File Type: png wrong sun direction.png (42.4 KB, 26 views)
File Type: png wrong sun direction_radiation_properties.png (48.4 KB, 19 views)
B_R_Khan is offline   Reply With Quote

Old   November 23, 2021, 06:33
Default
  #2
Member
 
Bushra Rasheed
Join Date: Dec 2020
Posts: 97
Rep Power: 5
B_R_Khan is on a distinguished road
Update:

So I realized later that it's not location of sun but instead the direction of sun so if I want my sun to be vertically up at +5 z axis location, I should give -5 z axis sun direction
However one problem still remains: Why is only upper side of panel illuminated and the ground shows 0 qr value even though its boundary condition is the same as the panel's?
B_R_Khan is offline   Reply With Quote

Reply

Tags
solar load model, sundirectionmodel


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
UDF bug, for reversing flow direction and magnitude EngGhost Fluent UDF and Scheme Programming 12 April 20, 2020 08:50
how to use Sundirconst for a solar load application UserMa OpenFOAM Running, Solving & CFD 2 February 6, 2017 11:06
Solar Calculator Dorasemon FLUENT 1 July 25, 2013 10:20
Solar load in Icepak drejac FLUENT 0 September 18, 2012 10:56
Bug for cylindrical components of flow direction ? pierre victor cueille CFX 1 May 2, 2006 10:37


All times are GMT -4. The time now is 20:28.