Page 1 of 1

Import huge number of monitors for monitoring velocity at each time step

Posted: Fri Jun 28, 2024 3:05 pm
by ximeng
Hi Yvan,

Sorry for the bothering.

I need to obtain velocity data at each time step for a large number of monitors (104,197 monitors, as shown in the attached file). I tried using the GUI Postprocessing-Monitoring Points-Import from CSV, but it only works for up to 3,000 monitors. When I try to import all 104,197 monitors at once, the system freezes. Is there a more suitable method for this? I only need the velocity data at each time.

Thanks!

Best regards,
Ximeng

Re: Import huge number of monitors for monitoring velocity at each time step

Posted: Tue Jul 02, 2024 6:33 pm
by Yvan Fournier
Hello,

Does the freeze occur in the GUI ? In this case, I recomend trying to define th probe sets from user-defined functions. See https://www.code-saturne.org/documentat ... bes_p.html for examples. In this case, you need to read the data from the CSV file yourself, though you can also try the built-in reader (using the cs_file_csv_parse function), which will probably require more memory but is relatively simple to use.

Note the the probe system is not designed for such a hight number of probes, so I am not sure of the impact on the cdoe's performance.

Best regards,

Yvan

Re: Import huge number of monitors for monitoring velocity at each time step

Posted: Sun Jul 07, 2024 10:02 pm
by ximeng
Hi Yvan,

Thanks. I also found this, and it works.

Best regards,
Ximeng