CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (http://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   sample error (http://www.cfd-online.com/Forums/openfoam-post-processing/87908-sample-error.html)

lionlove0903 May 2, 2011 11:56

sample error
 
Hi everyone, I made a simulation with interFoam in OpenFOAM 1.6. Everything works fine until I want to sample the data, and the error message is following:

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.7.x |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 1.7.x-3776603e4c6c
Exec : sample
Date : May 02 2011
Time : 17:16:59
Host : tzy-desktop
PID : 2236
Case : /home/tzy/OpenFOAM/tzy-1.6/mycase/corrugated/200
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time
Create mesh for time = 0
Time = 0
#0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam171/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::sigSegv::sigSegvHandler(int) in "/opt/openfoam171/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 in "/lib/libc.so.6"
#3 Foam::isoSurface::walkOrientation(Foam::triSurface const&, Foam::List<Foam::FixedList<int, 3u> > const&, Foam::List<int> const&, Foam::List<int> const&, int, Foam::List<int>&) in "/opt/openfoam171/lib/linux64GccDPOpt/libsampling.so"
#4 Foam::isoSurface::orientSurface(Foam::triSurface&, Foam::List<Foam::FixedList<int, 3u> > const&, Foam::List<int> const&, Foam::List<int> const&, Foam::Map<Foam::List<int> > const&) in "/opt/openfoam171/lib/linux64GccDPOpt/libsampling.so"
#5 Foam::isoSurface::isoSurface(Foam::GeometricField< double, Foam::fvPatchField, Foam::volMesh> const&, Foam::Field<double> const&, double, bool, double) in "/opt/openfoam171/lib/linux64GccDPOpt/libsampling.so"
#6 Foam::sampledIsoSurface::updateGeometry() const in "/opt/openfoam171/lib/linux64GccDPOpt/libsampling.so"
#7 Foam::sampledSurfaces::update() in "/opt/openfoam171/lib/linux64GccDPOpt/libsampling.so"
#8 Foam::sampledSurfaces::write() in "/opt/openfoam171/lib/linux64GccDPOpt/libsampling.so"
#9
in "/opt/openfoam171/applications/bin/linux64GccDPOpt/sample"
#10 __libc_start_main in "/lib/libc.so.6"
#11
in "/opt/openfoam171/applications/bin/linux64GccDPOpt/sample"
Segmentation fault

Can anyone tell me what’s wrong with my program?

Thanks !


All times are GMT -4. The time now is 03:14.