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

[waves2Foam] Surface elevation sigsegv on "sampledSurfaceElevation::sampleIntegrateAndWr ite"

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   January 8, 2016, 07:02
Default Surface elevation sigsegv on "sampledSurfaceElevation::sampleIntegrateAndWr ite"
  #1
Senior Member
 
ArielJ
Join Date: Aug 2015
Posts: 127
Rep Power: 10
arieljeds is on a distinguished road
Hi, I'm trying to use the surface elevation utility and probes to calculate velocities but I'm getting this error after a few time steps:

Code:
smoothSolver:  Solving for alpha.water, Initial residual = 0.000163258, Final residual = 1.37002e-13, No Iterations 2
Phase-1 volume fraction = 0.499709  Min(alpha1) = 0  Max(alpha1) = 1
MULES: Correcting alpha.water
Phase-1 volume fraction = 0.499709  Min(alpha1) = -1.57355e-14  Max(alpha1) = 1
Relaxing time: 0.52 s
DILUPBiCG:  Solving for Ux, Initial residual = 0.0367039, Final residual = 4.33518e-12, No Iterations 2
DILUPBiCG:  Solving for Uy, Initial residual = 0.182004, Final residual = 5.89471e-11, No Iterations 2
DILUPBiCG:  Solving for Uz, Initial residual = 0.0629783, Final residual = 1.61046e-11, No Iterations 2
GAMG:  Solving for p_rgh, Initial residual = 0.0738539, Final residual = 5.28775e-08, No Iterations 5
GAMG:  Solving for p_rgh, Initial residual = 9.70499e-06, Final residual = 5.86964e-08, No Iterations 3
time step continuity errors : sum local = 2.27865e-08, global = 6.40584e-09, cumulative = 6.33201e-08
GAMG:  Solving for p_rgh, Initial residual = 0.000241955, Final residual = 7.58907e-08, No Iterations 4
GAMG:  Solving for p_rgh, Initial residual = 3.12518e-07, Final residual = 3.94517e-08, No Iterations 1
time step continuity errors : sum local = 1.5316e-08, global = 5.29587e-09, cumulative = 6.86159e-08
GAMG:  Solving for p_rgh, Initial residual = 2.65494e-06, Final residual = 5.06483e-08, No Iterations 1
GAMG:  Solving for p_rgh, Initial residual = 5.31601e-08, Final residual = 9.61977e-09, No Iterations 1
time step continuity errors : sum local = 3.73531e-09, global = 3.0406e-09, cumulative = 7.16565e-08
ExecutionTime = 73.44 s  ClockTime = 74 s

#0  Foam::error::printStack(Foam::Ostream&) in "/home/ariel/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1  Foam::sigSegv::sigHandler(int) in "/home/ariel/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2   in "/lib/x86_64-linux-gnu/libc.so.6"
#3  Foam::sampledSurfaceElevation::sampleIntegrateAndWrite(Foam::sampledSurfaceElevation::fieldGroup<double>&) in "/home/ariel/OpenFOAM/ariel-2.3.0/platforms/linux64GccDPOpt/lib/libwaves2FoamSampling.so"
#4  Foam::OutputFilterFunctionObject<Foam::sampledSurfaceElevation>::execute(bool) in "/home/ariel/OpenFOAM/ariel-2.3.0/platforms/linux64GccDPOpt/lib/libwaves2FoamSampling.so"
#5  Foam::functionObjectList::execute(bool) in "/home/ariel/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#6  Foam::Time::run() const in "/home/ariel/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#7
 in "/home/ariel/OpenFOAM/ariel-2.3.0/platforms/linux64GccDPOpt/bin/waveFoam"
#8  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#9
 in "/home/ariel/OpenFOAM/ariel-2.3.0/platforms/linux64GccDPOpt/bin/waveFoam"
Segmentation fault
My postProcessingProperties file:

Code:
deleteParentOutputDirectory false;

regularSpectrum
{
    callName surfaceElevation;

    removeDuplicate true;
    inputDir surfaceElevationAnyName;

    deltaT 0.01;
    tMin   10.0; //0; Default: minimum time
    //tMax    20; // Default: maximum time

    // The action list is a set of processes on the data
    actionList ( interpolateSurfaceElevation powerSpectraLS write2Ascii removeData );

    nFreq 4;
    period 3;
    allDataSets true;
}
My probeDefinitions file:

Code:
surfaceElevationAnyName
{
    type waveGauge;

    pointDistribution lineDistribution;
    N 11;
    //xValues nonuniform List<scalar> 11(-3.0 -2.0 -1 -0.5 0.5 0.75 1.5 5.0 10.0 15.0 20.0);
    //yValues uniform 0;
    //zValues uniform 0.05;
    linestart (-1 0 0.05);
    lineend   (3  0 0.05);
    add       (0 0 0.45); //( 0 0.45 0);
    axis      z;
    stretch 1.5;
}
I am guessing it has something to do with the nFreq value or else the sampling time but I'm not sure. I tried uncommenting tMax and starting tMin at 0 but this did not resolve the problem and caused the same error.

Does anyone know what this error means or where it's coming from?
arieljeds is offline   Reply With Quote

 


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
[Gmsh] Problem with Gmsh nishant_hull OpenFOAM Meshing & Mesh Conversion 23 August 5, 2015 02:09
SSIIM- F 36 2: computation of the vertical water surface elevation Mummputz Main CFD Forum 2 July 1, 2015 04:52
chart of surface elevation against time mohammad_1986 CFX 1 January 17, 2013 20:43
STL units and Surface elevation plot MAB FLOW-3D 11 May 9, 2010 15:55
ploting surface elevation Tony Campbell Siemens 5 January 29, 2005 16:09


All times are GMT -4. The time now is 11:25.