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

ShapeCad crash #79

Closed JJP660 closed 7 years ago

JJP660 commented 7 years ago

Hi

I'm studying the effects of external loads on the optics of heliostat mirror panels. Currently, my process is to export a deformed mirror surface from an FEA package in STL format and then import it to Tonatiuh for ray tracing. I've been testing finer mesh sizes to improve ray tracing accuracy resulting in larger STL files. The latest file is 20Mb and Tonatiuh immediately crashes upon import. I've monitored the computer's resources during the import and can't see any issues there. Is there anything else that can limit the CAD import size?

Thanks in advance!

ilescener commented 7 years ago

Dear Tonatiuh user,

First of all, I want to apologize for the long delay of the answer.

Does the problem still persist? I've never tried to import STL files as weigh as 20Mb but should work correctly. Does Tonatiuh work when the mesh size is larger and the correspondent STL file is less weight?

Kind regards Iñigo

JJP660 commented 7 years ago

Dear Iñigo

Yes, this problem still persists with this particular model. Regarding your second question, yes, when I define the same surface using a coarser mesh (resulting in a smaller file size) then it works without a problem. Can I perhaps send you the problematic file to test?

Regards


From: ilescener notifications@github.com Sent: Monday, 22 August 2016 4:47:20 PM To: iat-cener/tonatiuh Cc: Johannes Pottas; Author Subject: Re: [iat-cener/tonatiuh] ShapeCad crash (#79)

Dear Tonatiuh user,

First of all, I want to apologize for the long delay of the answer.

Does the problem still persist? I've never tried to import STL files as weigh as 20Mb but should work correctly. Does Tonatiuh work when the mesh size is larger and the correspondent STL file is less weight?

Kind regards Iñigo

You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/iat-cener/tonatiuh/issues/79#issuecomment-241327353, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ATsePJWK6KaHe15xb6Xc18IqmPeRA6Alks5qiUX4gaJpZM4JUqcr.

ilescener commented 7 years ago

Yes, You even can send me both files, one file that works perfect (coarse mesh) and the one that doesn't (fine mesh).

Thank you Iñigo

JJP660 commented 7 years ago

Thanks Iñigo. Please see both files attached.

Regards


From: Johannes Pottas Sent: Wednesday, 24 August 2016 4:48:52 PM To: iat-cener/tonatiuh; iat-cener/tonatiuh Cc: Author Subject: Re: [iat-cener/tonatiuh] ShapeCad crash (#79)

Thanks Iñigo. Please see both files attached.

Regards

Johannes Pottas Research Officer Research School of Engineering College of Engineering and Computer Science The Australian National University Acton ACT 2601

M 045 965 6961


From: ilescener notifications@github.com Sent: Tuesday, 23 August 2016 4:13:57 PM To: iat-cener/tonatiuh Cc: Johannes Pottas; Author Subject: Re: [iat-cener/tonatiuh] ShapeCad crash (#79)

Yes, You even can send me both files, one file that works perfect (coarse mesh) and the one that doesn't (fine mesh).

Thank you Iñigo

You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/iat-cener/tonatiuh/issues/79#issuecomment-241636841, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ATsePISB2LXMjQeJxZguYWPPqZJuteudks5qio-lgaJpZM4JUqcr.

ilescener commented 7 years ago

I can't see the files. You may have forgotten to upload them or something didn't work properly. Could you do it again, please?

JJP660 commented 7 years ago

They are both in the zipped file called Paramesh.7z because they are too large to email.

Here they are again. Let me know if you have issues extracting them.

Regards

ilescener commented 7 years ago

They are not attached. I guess the files are too large to answer the topic through email. I propose you to upload them to DropBox, for example, and pass the link for downloading them.

Is it possible?

JJP660 commented 7 years ago

Hi Iñigo

They can now be downloaded from the following two links:

https://cloudstor.aarnet.edu.au/sender/?vid=140b8eca-0a4f-86a8-fbbb-0000719d31b8

https://cloudstor.aarnet.edu.au/sender/?vid=467fb266-3dda-2929-3a33-00002d9c4c48

Let me know if you have any further problems.

Regards

ilescener commented 7 years ago

Hello.

Sorry for the late answer but Github didn't make me know (usually it does) you had answered.

I found the issue, when Tonatiuh tries to import that CAD sufrace some internal variables get their memory full and crashes. I fixed it and attached is a Tonatiuh file with your surface.

In case you want to import more heavy CAD surface don't hesitate in contact me. In spite of that, I hope a new version of Tonatiuh will be released in the next days.

Kind regards finepara.zip

JJP660 commented 7 years ago

Thanks for your help!

Regards


From: ilescener notifications@github.com Sent: Tuesday, 13 September 2016 1:03:54 AM To: iat-cener/tonatiuh Cc: Johannes Pottas; Author Subject: Re: [iat-cener/tonatiuh] ShapeCad crash (#79)

Hello.

Sorry for the late answer but Github didn't make me know (usually it does) you had answered.

I found the issue, when Tonatiuh tries to import that CAD sufrace some internal variables get their memory full and crashes. I fixed it and attached is a Tonatiuh file with your surface.

In case you want to import more heavy CAD surface don't hesitate in contact me. In spite of that, I hope a new version of Tonatiuh will be released in the next days.

Kind regards finepara.ziphttps://github.com/iat-cener/tonatiuh/files/467609/finepara.zip

You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/iat-cener/tonatiuh/issues/79#issuecomment-246377263, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ATsePOFCxG94s8Hcy5pqTVsVoyKq9sHJks5qpWnagaJpZM4JUqcr.

JJP660 commented 7 years ago

Hi Iñigo

Is there any indication when the next version containing this fix will be released?

Thanks


From: Johannes Pottas Sent: Tuesday, 13 September 2016 9:09 AM To: iat-cener/tonatiuh; iat-cener/tonatiuh Cc: Author Subject: Re: [iat-cener/tonatiuh] ShapeCad crash (#79)

Thanks for your help!

Regards


From: ilescener notifications@github.com Sent: Tuesday, 13 September 2016 1:03:54 AM To: iat-cener/tonatiuh Cc: Johannes Pottas; Author Subject: Re: [iat-cener/tonatiuh] ShapeCad crash (#79)

Hello.

Sorry for the late answer but Github didn't make me know (usually it does) you had answered.

I found the issue, when Tonatiuh tries to import that CAD sufrace some internal variables get their memory full and crashes. I fixed it and attached is a Tonatiuh file with your surface.

In case you want to import more heavy CAD surface don't hesitate in contact me. In spite of that, I hope a new version of Tonatiuh will be released in the next days.

Kind regards finepara.ziphttps://github.com/iat-cener/tonatiuh/files/467609/finepara.zip

You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/iat-cener/tonatiuh/issues/79#issuecomment-246377263, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ATsePOFCxG94s8Hcy5pqTVsVoyKq9sHJks5qpWnagaJpZM4JUqcr.

ilescener commented 7 years ago

Hi. We will try to release the new version next week.

ilescener commented 7 years ago

Dear user,

The last version of Tonatiuh has just released. Check it here: https://github.com/iat-cener/tonatiuh/releases/tag/2.2.2 Enjoy it!

Iñigo