Search found 29 matches

by ximeng
Mon Nov 04, 2024 6:21 pm
Forum: code_saturne usage
Topic: output velocity data at each time step from the cell centers
Replies: 5
Views: 332

Re: output velocity data at each time step from the cell centers

Hi Yvan, Thank you for your reply. I’m only using g_ii to display the total cell count across the entire domain, and it’s not used in any subsequent code or output, so I don’t think it’s related to the error. I removed this section and kept only a single output file, the same error still occurs. is ...
by ximeng
Fri Nov 01, 2024 5:26 pm
Forum: code_saturne usage
Topic: output velocity data at each time step from the cell centers
Replies: 5
Views: 332

Re: output velocity data at each time step from the cell centers

Hi Yvan, Thanks for your suggestion! I’ve revised the code in parallel way to output cell volume for a specific zone at each time step (the attached code focuses on cell volume; a similar approach would apply to velocity). I’m using cs_parall_allgather_r to gather cell volume data across all ranks a...
by ximeng
Tue Oct 29, 2024 3:15 am
Forum: code_saturne usage
Topic: output velocity data at each time step from the cell centers
Replies: 5
Views: 332

output velocity data at each time step from the cell centers

Hi team, I need to output velocity data at each time step from the cell centers in my simulation (saved to separate files instead of output through postprocessing folder to avoid large postprocessing results). I've used the attached cs_user_extra_operation.c file to handle this, but the outputs appe...
by ximeng
Thu Oct 10, 2024 12:39 pm
Forum: code_saturne usage
Topic: Automatic change in monitoring point
Replies: 3
Views: 3130

Re: Automatic change in monitoring point

Hi Yvan, I’ve encountered an issue related to this topic. The mesh cells in the area are 30x50, and I’ve placed 100x100 monitoring points with "activate interpolation" and "one probe per cell" enabled. However, the instantaneous results from the monitoring points appear discontin...
by ximeng
Sun Jul 07, 2024 10:02 pm
Forum: code_saturne usage
Topic: Import huge number of monitors for monitoring velocity at each time step
Replies: 2
Views: 11418

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

Hi Yvan,

Thanks. I also found this, and it works.

Best regards,
Ximeng
by ximeng
Fri Jun 28, 2024 3:05 pm
Forum: code_saturne usage
Topic: Import huge number of monitors for monitoring velocity at each time step
Replies: 2
Views: 11418

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

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 impor...
by ximeng
Mon Mar 11, 2024 12:39 am
Forum: code_saturne usage
Topic: streamwise periodicity
Replies: 26
Views: 35139

Re: streamwise periodicity

Hi Yvan, Sorry for the bothering. But there are something wrong in my last post. I have confirmed that the actual delta enthalpy is not 0 between two consecutive time steps. The following are two consecutive time steps outputs in the run_solver.log: time step 1: feedback_term: 0.000000 total_enthalp...
by ximeng
Fri Mar 08, 2024 2:14 pm
Forum: code_saturne usage
Topic: streamwise periodicity
Replies: 26
Views: 35139

Re: streamwise periodicity

Hi Yvan, Thanks for your reply. One point is that It might not related to the code now. The delta enthalpy might be actually really small (might be 0) between two consecutive time steps (since the temperature condition is just two different constant values for ground and air, no heat emission). So I...
by ximeng
Fri Mar 08, 2024 4:05 am
Forum: code_saturne usage
Topic: streamwise periodicity
Replies: 26
Views: 35139

Re: streamwise periodicity

Hi Yvan, Thanks for your prompt feedback! When I add the parallel sums, I obtain expected values for the total volume as shown in the run_solver.log. "feedback_term: 0.000000e+00 total_enthalpy: 1.529331e+02 total_enthalpy_prev: 1.529331e+02 total_volume: 5.237434e-01" The total volume 5.2...
by ximeng
Fri Mar 08, 2024 1:52 am
Forum: code_saturne usage
Topic: streamwise periodicity
Replies: 26
Views: 35139

Re: streamwise periodicity

Hi Yvan, Thanks for your feedback. I've made some revisions to the heat sink term code. Please find the latest version attached. The code works but the results are wrong. I use the following two lines (line 30-31) to get the temperature at the current time step and the previous time step. const cs_r...