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

%230 FoamerrorprintStackFoam%3cIMG SRC%3d%22httpopenfoamcfdonlinecomforumclipartproud gif%22 ALT%3d%22O%22 BORDER%3d0%3estreamamp

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 25, 2007, 10:28
Default Hi all.. I am facing th fol
  #1
Senior Member
 
Nishant
Join Date: Mar 2009
Location: Glasgow, UK
Posts: 166
Rep Power: 17
nishant_hull is on a distinguished road
Hi all..
I am facing th following problem. I will appreciate if somebody can help me.


#0 Foam::error::printStack(Foam:stream&) in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so"
#1 Foam::sigFpe::sigFpeHandler(int) in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so"
#2 Uninterpreted: [0x110420]
#3 void Foam::fvc::surfaceIntegrate<foam::vector<double> >(Foam::Field<foam::vector<double> >&, Foam::GeometricField<foam::vector<double>, Foam::fvsPatchField, Foam::surfaceMesh> const&) in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libfiniteVolume.so"
#4 Foam::tmp<foam::geometricfield<foam::vector<double >, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::surfaceIntegrate<foam::vector<double> >(Foam::GeometricField<foam::vector<double>, Foam::fvsPatchField, Foam::surfaceMesh> const&) in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libfiniteVolume.so"
#5 Foam::tmp<foam::geometricfield<foam::vector<double >, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::surfaceIntegrate<foam::vector<double> >(Foam::tmp<foam::geometricfield<foam::vector<doub le>, Foam::fvsPatchField, Foam::surfaceMesh> > const&) in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libfiniteVolume.so"
#6 Foam::fv::gaussDivScheme<foam::tensor<double> >::fvcDiv(Foam::GeometricField<foam::tensor<double >, Foam::fvPatchField, Foam::volMesh> const&) in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libfiniteVolume.so"
#7 Foam::tmp<foam::geometricfield<foam::innerproduct< foam::vector<double>, Foam::Tensor<double> >::type, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::div<foam::tensor<double> >(Foam::GeometricField<foam::tensor<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::word const&) in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libincompressibleTurbule nceModels.so"
#8 Foam::tmp<foam::geometricfield<foam::innerproduct< foam::vector<double>, Foam::Tensor<double> >::type, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::div<foam::tensor<double> >(Foam::GeometricField<foam::tensor<double>, Foam::fvPatchField, Foam::volMesh> const&) in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libincompressibleTurbule nceModels.so"
#9 Foam::tmp<foam::geometricfield<foam::innerproduct< foam::vector<double>, Foam::Tensor<double> >::type, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::div<foam::tensor<double> >(Foam::tmp<foam::geometricfield<foam::tensor<doub le>, Foam::fvPatchField, Foam::volMesh> > const&) in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libincompressibleTurbule nceModels.so"
#10 Foam::turbulenceModels::kEpsilon::divR(Foam::Geome tricField<foam::vector<double> , Foam::fvPatchField, Foam::volMesh>&) const in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libincompressibleTurbule nceModels.so"
#11 main in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/simpleFoam"
#12 __libc_start_main in "/lib/libc.so.6"
#13 Foam::regIOobject::readIfModified() in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/simpleFoam"
Floating point exception
__________________
Thanks and regards,

Nishant
nishant_hull is offline   Reply With Quote

Old   October 25, 2007, 10:33
Default I am working on icoFoam with c
  #2
Senior Member
 
Nishant
Join Date: Mar 2009
Location: Glasgow, UK
Posts: 166
Rep Power: 17
nishant_hull is on a distinguished road
I am working on icoFoam with cylindrical pipe flow geometry with water as fluid. I have applied b.c. as :
inlet- fixed value U, zerogradiect p
outlet - zerogradient U, fixed value p
kinetic viscosity = 0.9


I also tried this case with simple foam with similar modification, but that also didnt work out.
Please suggest ..!!


