Page 1 of 1

cs_user_boundary_conditions

Posted: Tue May 26, 2015 12:40 pm
by frpageot
Hello,

Does anybody use cs_user_boundary_conditions in CS4 ? I tried to use it and each time I have an error :
Signal SIGSEGV (accès à une zone mémoire interdite) intercepté !

Pile d'appels :
1: 0x401176 <cs_user_boundary_conditions_+0x2f9> (cs_solver)
2: 0x7fce4d21e04e <tridim_+0x355e> (libsaturne.so.0)
3: 0x7fce4d0fd1de <caltri_+0x301e> (libsaturne.so.0)
4: 0x7fce4d0d531e <cs_run+0x3fe> (libsaturne.so.0)
5: 0x7fce4d0d4e12 <main+0x112> (libsaturne.so.0)
6: 0x7fce4c490ec5 <__libc_start_main+0xf5> (libc.so.6)
7: 0x400db9 <> (cs_solver)
Fin de la pile

I tried different conditions, but even the simpliest one (only a fixed velocity) does not run on my installation, still with the same message.

Does someone experienced the same problem ?

Re: cs_user_boundary_conditions

Posted: Tue May 26, 2015 5:47 pm
by Yvan Fournier
Hello,

Yes, we use it for many cases.

Contrary to many other subroutines, its use has not changed much since version 3.0 (except for the argument list).

Regards,

Yvan

Re: cs_user_boundary_conditions

Posted: Wed May 27, 2015 10:47 am
by frpageot
OK,I used a subroutines I used with version 3 and there is slight adaptions to do to make it run with CS4, that was the problem. I did not pay attention to the argument list, and copied everything from version 3. This is an error I made from version 2 to version 3 as well.... sorry to bother you with that.