Mapped inlet
Posted: Wed Oct 05, 2016 10:30 am
Hello,
Based on a previous post, I modified the subroutines to apply a b.c. according to a data file.
But I get the following error:
SIGSEGV signal (forbidden memory area access) intercepted!
Call stack:
1: 0x403dda <cs_cub_interpolate+0x1cda> (cs_solver)
2: 0x407cbb <cs_user_boundary_conditions_+0x1a4f> (cs_solver)
3: 0x7f20d700ed20 <tridim_+0x3640> (libsaturne.so.0)
4: 0x7f20d6eed1c6 <caltri_+0x3006> (libsaturne.so.0)
5: 0x7f20d6ec3e2e <cs_run+0x3fe> (libsaturne.so.0)
6: 0x7f20d6ec3922 <main+0x112> (libsaturne.so.0)
7: 0x7f20d4648b15 <__libc_start_main+0xf5> (libc.so.6)
8: 0x401b69 <> (cs_solver)
End of stack
As you can see from the listing file, the reading is done correctly, but when it tries to interpolate the data I get the error. Any hint?
Thanks for your time,
Andrea
Based on a previous post, I modified the subroutines to apply a b.c. according to a data file.
But I get the following error:
SIGSEGV signal (forbidden memory area access) intercepted!
Call stack:
1: 0x403dda <cs_cub_interpolate+0x1cda> (cs_solver)
2: 0x407cbb <cs_user_boundary_conditions_+0x1a4f> (cs_solver)
3: 0x7f20d700ed20 <tridim_+0x3640> (libsaturne.so.0)
4: 0x7f20d6eed1c6 <caltri_+0x3006> (libsaturne.so.0)
5: 0x7f20d6ec3e2e <cs_run+0x3fe> (libsaturne.so.0)
6: 0x7f20d6ec3922 <main+0x112> (libsaturne.so.0)
7: 0x7f20d4648b15 <__libc_start_main+0xf5> (libc.so.6)
8: 0x401b69 <> (cs_solver)
End of stack
As you can see from the listing file, the reading is done correctly, but when it tries to interpolate the data I get the error. Any hint?
Thanks for your time,
Andrea