Nisahnt
__________________
Thanks and regards,

Nishant
nishant_hull is offline   Reply With Quote

Old   October 25, 2007, 18:46
Default Just 2 things (because i think
  #3
New Member
 
Gabriel Barroso
Join Date: Mar 2009
Posts: 23
Rep Power: 17
gabriel is on a distinguished road
Just 2 things (because i think i had a similar mistake but may be not):

1. What are your wall boundary conditions, do you have fixedValue and then value (0 0 0) ?

2. Did you try with another mesh?

Bests Gabriel
gabriel is offline   Reply With Quote

Old   October 25, 2007, 23:51
Default Thanks Gabriel.. first option
  #4
Senior Member
 
Nishant
Join Date: Mar 2009
Location: Glasgow, UK
Posts: 166
Rep Power: 17
nishant_hull is on a distinguished road
Thanks Gabriel..
first option is alrite.
second option i can try. but will that make any difference, as mesh looks quite good on parafoam?. Also I tried with different meshing of 10x10x80, 20x20x400 etc.
I took cylinder as a hexagon surrounded by curved edged hexagon. something like this........ ([])
plz suggest.
__________________
Thanks and regards,

Nishant
nishant_hull is offline   Reply With Quote

Old   October 27, 2007, 12:31
Default I am also not been able to rec
  #5
Senior Member
 
Nishant
Join Date: Mar 2009
Location: Glasgow, UK
Posts: 166
Rep Power: 17
nishant_hull is on a distinguished road
I am also not been able to recompile the foam to run it in debug mode. I do not know what exactly is the problem. can any body tell me, is this because of gcc compiler or what?? i have two gcc compiler on my linux system. one default and one with the package. precompiled programs on my ststem is running quite ok. But so far I could not be able to run any own programm.

The error after recompiling using ./Allawake is :-

/home/343880/OpenFOAM/linux/paraview-2.4.4/include/vtkDataObject.h: In member function 'virtual void vtkDataObject::ReleaseDataFlagOn()':
/home/343880/OpenFOAM/linux/paraview-2.4.4/include/vtkDataObject.h:116: warning: use of old-style cast
/home/343880/OpenFOAM/linux/paraview-2.4.4/include/vtkDataObject.h: In member function 'virtual void vtkDataObject::ReleaseDataFlagOff()':
/home/343880/OpenFOAM/linux/paraview-2.4.4/include/vtkDataObject.h:116: warning: use of old-style cast
/home/343880/OpenFOAM/linux/paraview-2.4.4/include/vtkDataObject.h: In member function 'virtual void vtkDataObject::RequestExactExtentOn()':
/home/343880/OpenFOAM/linux/paraview-2.4.4/include/vtkDataObject.h:273: warning: use of old-style cast
/home/343880/OpenFOAM/linux/paraview-2.4.4/include/vtkDataObject.h: In member function 'virtual void vtkDataObject::RequestExactExtentOff()':
/home/343880/OpenFOAM/linux/paraview-2.4.4/include/vtkDataObject.h:273: warning: use of old-style cast
`/home/343880/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPDebug/libvtkFoam.so' is up to date.
make[3]: Leaving directory `/home/343880/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/postProcessing/grap hics/PVFoamReader/vtkFoam'
+ cd PVFoamReader
+ mkdir -p Make/linuxGccDPDebug
+ cd Make/linuxGccDPDebug
+ cmake ../..
./Allwmake: line 6: cmake: command not found
+ make
make[3]: Entering directory `/home/343880/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/postProcessing/grap hics/PVFoamReader/PVFoamReader/Make/linuxGccDPDebug'
make[3]: *** No targets specified and no makefile found. Stop.
make[3]: Leaving directory `/home/343880/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/postProcessing/grap hics/PVFoamReader/PVFoamReader/Make/linuxGccDPDebug'
make[2]: *** [PVFoamReader] Error 2
make[2]: Leaving directory `/home/343880/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/postProcessing/grap hics'
make[1]: *** [graphics] Error 2
make[1]: Leaving directory `/home/343880/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/postProcessing'
make: *** [postProcessing] Error 2
+ '[' 0 = 1 -a '' = doc ']'
__________________
Thanks and regards,

Nishant
nishant_hull is offline   Reply With Quote

Old   October 27, 2007, 13:18
Default Hello Nishanth, The error y
  #6
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25
philippose will become famous soon enough
Hello Nishanth,

The error you get during compilation of OpenFOAM is because you do not have the cross platform make software called "cmake".

If you notice... around mid way through your error messages.. you see "cmake: command not found".

Since the PVFoamReader requires cmake to compile, you will have to install cmake on your linux distribution.

Depending on the "flavour" of linux you are using... there might already be a suitable binary install (for example... if you are using Fedora, you can install cmake via yum).

If not, you can download it from....
http://www.cmake.org/HTML/Index.html

The other option, is to remove the "PVFoamReader" directory from the "applications/utilities/postProcessing/graphics" folder, so that "wmake" does not try to make that library during the compile process.

In this case, you will not be able to use "paraFoam" for your postprocessing.

However, doesnt the compilation continue on with the rest of the libraries, even though this error message comes up? Or does it abort at this stage?

Have a nice weekend!

Philippose
philippose is offline   Reply With Quote

Old   October 28, 2007, 08:39
Default Thank you very much Philippose
  #7
Senior Member
 
Nishant
Join Date: Mar 2009
Location: Glasgow, UK
Posts: 166
Rep Power: 17
nishant_hull is on a distinguished road
Thank you very much Philippose. I have done yum update on my fedore system. Now I am compiling foam suing ./Allwmake. I gues this will take some time.
About the error.. the compilation aborted after the error. Thats the few last lines of the display screen.

I wanted to know, if this compilation error has something to do with my new simulation in icoFoam. Please see my first two blogs in this thread. Looking forward to hearing form you soon.

have a nice weekend to you also
Cheers!!

Nishant
__________________
Thanks and regards,

Nishant
nishant_hull is offline   Reply With Quote

Old   October 28, 2007, 09:58
Default Hi Philippose.. I am still
  #8
Senior Member
 
Nishant
Join Date: Mar 2009
Location: Glasgow, UK
Posts: 166
Rep Power: 17
nishant_hull is on a distinguished road
Hi Philippose..

I am still having some error. I installed using yum and then also in linux directory of openfoam. but in both the cases the error is almost the same...

make[3]: Entering directory `/home/343880/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/postProcessing/data Conversion/foamToGMV'
make[3]: `/home/343880/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPDebug/foamToGMV ' is up to date.
make[3]: Leaving directory `/home/343880/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/postProcessing/data Conversion/foamToGMV'
make[2]: Leaving directory `/home/343880/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/postProcessing/data Conversion'
make[2]: Entering directory `/home/343880/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/postProcessing/grap hics'
+ '[' /home/343880/OpenFOAM/linux/paraview-2.4.4/lib/paraview-2.4 -a -r /home/343880/OpenFOAM/linux/paraview-2.4.4/lib/paraview-2.4 ']'
+ wmake libso vtkFoam
make[3]: Entering directory `/home/343880/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/postProcessing/grap hics/PVFoamReader/vtkFoam'
`/home/343880/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPDebug/libvtkFoam.so' is up to date.
make[3]: Leaving directory `/home/343880/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/postProcessing/grap hics/PVFoamReader/vtkFoam'
+ cd PVFoamReader
+ mkdir -p Make/linuxGccDPDebug
+ cd Make/linuxGccDPDebug
+ cmake ../..
CMake Error: Error in cmake code at
/home/343880/OpenFOAM/linux/paraview-2.4.4/lib/paraview-2.4/ParaViewConfig.cmake :29:
INCLUDE Could not find include file: /home/dm2/henry/OpenFOAM/linuxSrc/paraview-2.4.4/platforms/linuxGcc4DPOpt/ParaVi ewLibraryDepends.cmake
Current CMake stack:
[2] /home/343880/OpenFOAM/linux/paraview-2.4.4/lib/paraview-2.4/ParaViewConfig.cmake
[1] /home/343880/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/postProcessing/graph ics/PVFoamReader/PVFoamReader/CMakeLists.txt
CMake Error: Error in cmake code at
/home/343880/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/postProcessing/graph ics/PVFoamReader/PVFoamReader/CMakeLists.txt:38:
INCLUDE Could not find include file: /home/dm2/henry/OpenFOAM/linuxSrc/paraview-2.4.4/ParaViewUse.cmake
Current CMake stack:
[1] /home/343880/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/postProcessing/graph ics/PVFoamReader/PVFoamReader/CMakeLists.txt
CMake Error: Error in cmake code at
/home/343880/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/postProcessing/graph ics/PVFoamReader/PVFoamReader/CMakeLists.txt:56:
Unknown CMake command "VTK_WRAP_ClientServer".
-- Configuring done
+ make
make[3]: Entering directory `/home/343880/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/postProcessing/grap hics/PVFoamReader/PVFoamReader/Make/linuxGccDPDebug'
make[3]: *** No targets specified and no makefile found. Stop.
make[3]: Leaving directory `/home/343880/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/postProcessing/grap hics/PVFoamReader/PVFoamReader/Make/linuxGccDPDebug'
make[2]: *** [PVFoamReader] Error 2
make[2]: Leaving directory `/home/343880/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/postProcessing/grap hics'
make[1]: *** [graphics] Error 2
make[1]: Leaving directory `/home/343880/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/postProcessing'
make: *** [postProcessing] Error 2
+ '[' 0 = 1 -a '' = doc ']'


Please suggest.

Nishant
__________________
Thanks and regards,

Nishant
nishant_hull is offline   Reply With Quote

Old   October 28, 2007, 19:02
Default This is the important error me
  #9
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 332
Rep Power: 22
mbeaudoin will become famous soon enough
This is the important error message:

INCLUDE Could not find include file: /home/dm2/henry/OpenFOAM/linuxSrc/paraview-2.4.4/platforms/linuxGcc4DPOpt/ParaVi ewLibraryDepends.cmake

The source code shipped by OpenCFD got a hard-coded path that you need to modify.

Check this site for more information on how to recompile OpenFOAM and the paraView modules:

http://openfoamwiki.net/index.php/Howto_compile_OpenFOAM#Compiling_and_installin g_ParaView

http://openfoamwiki.net/index.php/Howto_compile_OpenFOAM#Modifications_for_the_c ompilation_of_PVFoamReader

Martin
mbeaudoin is offline   Reply With Quote

Old   October 29, 2007, 06:59
Default Hi Martin .. Thank you for
  #10
Senior Member
 
Nishant
Join Date: Mar 2009
Location: Glasgow, UK
Posts: 166
Rep Power: 17
nishant_hull is on a distinguished road
Hi Martin ..

Thank you for your reply. My paraview was working fine before. After doing the re-compilation it is not working now. But the major issue with me at this point is that I am simulating a cylindrical pipe flow geometry with water as fluid in icoFoam. I wanted to know whether the compilation problem has anything to do with the error I am facing in simulation. the error in icofoam cylinder geometry is:-
#0 Foam::error::printStack(Foam::-Ostream&) in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so"
#1 Foam::sigFpe::sigFpeHandler(int) in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so"
#2 Uninterpreted: [0x110420]
#3 void Foam::fvc::surfaceIntegrate<foam::vector<double> >(Foam::Field<foam::vector<double> >&, Foam::GeometricField<foam::vector<double>, Foam::fvsPatchField, Foam::surfaceMesh> const&) in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libfiniteVolume.so"
#4 Foam::tmp<foam::geometricfield<foam::vector<double >, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::surfaceIntegrate<foam::vector<double> >(Foam::GeometricField<foam::vector<double>, Foam::fvsPatchField, Foam::surfaceMesh> const&) in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libfiniteVolume.so"
#5 Foam::tmp<foam::geometricfield<foam::vector<double >, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::surfaceIntegrate<foam::vector<double> >(Foam::tmp<foam::geometricfield<foam::vector<doub le>, Foam::fvsPatchField, Foam::surfaceMesh> > const&) in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libfiniteVolume.so"
#6 Foam::fv::gaussDivScheme<foam::tensor<double> >::fvcDiv(Foam::GeometricField<foam::tensor<double >, Foam::fvPatchField, Foam::volMesh> const&) in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libfiniteVolume.so"
#7 Foam::tmp<foam::geometricfield<foam::innerproduct< foam::vector<double>, Foam::Tensor<double> >::type, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::div<foam::tensor<double> >(Foam::GeometricField<foam::tensor<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::word const&) in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libincompressibleTurbule nceModels.so"
#8 Foam::tmp<foam::geometricfield<foam::innerproduct< foam::vector<double>, Foam::Tensor<double> >::type, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::div<foam::tensor<double> >(Foam::GeometricField<foam::tensor<double>, Foam::fvPatchField, Foam::volMesh> const&) in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libincompressibleTurbule nceModels.so"
#9 Foam::tmp<foam::geometricfield<foam::innerproduct< foam::vector<double>, Foam::Tensor<double> >::type, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::div<foam::tensor<double> >(Foam::tmp<foam::geometricfield<foam::tensor<doub le>, Foam::fvPatchField, Foam::volMesh> > const&) in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libincompressibleTurbule nceModels.so"
#10 Foam::turbulenceModels::kEpsilon::divR(Foam::Geome tricField<foam::vector<double> , Foam::fvPatchField, Foam::volMesh>&) const in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libincompressibleTurbule nceModels.so"
#11 main in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/simpleFoam"
#12 __libc_start_main in "/lib/libc.so.6"
#13 Foam::regIOobject::readIfModified() in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/simpleFoam"
Floating point exception
__________________
Thanks and regards,

Nishant
nishant_hull is offline   Reply With Quote

Old   October 29, 2007, 07:03
Default Hi Martin .. Thank you for
  #11
Senior Member
 
Nishant
Join Date: Mar 2009
Location: Glasgow, UK
Posts: 166
Rep Power: 17
nishant_hull is on a distinguished road
Hi Martin ..

Thank you for your reply. My paraview was working fine before. After doing the re-compilation it is not working now. But the major issue with me at this point is that I am simulating a cylindrical pipe flow geometry with water as fluid in icoFoam. I wanted to know whether the compilation problem has anything to do with the error I am facing in simulation. the error in icofoam cylinder geometry is:-


#0 Foam::error::printStack(Foam::-Ostream&) in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so"
#1 Foam::sigFpe::sigFpeHandler(int) in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so"
#2 Uninterpreted: [0x110420]
#3 void Foam::fvc::surfaceIntegrate<foam::vector<double> >(Foam::Field<foam::vector<double> >&, Foam::GeometricField<foam::vector<double>, Foam::fvsPatchField, Foam::surfaceMesh> const&) in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libfiniteVolume.so"
#4 Foam::tmp<foam::geometricfield<foam::vector<double >, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::surfaceIntegrate<foam::vector<double> >(Foam::GeometricField<foam::vector<double>, Foam::fvsPatchField, Foam::surfaceMesh> const&) in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libfiniteVolume.so"
#5 Foam::tmp<foam::geometricfield<foam::vector<double >, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::surfaceIntegrate<foam::vector<double> >(Foam::tmp<foam::geometricfield<foam::vector<doub le>, Foam::fvsPatchField, Foam::surfaceMesh> > const&) in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libfiniteVolume.so"
#6 Foam::fv::gaussDivScheme<foam::tensor<double> >::fvcDiv(Foam::GeometricField<foam::tensor<double >, Foam::fvPatchField, Foam::volMesh> const&) in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libfiniteVolume.so"
#7 Foam::tmp<foam::geometricfield<foam::innerproduct< foam::vector<double>, Foam::Tensor<double> >::type, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::div<foam::tensor<double> >(Foam::GeometricField<foam::tensor<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::word const&) in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libincompressibleTurbule nceModels.so"
#8 Foam::tmp<foam::geometricfield<foam::innerproduct< foam::vector<double>, Foam::Tensor<double> >::type, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::div<foam::tensor<double> >(Foam::GeometricField<foam::tensor<double>, Foam::fvPatchField, Foam::volMesh> const&) in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libincompressibleTurbule nceModels.so"
#9 Foam::tmp<foam::geometricfield<foam::innerproduct< foam::vector<double>, Foam::Tensor<double> >::type, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::div<foam::tensor<double> >(Foam::tmp<foam::geometricfield<foam::tensor<doub le>, Foam::fvPatchField, Foam::volMesh> > const&) in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libincompressibleTurbule nceModels.so"
#10 Foam::turbulenceModels::kEpsilon::divR(Foam::Geome tricField<foam::vector<double> , Foam::fvPatchField, Foam::volMesh>&) const in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libincompressibleTurbule nceModels.so"
#11 main in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/simpleFoam"
#12 __libc_start_main in "/lib/libc.so.6"
#13 Foam::regIOobject::readIfModified() in "/home/343880/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/simpleFoam"
Floating point exception
__________________
Thanks and regards,

Nishant
nishant_hull is offline   Reply With Quote

Old   October 29, 2007, 15:45
Default Hi Martin.. I find this p
  #12
Senior Member
 
Nishant
Join Date: Mar 2009
Location: Glasgow, UK
Posts: 166
Rep Power: 17
nishant_hull is on a distinguished road
Hi Martin..

I find this part to be useful for my purpose. But can you tellme where I need to modify the file: $HOME/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/postProcessing/graphics/PVF oamReader/PVFoamReader/CMakeLists.txt?

My file looks like this:-

1
2 # Must be defined before ADD_LIBRARY for cmake version 2.3.4-20060317
3 LINK_DIRECTORIES($ENV{FOAM_LIBBIN})
4 LINK_DIRECTORIES($ENV{FOAM_USER_LIBBIN})
5
6 # Create vtk client/server wrappers for the classes.
7 VTK_WRAP_ClientServer(${PROJECT_NAME} PVFoamReaderCS_SRCS "${PVFoamReader_SRCS}")
8
9 # Build the package as a plugin for ParaView.
10 ADD_LIBRARY(${PROJECT_NAME} MODULE ${PVFoamReader_SRCS} ${PVFoamReaderCS_SRCS})
11 LINK_DIRECTORIES($ENV{ParaView_INST_DIR}/lib)
12 TARGET_LINK_LIBRARIES(${PROJECT_NAME} vtkClientServer)
13 FOREACH(c ${PVFoamReader_LIBS})
14 TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${c}CS)
15 ENDFOREACH(c)
16
17 # Place the package configuration file into the build tree.
18 CONFIGURE_FILE(${PROJECT_SOURCE_DIR}/PVFoamReader.xml.in
19 ${PROJECT_BINARY_DIR}/../${PROJECT_NAME}.xml @ONLY IMMEDIATE)
20
21 # Place the package configuration file into the build tree.
22 CONFIGURE_FILE(${PROJECT_SOURCE_DIR}/PVFoamReader.pvsm.in
23 ${PROJECT_BINARY_DIR}/../${PROJECT_NAME}.pvsm @ONLY IMMEDIATE)
24
25 TARGET_LINK_LIBRARIES(${PROJECT_NAME} OpenFOAM finiteVolume vtkFoam)
26
~


