CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Foam::error::printStack(Foam::Ostream&)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 31, 2018, 06:12
Unhappy Foam::error::printStack(Foam::Ostream&)
  #1
Member
 
Jiadong Wang
Join Date: Mar 2018
Location: Australia
Posts: 32
Rep Power: 8
jiadongw is on a distinguished road
Hi Foamers,

I encountered a problem when run a tutorial using my simply modified solver.

I try to simulate a prescribed motion using sixDoFRigidBodyMotion solver. So I modified the symplectic.C in src/sixDoFRigidBodyMotion/sixDoFSolvers/symplectic/.

The only thing I changed is the calculation of centreOfRotation.
The original formula is: centreOfRotation() = centreOfRotation0() + deltaT*v();
In my modified file it is:
centreOfRotation()[0] = centreOfRotation0()[0] + deltaT*v()[0];
centreOfRotation()[1] = centreOfRotation0()[1] + 0.2*sin(6.28*t);
centreOfRotation()[2] = centreOfRotation0()[2] + deltaT*v()[2];

I want to make the body conduct a heave motion in vertical direction with sinusoidal function depend on time. Anyway, the solver is compiled well.
Then, I test the modified solver using wingMotion tutorial, but got the following error:
[2] #0 Foam::error::printStack(Foam::Ostream&)[3] #0 Foam::error::printStack(Foam::Ostream&)[0] [1] #0 Foam::error::printStack(Foam::Ostream&)#0 Foam::error::printStack(Foam::Ostream&) at ??:?
[2] #1 Foam::sigFpe::sigHandler(int) at ??:?
at ??:?
at ??:?
[1] #1 Foam::sigFpe::sigHandler(int)[3] #1 Foam::sigFpe::sigHandler(int)[0] #1 Foam::sigFpe::sigHandler(int) at ??:?
[1] #2 ? at ??:?
[2] #2 ? at ??:?
[0] #2 ? at ??:?
[3] #2 ? in "/lib/x86_64-linux-gnu/libc.so.6"
[1] #3 ? in "/lib/x86_64-linux-gnu/libc.so.6"
[3] #3 ? in "/lib/x86_64-linux-gnu/libc.so.6"
[0] #3 ? in "/lib/x86_64-linux-gnu/libc.so.6"
[2] #3 ? in "/usr/lib/libmpi.so.12"
[0] #4 ompi_coll_tuned_allreduce_intra_recursivedoubling in "/usr/lib/libmpi.so.12"
[1] #4 ompi_coll_tuned_allreduce_intra_recursivedoubling in "/usr/lib/libmpi.so.12"
[2] #4 ompi_coll_tuned_allreduce_intra_recursivedoubling in "/usr/lib/libmpi.so.12"
[3] #4 ompi_coll_tuned_allreduce_intra_recursivedoubling at ??:?
[2] #5 PMPI_Allreduce at ??:?
[1] #5 PMPI_Allreduce at ??:?
[0] #5 PMPI_Allreduce at ??:?
[3] #5 PMPI_Allreduce in "/usr/lib/libmpi.so.12"

Hope anyone who has relevant experience can provide me some suggestions. Any information is appreciated.
Attached Files
File Type: zip log file.zip (76.4 KB, 0 views)
jiadongw is offline   Reply With Quote

Reply

Tags
sixdofsolver


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 17:24.