Hi SV developers,
I'm trying to solve a prestress problem using svFSIplus, and I encountered "segfault" if I apply traction on one of the surfaces. The file for traction seems to be fine. If I remove the code for adding traction, the simulation runs fine, so I assume it's a syntax error. Could you give me some suggestions on how to modify the code? Thank you!
My code for adding traction is:
<Add_BC name="inner_wall">
<Type> Traction </Type>
<Traction_values_file_path> traction0122014.vtu </Traction_values_file_path>
</Add_BC>
And the error message is:
Signal: Segmentation fault (11)
[amd128-2301:43270] Signal code: Address not mapped (1)
[amd128-2301:43270] Failing at address: 0x88
[amd128-2301:43270] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x14ed55837520]
[amd128-2301:43270] [ 1] svFSIplus(_ZN10VtkVtpData14VtkVtpDataImpl9read_fileERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x1bc)[0x55ef49445cdc]
[amd128-2301:43270] [ 2] svFSIplus(_ZN10VtkVtpDataC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb+0x7b)[0x55ef49445e4b]
[amd128-2301:43270] [ 3] svFSIplus(_ZN13read_files_ns14read_trac_bcffER6ComModR6MBTypeR8faceTypeRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x77)[0x55ef495204d7]
[amd128-2301:43270] [ 4] svFSIplus(_ZN13read_files_ns7read_bcEP10SimulationP18EquationParametersR6eqTypeP27BoundaryConditionParametersR6bcType+0x135c)[0x55ef495220ec]
[amd128-2301:43270] [ 5] svFSIplus(_ZN13read_files_ns7read_eqEP10SimulationP18EquationParametersR6eqType+0x67f)[0x55ef4952342f]
[amd128-2301:43270] [ 6] svFSIplus(_ZN13read_files_ns10read_filesEP10SimulationRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x14b)[0x55ef49523c9b]
[amd128-2301:43270] [ 7] svFSIplus(main+0x2e5)[0x55ef493e9a25]
[amd128-2301:43270] [ 8] /lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x14ed5581ed90]
[amd128-2301:43270] [ 9] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x14ed5581ee40]
[amd128-2301:43270] [10] svFSIplus(_start+0x25)[0x55ef493fd715]
[amd128-2301:43270] *** End of error message ***
A link to my files for simulation goes here: https://drive.google.com/drive/folders/ ... sp=sharing
segfault when adding traction using svFSIplus
- Krashn Dwivedi
- Posts: 15
- Joined: Fri Feb 03, 2023 2:13 pm
- David Parker
- Posts: 1744
- Joined: Tue Aug 23, 2005 2:43 pm
Re: segfault when adding traction using svFSIplus
Hello,
The file for the Traction_values_file_path parameter should be a VTK VTP file, not a VTU file.
svFSIplus should catch this error and print out a message. I will open an Issue for this.
Cheers,
Dave
The file for the Traction_values_file_path parameter should be a VTK VTP file, not a VTU file.
svFSIplus should catch this error and print out a message. I will open an Issue for this.
Cheers,
Dave