Please suggest the possible modification.

Nishant
__________________
Thanks and regards,

Nishant
nishant_hull is offline   Reply With Quote

Old   October 29, 2007, 15:50
Default Hello Nishant, Reading from
  #13
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 332
Rep Power: 22
mbeaudoin will become famous soon enough
Hello Nishant,

Reading from your other posts, I don't think you need to recompile OpenFOAM unless you want to run your simulation in a debugger.

Your pre-compiled version is doing fine with the tutorials, so basically your setup is fine to go without recompilation.

The problem you are seeing is caused by a floating point exception (division by zero, overflow, etc.)

The floating point exception is in the call to Foam::fvc::surfaceIntegrate().

Check out your simulation parameters, verify your mesh geometry.

Maybe you could try your simulation with a simpler geometry just to see where the problem really comes from?

Martin
mbeaudoin is offline   Reply With Quote

Old   October 30, 2007, 06:45
Default Thanks Martin.. http://www.cfd
  #14
Senior Member
 
Nishant
Join Date: Mar 2009
Location: Glasgow, UK
Posts: 166
Rep Power: 17
nishant_hull is on a distinguished road
Thanks Martin..

I will try with simpler geomery today. But after I re-compile the foam ( with error message), my blockMesh command is not working properly on terminal. Also Parafoam could not be able to read the mesh. What could be the reason for this?
please suggest.

