|
[Sponsors] |
January 22, 2023, 23:57 |
Solar ray tracing for cells
|
#1 |
Member
BM
Join Date: Sep 2021
Posts: 35
Rep Power: 5 |
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. |
|
Tags |
fluent, radiation, ray tracing, solar, udf |
|
|
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 |