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

[waves2Foam] working on a improved version of the waveFlume

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 17, 2014, 07:19
Default working on a improved version of the waveFlume
  #1
New Member
 
Olivier Giroux
Join Date: Jun 2014
Location: France
Posts: 1
Rep Power: 0
daxt29 is on a distinguished road
Hello everyone,

I am working on a improved version of the waveFlume to study the free surface elevation of an oscillating water columns. I created the device with FreeCad and I generated the mesh with SnappyHexMesh.

I am running my model in parallel with a cluster. All the first step which initialise the model work well but when I start the first iteration, they stop after 5 sec because of a segmentation fault. I am still a new user of waves2Foam and I would like to know what what can be the origin of this problem.

Here is my error message:

[0] #0 Foam::error:rintStack(Foam::Ostream&) in "/opt/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[0] #1 Foam::sigSegv::sigHandler(int) in "/opt/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[0] #2
[0] at sigaction.c:0
[0] #3 Foam::sampledSurfaceElevation::sampleIntegrateAndW rite(Foam::sampledSurfaceElevation::fieldGroup<dou ble>&) in "/home/ogiroux/OpenFOAM/ogiroux-2.1.1/platforms/linux64GccDPOpt/lib/libwaves2Foam.so"
[0] #4 Foam::OutputFilterFunctionObject<Foam::sampledSurf aceElevation>::execute(bool) in "/home/ogiroux/OpenFOAM/ogiroux-2.1.1/platforms/linux64GccDPOpt/lib/libwaves2Foam.so"
[0] #5 Foam::functionObjectList::execute(bool) in "/opt/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[0] #6 Foam::Time::run() const in "/opt/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[0] #7
[0] in "/home/ogiroux/OpenFOAM/ogiroux-2.1.1/platforms/linux64GccDPOpt/bin/waveFoam"
[0] #8 __libc_start_main in "/lib64/libc.so.6"
[0] #9
[0] in "/home/ogiroux/OpenFOAM/ogiroux-2.1.1/platforms/linux64GccDPOpt/bin/waveFoam"
[compute-0-37:14938] *** Process received signal ***
[compute-0-37:14938] Signal: Segmentation fault (11)
[compute-0-37:14938] Signal code: (-6)
[compute-0-37:14938] Failing at address: 0x23e00003a5a
[compute-0-37:14938] [ 0] /lib64/libc.so.6() [0x3d70a329a0]
[compute-0-37:14938] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x3d70a32925]
[compute-0-37:14938] [ 2] /lib64/libc.so.6() [0x3d70a329a0]
[compute-0-37:14938] [ 3] /home/ogiroux/OpenFOAM/ogiroux-2.1.1/platforms/linux64GccDPOpt/lib/libwaves2Foam.so(_ZN4Foam23sampledSurfaceElevation 23sampleIntegrateAndWriteERNS0_10fieldGroupIdEE+0x 77b) [0x2b3cec78eb8b]
[compute-0-37:14938] [ 4] /home/ogiroux/OpenFOAM/ogiroux-2.1.1/platforms/linux64GccDPOpt/lib/libwaves2Foam.so(_ZN4Foam26OutputFilterFunctionObj ectINS_23sampledSurfaceElevationEE7executeEb+0x88) [0x2b3cec797dc8]
[compute-0-37:14938] [ 5] /opt/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam18functionObjectList7execut eEb+0xf9) [0x2b3cecbf4da9]
[compute-0-37:14938] [ 6] /opt/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam4Time3runEv+0xb0) [0x2b3cecbf86c0]
[compute-0-37:14938] [ 7] waveFoam() [0x429f6b]
[compute-0-37:14938] [ 8] /lib64/libc.so.6(__libc_start_main+0xfd) [0x3d70a1ed1d]
[compute-0-37:14938] [ 9] waveFoam() [0x4277a9]
[compute-0-37:14938] *** End of error message ***
[compute-0-40][[41936,1],8][btl_tcp_frag.c:215:mca_btl_tcp_frag_recv] mca_btl_tcp_frag_recv: readv failed: Connection reset by peer (104)
--------------------------------------------------------------------------
mpirun noticed that process rank 0 with PID 14938 on node compute-0-37 exited on signal 11 (Segmentation fault).
daxt29 is offline   Reply With Quote

Old   July 19, 2014, 06:01
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Good morning

@Olivier: Something is wrong with your surface elevation extraction at run-time. At least that is where the code fails. Check the validity of the wave gauges.

Kind regards,

Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.

Last edited by wyldckat; October 8, 2018 at 11:13. Reason: removed answer to another post that was on the main thread
ngj is offline   Reply With Quote

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FLUENT] UDF NOT working in new version of Fluent Faggio11 Fluent UDF and Scheme Programming 6 February 10, 2017 15:13
3D FSI not working parallel in version 4.3.0 shivak SU2 0 September 19, 2016 08:21
How can i uninstall new version of OF shipman OpenFOAM Installation 5 August 12, 2013 05:01
compressible low speed channel flow -Ali OpenFOAM Running, Solving & CFD 11 May 9, 2013 08:40
wmake error zxj160 OpenFOAM 0 March 26, 2012 11:52


All times are GMT -4. The time now is 06:31.