Nishant
__________________
Thanks and regards,

Nishant
nishant_hull is offline   Reply With Quote

Old   October 30, 2007, 07:24
Default should I clean the re-compilat
  #15
Senior Member
 
Nishant
Join Date: Mar 2009
Location: Glasgow, UK
Posts: 166
Rep Power: 17
nishant_hull is on a distinguished road
should I clean the re-compilation by:

wcleanAll ??

Or will it then delete some of my important files files? as i can see here .. http://www.cfd-online.com/OpenFOAM_D...tml?1184624858
let me know.
__________________
Thanks and regards,

Nishant
nishant_hull is offline   Reply With Quote

Old   October 30, 2007, 09:02
Default Reinstalling a pre-compiled ve
  #16
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 332
Rep Power: 22
mbeaudoin will become famous soon enough
Reinstalling a pre-compiled version might be a good option here.

Martin
mbeaudoin is offline   Reply With Quote

Old   October 30, 2007, 11:52
Default Hi Martin Thank you very muc
  #17
Senior Member
 
Nishant
Join Date: Mar 2009
Location: Glasgow, UK
Posts: 166
Rep Power: 17
nishant_hull is on a distinguished road
Hi Martin
Thank you very much. your suggestions were valueable. I could be able to run my case with square-faced pipe. So definitely the error is with my previous geometry.
My cylinder is like a hexagon surrounded by 4-curved edge hexagons. something like ([])

