CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Why do code crash when OpenFOAM is combined with VTK?

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

LinkBack Thread Tools Search this Thread Display Modes
Old   February 2, 2016, 11:43
Default Why do code crash when OpenFOAM is combined with VTK?
New Member
Algis Dziugys
Join Date: Apr 2015
Posts: 10
Rep Power: 11
Algis is on a distinguished road
I am trying to combine VTK with OpenFOAM. Unfortunately, the simplest OpenFOAM example (icoFoam.C) with included the simplest VTK example (Arrow.cxx) crashes with "Floating point exception" in window rendering if OpenFOAM functions are called before VTK.

I know, it is difficult for you to judge what happens in these functions, but maybe you have some hints what to search for, or maybe some of you are familiar with coupled OpenFOAM and VTK.

P.S. VTK v.6.3.0 and OpenFOAM v.3.0 are used.

Thank you very much in advance,

Algis is offline   Reply With Quote


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
Getting Started with OpenFOAM wyldckat OpenFOAM 25 August 14, 2022 13:55
how to call 'p' as pressure into my code from OpenFOAM? atmcfd OpenFOAM Programming & Development 9 March 25, 2016 17:13
adding a C code to OpenFOAM latvietis OpenFOAM Programming & Development 1 November 21, 2012 03:46
Specific OpenFOAM Code pbhuter OpenFOAM 13 June 30, 2012 19:06
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 05:56

All times are GMT -4. The time now is 21:19.