Search found 136 matches

by Ruonan
Fri Feb 11, 2022 1:14 pm
Forum: code_saturne usage
Topic: Error run LES when restart from RANS
Replies: 14
Views: 5259

Re: Error run LES when restart from RANS

Hello Yvan, Thank you very much for debugging. Unfortunately, this error occurred again. I use the new feature version 7.1. I found when I restart LES Smagorinsky from k-omega SST, it's OK. But when I restart LES Smagorinsky from Spalart-Allmaras, this error happened again. So there may be something...
by Ruonan
Thu Feb 10, 2022 6:21 pm
Forum: code_saturne usage
Topic: error (divergence) solving for Pressure
Replies: 6
Views: 2152

Re: error (divergence) solving for Pressure

Thank you Yvan! This is new knowledge for me.

Best regards,
Ruonan
by Ruonan
Thu Feb 10, 2022 12:55 pm
Forum: code_saturne usage
Topic: error (divergence) solving for Pressure
Replies: 6
Views: 2152

Re: error (divergence) solving for Pressure

Hello Yvan, Thank you very much for pointing out the mesh problem. At first I thought it was a warning, not an error, so I ignored it. Now I solved it. The original mesh was structured with multiple zones. I used Pointwise to join all the zones into one unstructured zone, then exported it. Then the ...
by Ruonan
Mon Feb 07, 2022 5:17 pm
Forum: code_saturne usage
Topic: error (divergence) solving for Pressure
Replies: 6
Views: 2152

Re: error (divergence) solving for Pressure

Hello Yvan, Thank you very much. Following your kind comments, I did some experiments: 1. First, I removed the source term subroutine, but ended up with the same error: divergence pressure. 2. Then, I decreased the timestep by a factor of 1000, from 1.9E-4s to 1.9E-7s, but again ended up with the sa...
by Ruonan
Sun Feb 06, 2022 4:12 pm
Forum: code_saturne usage
Topic: error (divergence) solving for Pressure
Replies: 6
Views: 2152

error (divergence) solving for Pressure

Dear Code_Saturne Team, Could you please help me with this error? I am running a new case using the new feature version 7.1. But one error occurred at the first time step: Flexible Conjugate Gradient: error (divergence) solving for Pressure Conjugate Gradient [Pressure:coarse:10]: divergence after 1...
by Ruonan
Tue Jan 18, 2022 4:07 pm
Forum: code_saturne usage
Topic: Restart error-Invalid (not a number) values detected for a field
Replies: 11
Views: 4899

Re: Restart error-Invalid (not a number) values detected for a field

Hello Yvan, Thanks a lot for your suggestions. But sorry that I still can't get it work. I tried the first method you suggested. The compilation was ok, but there seems no change. The case still can't restart, with the same error (infinite density) as before. I then tried your second method, adding ...
by Ruonan
Sat Jan 15, 2022 12:57 am
Forum: code_saturne usage
Topic: Restart error-Invalid (not a number) values detected for a field
Replies: 11
Views: 4899

Re: Restart error-Invalid (not a number) values detected for a field

Hello Yvan, Thank you very much, your help is much appreciated. Unfortunately, I tried both "read auxiliary restart file" and "standard I/O serial", but the error was still there. I still can't restart. But interestingly, when I remove the cs_user_physical_properties.f90, the cas...
by Ruonan
Thu Jan 13, 2022 4:28 pm
Forum: code_saturne usage
Topic: Restart error-Invalid (not a number) values detected for a field
Replies: 11
Views: 4899

Re: Restart error-Invalid (not a number) values detected for a field

Hello Yvan, Thank you very much. Yes, if I run it for only a few iterations and then restart, I won't have this issue either. Regarding this case, I ran 366390 iterations before I restart. I used "n_procs: 56, n_threads: 1". The run_solver.log for previous computation is too large to uploa...
by Ruonan
Wed Jan 12, 2022 4:32 pm
Forum: code_saturne usage
Topic: Restart error-Invalid (not a number) values detected for a field
Replies: 11
Views: 4899

Re: Restart error-Invalid (not a number) values detected for a field

Hello Yvan,

Attached is the second subroutine. Thank you!

Best regards,
Ruonan
by Ruonan
Wed Jan 12, 2022 4:31 pm
Forum: code_saturne usage
Topic: Restart error-Invalid (not a number) values detected for a field
Replies: 11
Views: 4899

Re: Restart error-Invalid (not a number) values detected for a field

Hello Yvan, Thank you very much for debugging! I attached the mesh, xml and subroutines. I use two subroutines, one for changing the density, the other one for adding centrifugal source term explicitly to the momentum equation. One strange thing is, when I run it for a shorter time and then restart,...