cs_user_boundary_conditions

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
frpageot
Posts: 85
Joined: Wed Mar 21, 2012 1:10 pm

cs_user_boundary_conditions

Post 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 ?
Fred
Xubuntu 16.04 / CS5.0
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: cs_user_boundary_conditions

Post 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
frpageot
Posts: 85
Joined: Wed Mar 21, 2012 1:10 pm

Re: cs_user_boundary_conditions

Post 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.
Fred
Xubuntu 16.04 / CS5.0
Post Reply