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

foamToVTK

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 5, 2010, 07:29
Default foamToVTK
  #1
New Member
 
sam
Join Date: May 2010
Posts: 3
Rep Power: 16
sameer_kumar is on a distinguished road
Dear foamers,

I am getting following error at the time of converting from foamToVTK at the time of writing 40th iteration.

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 1.6-53b7f692aa41
Exec : foamToVTK
Date : May 05 2010
Time : 23:37:32
Host : localhost.localdomain
PID : 9524
Case : /home/user/OpenFOAM/OpenFOAM-1.6/run/tutorials/incompressible/simpleFoam/couplervtkfiles/couplermodified
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Time: 0
volScalarFields : p nut k epsilon nuTilda
volVectorFields : U
volSymmTensorFields : R

Internal : "/home/user/OpenFOAM/OpenFOAM-1.6/run/tutorials/incompressible/simpleFoam/couplervtkfiles/couplermodified/VTK/couplermodified_0.vtk"
Original cells:1039528 points:222710 Additional cells:8 additional points:4

Patch : "/home/user/OpenFOAM/OpenFOAM-1.6/run/tutorials/incompressible/simpleFoam/couplervtkfiles/couplermodified/VTK/FEMALE_DESIGN/FEMALE_DESIGN_0.vtk"
Patch : "/home/user/OpenFOAM/OpenFOAM-1.6/run/tutorials/incompressible/simpleFoam/couplervtkfiles/couplermodified/VTK/COUPLER/COUPLER_0.vtk"
Patch : "/home/user/OpenFOAM/OpenFOAM-1.6/run/tutorials/incompressible/simpleFoam/couplervtkfiles/couplermodified/VTK/INLET/INLET_0.vtk"
Patch : "/home/user/OpenFOAM/OpenFOAM-1.6/run/tutorials/incompressible/simpleFoam/couplervtkfiles/couplermodified/VTK/OUTLET/OUTLET_0.vtk"
Patch : "/home/user/OpenFOAM/OpenFOAM-1.6/run/tutorials/incompressible/simpleFoam/couplervtkfiles/couplermodified/VTK/FM_PIN/FM_PIN_0.vtk"
Patch : "/home/user/OpenFOAM/OpenFOAM-1.6/run/tutorials/incompressible/simpleFoam/couplervtkfiles/couplermodified/VTK/M_PIN/M_PIN_0.vtk"
Patch : "/home/user/OpenFOAM/OpenFOAM-1.6/run/tutorials/incompressible/simpleFoam/couplervtkfiles/couplermodified/VTK/MALE_DESIGN/MALE_DESIGN_0.vtk"
FaceZone : "/home/user/OpenFOAM/OpenFOAM-1.6/run/tutorials/incompressible/simpleFoam/couplervtkfiles/couplermodified/VTK/int_FLUID/int_FLUID_0.vtk"
Time: 20
volScalarFields : p nut k epsilon
volVectorFields : U

Internal : "/home/user/OpenFOAM/OpenFOAM-1.6/run/tutorials/incompressible/simpleFoam/couplervtkfiles/couplermodified/VTK/couplermodified_20.vtk"
Patch : "/home/user/OpenFOAM/OpenFOAM-1.6/run/tutorials/incompressible/simpleFoam/couplervtkfiles/couplermodified/VTK/FEMALE_DESIGN/FEMALE_DESIGN_20.vtk"
Patch : "/home/user/OpenFOAM/OpenFOAM-1.6/run/tutorials/incompressible/simpleFoam/couplervtkfiles/couplermodified/VTK/COUPLER/COUPLER_20.vtk"
Patch : "/home/user/OpenFOAM/OpenFOAM-1.6/run/tutorials/incompressible/simpleFoam/couplervtkfiles/couplermodified/VTK/INLET/INLET_20.vtk"
Patch : "/home/user/OpenFOAM/OpenFOAM-1.6/run/tutorials/incompressible/simpleFoam/couplervtkfiles/couplermodified/VTK/OUTLET/OUTLET_20.vtk"
Patch : "/home/user/OpenFOAM/OpenFOAM-1.6/run/tutorials/incompressible/simpleFoam/couplervtkfiles/couplermodified/VTK/FM_PIN/FM_PIN_20.vtk"
Patch : "/home/user/OpenFOAM/OpenFOAM-1.6/run/tutorials/incompressible/simpleFoam/couplervtkfiles/couplermodified/VTK/M_PIN/M_PIN_20.vtk"
Patch : "/home/user/OpenFOAM/OpenFOAM-1.6/run/tutorials/incompressible/simpleFoam/couplervtkfiles/couplermodified/VTK/MALE_DESIGN/MALE_DESIGN_20.vtk"
FaceZone : "/home/user/OpenFOAM/OpenFOAM-1.6/run/tutorials/incompressible/simpleFoam/couplervtkfiles/couplermodified/VTK/int_FLUID/int_FLUID_20.vtk"
Time: 40
volScalarFields : p nut k epsilon
volVectorFields : U

Internal : "/home/user/OpenFOAM/OpenFOAM-1.6/run/tutorials/incompressible/simpleFoam/couplervtkfiles/couplermodified/VTK/couplermodified_40.vtk"
#0 Foam::error:rintStack(Foam::Ostream&) in "/home/user/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
#1 Foam::sigFpe::sigFpeHandler(int) in "/home/user/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
#2 Uninterpreted:
#3 Foam::writeFuns::insert(double const&, Foam:ynamicList<float, 0u, 2u, 1u>&) in "/home/user/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/foamToVTK"
#4 void Foam::writeFuns::write<double>(std:stream&, bool, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::vtkMesh const&) in "/home/user/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/foamToVTK"
#5 main in "/home/user/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/foamToVTK"
#6 __libc_start_main in "/lib/libc.so.6"
#7 _start at /usr/src/packages/BUILD/glibc-2.9/csu/../sysdeps/i386/elf/start.S:122
Floating point exception

Please give suggestions to overcome this problem.

Regards,
Sam
sameer_kumar is offline   Reply With Quote

Old   May 6, 2010, 22:17
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Sam and welcome to the forum!

Probably at that iteration, infinite or undefined values or even NaN (Not-A-Number) values where found on the results, but it was unable to write those out-of-bound values. You could try using:
Code:
foamToVTK -ascii
but while it might not crash with foamToVTK, Paraview on the other hand might not like seeing something like "-1#INF" in the file "40.vtk".

Check the residues of your run to see if there are any alarming values, like residues in the order of 1e+300, for that same iteration.

If you are basing yourself on an existing tutorial case from OpenFOAM 1.6, I suggest that you get the 1.6.x version; no need to build it, just get it to check the same tutorial you've based on. I say this, because the motorBike case in OpenFOAM 1.6 diverges around iteration 300, while the 1.6.x motorBike version doesn't diverge, using the same simpleFoam solver from 1.6!

Best regards,
Bruno
samiam1000 and saidc. like this.
__________________
wyldckat 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
Visualize Mesh with foamToVTK andrewryan OpenFOAM 3 October 5, 2009 10:42
FoamTOVTK yapalparvi OpenFOAM Post-Processing 3 August 12, 2009 09:19
[OpenFOAM] Too many time folders crash foamToVTK johndeas ParaView 4 September 25, 2008 16:07
[Technical] How to get polyhedral mesh without additional cells when using foamToVTK chnrdu OpenFOAM Meshing & Mesh Conversion 4 June 10, 2008 14:08
[OpenFOAM] FoamToVTK error with OF 13 melanie ParaView 1 May 22, 2006 05:40


All times are GMT -4. The time now is 16:20.