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/)
-   -   Sampling issues (http://www.cfd-online.com/Forums/openfoam-post-processing/84550-sampling-issues.html)

351Cleveland February 2, 2011 07:32

Sampling issues
 
Hi all

I've successfully run a simple 3D flow simulation and wish to extract data on the various components of velocity between 2 x-locations at different y and z planes.

This can be done successfully manually inside paraFoam by using 'plot over line' and for the plane y = 0 and z = 0; however when I try and alter either the y or z values in the sampleDict file I come up with the following segmentation error:

Create mesh for time = 0

#0 Foam::error::printStack(Foam::Ostream&) in "/opt/OpenFOAM/OpenFOAM-1.7.1/lib/linux64Gcc44DPOpt/libOpenFOAM.so"
#1 Foam::sigSegv::sigSegvHandler(int) in "/opt/OpenFOAM/OpenFOAM-1.7.1/lib/linux64Gcc44DPOpt/libOpenFOAM.so"
#2 __restore_rt at sigaction.c:0
#3 Foam::midPointAndFaceSet::genSamples() in "/opt/OpenFOAM/OpenFOAM-1.7.1/lib/linux64Gcc44DPOpt/libsampling.so"
#4 Foam::midPointAndFaceSet::midPointAndFaceSet(Foam: :word const&, Foam::polyMesh const&, Foam::meshSearch&, Foam::dictionary const&) in "/opt/OpenFOAM/OpenFOAM-1.7.1/lib/linux64Gcc44DPOpt/libsampling.so"
#5 Foam::sampledSet::addwordConstructorToTable<Foam:: midPointAndFaceSet>::New(Foam::word const&, Foam::polyMesh const&, Foam::meshSearch&, Foam::dictionary const&) in "/opt/OpenFOAM/OpenFOAM-1.7.1/lib/linux64Gcc44DPOpt/libsampling.so"
#6 Foam::sampledSet::New(Foam::word const&, Foam::polyMesh const&, Foam::meshSearch&, Foam::dictionary const&) in "/opt/OpenFOAM/OpenFOAM-1.7.1/lib/linux64Gcc44DPOpt/libsampling.so"
#7 void Foam::PtrList<Foam::sampledSet>::read<Foam::sample dSet::iNew>(Foam::Istream&, Foam::sampledSet::iNew const&) in "/opt/OpenFOAM/OpenFOAM-1.7.1/lib/linux64Gcc44DPOpt/libsampling.so"
#8 Foam::sampledSets::read(Foam::dictionary const&) in "/opt/OpenFOAM/OpenFOAM-1.7.1/lib/linux64Gcc44DPOpt/libsampling.so"
#9 Foam::sampledSets::sampledSets(Foam::word const&, Foam::objectRegistry const&, Foam::dictionary const&, bool) in "/opt/OpenFOAM/OpenFOAM-1.7.1/lib/linux64Gcc44DPOpt/libsampling.so"
#10 Foam::regIOobject::writeObject(Foam::IOstream::str eamFormat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType) const at sample.C:0
#11 main in "/opt/OpenFOAM/OpenFOAM-1.7.1/applications/bin/linux64Gcc44DPOpt/sample"
#12 __libc_start_main in "/lib64/libc.so.6"
#13 Foam::regIOobject::writeObject(Foam::IOstream::str eamFormat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType) const in "/opt/OpenFOAM/OpenFOAM-1.7.1/applications/bin/linux64Gcc44DPOpt/sample"
Segmentation fault


Is this an error with the program or am I incorrectly setting up the sampleDict file?
Cheers.
Dom.


All times are GMT -4. The time now is 22:52.