BlockmEsh file:-

vertices
(
(0.3 0 0)
(0 0.3 0)
(-0.3 0 0)
(0 -0.3 0)
(1 0 0)
(0 1 0)
(-1 0 0)
(0 -1 0)
(0.3 0 40)
(0 0.3 40)
(-0.3 0 40)
(0 -0.3 40)
(1 0 40)
(0 1 40)
(-1 0 40)
(0 -1 40)
);

blocks
(
hex (0 1 2 3 8 9 10 11) (4 4 6) simpleGrading (1 1 1)
hex (0 1 5 4 8 9 13 12) (4 4 6) simpleGrading (1 1 1)
hex (1 2 6 5 9 10 14 13) (4 4 6) simpleGrading (1 1 1)
hex (2 3 7 6 10 11 15 14) (4 4 6) simpleGrading (1 1 1)
hex (3 0 4 7 11 8 12 15) (4 4 6) simpleGrading (1 1 1)


);

edges
(
arc 4 5 (0.866 0.5 0)
arc 5 6 (-0.866 0.5 0)
arc 6 7 (-0.866 -0.5 0)
arc 7 4 (0.866 -0.5 0)
arc 12 13 (0.866 0.5 40)
arc 13 14 (-0.866 0.5 40)
arc 14 15 (-0.866 -0.5 40)
arc 15 12 (0.866 -0.5 40)
);

