Reg. Tonatiuh post processing

125 views
Skip to first unread message

Rishav

unread,
Mar 14, 2024, 7:29:07 PM3/14/24
to Tonatiuh - Monte Carlo ray tracer for the optical simulation of CSP systems.
Dear sir,

I am new to optical simulation, yet I found Tonatiuh very user-friendly. But I am facing difficulty in post processing of .dat file.

It would be really helpful for me if you can provide me with Mathematica code that is applicable for post-processing of heat flux at the wall of cavity receiver instead of only aperture for solar power tower.


Rishav

unread,
Mar 19, 2024, 12:23:09 PM3/19/24
to Tonatiuh - Monte Carlo ray tracer for the optical simulation of CSP systems.
Can anybody help me with a Mathematica post-processing code for binary data files that determines heat flux distribution over tubes of a cylindrical cavity receiver?

Rishav

unread,
Mar 19, 2024, 12:23:19 PM3/19/24
to Tonatiuh - Monte Carlo ray tracer for the optical simulation of CSP systems.
Can anyone explain  the statement :
transform01[{id_, x_, y_, z_, side_}] := {x, z}
Does {x, z} represent the receiver plane?

On Friday, March 15, 2024 at 4:59:07 AM UTC+5:30 Rishav wrote:

Manuel J. Blanco

unread,
Mar 19, 2024, 12:31:56 PM3/19/24
to Tonatiuh - Monte Carlo ray tracer for the optical simulation of CSP systems.
transform01 is transforming each list of five elements provided to it in a list of two elements, {x, z}. Thus, is providing you with 2D points with coordinates values {x, z}. What this actually means depends on the context. If {x, y, z} are global coordinates, then {x.z} is the projection of the point on the x-z plane, which if I remember correctly in Tonatiuh is the horizontal plane. If {x, y, z} are local coordinates, again {x,z]) is the projection of the point on the "local" x-z plane. Typically if you are analyzing a flat surface, and it is oriented parallel to any of the planes of references either on the global coordinate system or in a local coordinate system, you use this transformation to get red of the coordinate that is constant for all points.

I hope this helps. If you want a more precise answer, please, provide the rest of the code.

Best regards,

Reply all
Reply to author
Forward
Message has been deleted
0 new messages