Hello Yvan,
Attached you will find the xml and the ALE routines.
I am simulating a vibrating tube in a tube bundle. I set the mesh viscosity constant (with a high value) on subdomains corresponding to the tubes boundary layer, and mesh viscosity as a function of the distance in the mesh around the moving tube.
After having realized some tests, I notice that I have a SIGSEGV problem when activating the "implicit coupling" (during iteration number 3 to be precise):
Code: Select all
** DISTANCE A LA PAROI
-------------------
Distance min = 0.29308E-05 Distance max = 0.11062E+00
SIGSEGV signal (forbidden memory area access) intercepted!
Call stack:
1: 0x2ac7b0278e73 <precli_+0xdc> (libsaturne-6.0.so)
2: 0x2ac7b013abbb <condli_+0x371> (libsaturne-6.0.so)
3: 0x2ac7b029cd5d <tridim_+0x2efd> (libsaturne-6.0.so)
4: 0x2ac7b011dea2 <caltri_+0x20f2> (libsaturne-6.0.so)
5: 0x2ac7afe5b845 <cs_run+0x5f5> (libcs_solver-6.0.so)
6: 0x2ac7afe5b115 <main+0x175> (libcs_solver-6.0.so)
7: 0x2ac7b52d9b35 <__libc_start_main+0xf5> (libc.so.6)
8: 0x401749 <> (cs_solver)
End of stack
Without implicit coupling, the simulation runs fine. Moreover, decreasing the convergence value (epalim) to 1e-2 makes the simulation run ok. I am performing exactly the same simulation (with exactly the same mesh) I had already performed with v5, and in v5 I had no such issue when using implicit coupling. How do you interpret the SIGSEGV error? I don’t think it is due to a negative volume. It looks more a problem of boundary conditions....?
If the too low value of epalim (normally set to 1e-7 in my simulation) could represent a problem during the first iterations, is there a way of changing this value during the simulation? Something like:
Code: Select all
if (ttcabs.lt.t_switch) then
nalimx = 20
epalim = 1.d-2
else
nalimx = 20
epalim = 1.d-7
endif
I guess the the cs_user_parameters.f90 is only called at the beginning of the simulation, therefore using this kind of definition for epalim is useless inside the cs_user_parameters.f90.
Many thanks.
Best regards,
Daniele