patches
(
wall fixedWalls
(
(4 5 13 12)
(5 6 14 13)
(6 7 15 14)
(7 4 12 15)
)

patch inlet
(
(0 3 2 1)
(0 4 7 3)
(0 1 5 4)
(1 2 6 5)
(2 3 7 6)
)

patch outlet
(
(8 9 10 11)
(8 11 15 12)
(9 8 12 13)
(10 9 13 14)
(10 14 15 11)

)
);

mergePatchPairs
(
);

Could there be a better geometry for this? I tried it on CFX and the results are good.
Plz suggest.

Nishant
__________________
Thanks and regards,

Nishant
nishant_hull is offline   Reply With Quote

Old   October 30, 2007, 11:52
Default Again I re-installed openfoam
  #18
Senior Member
 
Nishant
Join Date: Mar 2009
Location: Glasgow, UK
Posts: 166
Rep Power: 17
nishant_hull is on a distinguished road
Again I re-installed openfoam now .. everything is working fine... except FoamX. Error reported is :

[343880@w191-210 ~]$ FoamX
Starting NameServer with inet:w191-210:1234 ...
Starting FoamX Host Browser with inet:w191-210:1234 ...
FoamXHostBrowser: error while loading shared libraries: /home/343880/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libFoamX.so: cannot restore segment prot after reloc: Permission denied
runFoamXHB : cleanup
runFoamXHB: Name server is not running.


