CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Solar ray tracing for cells

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 22, 2023, 23:57
Default Solar ray tracing for cells
  #1
Member
 
BM
Join Date: Sep 2021
Posts: 35
Rep Power: 5
blyatman is on a distinguished road
Hi everyone, I'm trying to create a UDF which determines whether a ray intersects a cell. For context, I'm trying to determine whether a cell is directly exposed to solar rays. I.e. given the solar position, the UDF would assign a value of 0 to cells which are shaded, and 1 to cells which are exposed.

I'm aware that Fluent has a solar calculator ray tracer, but this only works for faces, rather than cells. I have tried using the DO solar irradiation model, but after spending hours tweaking various parameters, it was still too diffuse and too unreliable to say whether a cell is "shaded" or not.

My UDF coding skills are fairly beginner level, and I currently have no idea on how to even approach this. I was wondering if anyone could provide some help or point me to resources into how I would go about doing this. Alternatively, if you believe such a task would be far too complex for a beginner like myself, please let me know.
blyatman is offline   Reply With Quote

Reply

Tags
fluent, radiation, ray tracing, solar, udf


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
Discussion related to Solar Ray Tracing and Solar Irradiation Solar Load model ari003 FLUENT 0 January 18, 2023 04:20
Does OpenFoam use solar ray tracing or solar discrete ordinate method? B_R_Khan OpenFOAM Running, Solving & CFD 0 November 26, 2021 04:58
Solar concentrator radiation problem (solar ray tracing) soankerabhinay FLUENT 2 October 16, 2019 01:43
Solar Ray Tracing and non conformal interface AlexBene FLUENT 2 July 16, 2018 06:33
Problem with Solar Ray Tracing apply - please help anna9 FLUENT 1 January 22, 2017 07:01


All times are GMT -4. The time now is 12:41.