iat-cener / tonatiuh

A Monte Carlo ray tracer for the optical simulation of solar concentrating systems
http://iat-cener.github.io/tonatiuh/
GNU General Public License v3.0
54 stars 14 forks source link

CAD import power per photon seems a little bit too big? #119

Closed ibmendez closed 1 year ago

ibmendez commented 1 year ago

Hello. I'm trying to ray trace a cylindrical receiver, whose absorber tubes and collector are imported from a CAD file. Whenever I export the photon map for 1.5 million rays, it says that the power per photon is 1952.11 (I don't know the units for this). From the tutorial, it seems that the power per photon must be much lower than that.

Attached are the files I think you might need on this. Any help would be greatly appreciated. Thank you.

STL.zip

EDIT: Some dimensions for the CSP system: Receiver: Aperture Diameter: 0.14m Height: 0.14m Dish: Aperture Diameter: 1.9m Focal Length: 1m image image

ibmendez commented 1 year ago

So I think I've figured it out:

My solidworks assembly file is in meters. But when I converted into an STL file, the STL file settings was in millimeters, so I just changed the save settings to meters. It went from 1952.11 power per photon to about 0.002. Thank you to this thread for giving a hint on how to fix this.