Please suggest.

Nishant
__________________
Thanks and regards,

Nishant
nishant_hull is offline   Reply With Quote

Old   October 30, 2007, 14:52
Default FoamX is now working fine. htt
  #19
Senior Member
 
Nishant
Join Date: Mar 2009
Location: Glasgow, UK
Posts: 166
Rep Power: 17
nishant_hull is on a distinguished road
FoamX is now working fine.
__________________
Thanks and regards,

Nishant
nishant_hull is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
FoamerrorprintStackFoam%3cIMG SRC%3d%22httpopenfoamcfdonlinecomforumclipartproudgif%22 ALT%3d%22O%22 BORDER%3d0%3estreamamp rengu OpenFOAM Running, Solving & CFD 5 March 3, 2009 11:19
Problem in generating too many pointsFoamerrorprintStackFoam%3cIMG SRC%3d%22httpopenfoamcfdonlinecomforumclipartproudgif%22 ALT%3d%22O%22 BORDER%3d0%3estreamamp marhamat OpenFOAM 0 August 6, 2008 04:49
Compiling liftDrag crashed with initc%3cIMG SRC%3d%22httpopenfoamcfdonlinecomforumclipartsadgif%22 ALT%3d%22%22 BORDER%3d0%3etext0x20 undefined reference to %60mainb sponiar OpenFOAM Running, Solving & CFD 2 January 17, 2008 05:00
%230 FoamerrorprintStackFoam%3cIMG SRC%3d%22httpopenfoamcfdonlinecomforumclipartproudgif%22 ALT%3d%22O%22 BORDER%3d0%3estreamamp guimch OpenFOAM Running, Solving & CFD 6 October 25, 2007 18:52
Cannot find liberty %3cIMG SRC%3d%22httpopenfoamcfdonlinecomforumcliparthappygif%22 ALT%3d%22%22 BORDER%3d0%3e panara OpenFOAM Installation 5 August 10, 2007 15:39


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