hcu5555 / tonatiuh

Automatically exported from code.google.com/p/tonatiuh
0 stars 0 forks source link

Scripting example wont run #71

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.runing the following script on the 500 heliostat example
2.
{{{
 //load a file 
 tonatiuh_filename( "Tower_500SmallHeliostats.tnh" );  
 //number of rays to simulate 
 tonatiuh_numrays( 2000000  );  
 //Sun divisions.  
 tonatiuh_numdivisions(300,300); 

 //type of phton map 
 tonatiuh_photon_map("PhotonMapDefault");  
 //type of random 
 tonatiuh_random_generator("Mersenne Twister");  
 //patch of the target 
 var concentratorSurface = "//RootNode/Tower/Target/Target/Target";  
 //output folder/name of file to export. create the folder previously 
 var concentratorFileName = "folder/filename";  

 //number of interactions 
 for( var i = 1; i <= 250; ++i ){  
         tonatiuh_trace(); //simulate the system 
         var s = i.toString(); 
 //export the photon map data 
         tonatiuh_export(  concentratorFileName.concat( "_", s, ".dat" ),  concentratorSurface, false ); 
 } 
}}}

3. After I run it I get the following error
 Script Execution Error. Error: tonatiuh_photon_map: UnknownError.

I'm working on Windows 8.
Tonatiuh 2.01

Thank you for your help

Original issue reported on code.google.com by juanes.p...@gmail.com on 25 Jul 2014 at 3:32

Attachments: