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

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
ximeng
Posts: 30
Joined: Sun Jan 22, 2023 3:28 pm

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

Post 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
Attachments
monitorsforPODfinal.csv
(1.66 MiB) Downloaded 707 times
Yvan Fournier
Posts: 4210
Joined: Mon Feb 20, 2012 3:25 pm

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

Post 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
ximeng
Posts: 30
Joined: Sun Jan 22, 2023 3:28 pm

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

Post by ximeng »

Hi Yvan,

Thanks. I also found this, and it works.

Best regards,
Ximeng
Post Reply