CFD Online Logo CFD Online URL
Home > Forums

Connecting Fortran with VTK - the MPI way

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

Rate this Entry

Connecting Fortran with VTK - the MPI way

Posted May 24, 2019 at 12:12 by sbaffini

I wrote a little couple of programs, respectively in Fortran and C++, as a proof of concept for connecting a Fortran program to a sort of visualization server based on VTK. The nice thing is that it uses MPI for the connection, so on the Fortran side nothing new and scary.

The code (you can find it at and the idea strongly predate a similar example in Using Advanced MPI by W. Gropp et al., but makes it more concrete by adding actual visualization based on VTK.

Of course, this is just a proof of concept, and nothing really interesting is really visualized (just a cylinder with parameters passed from Fortran side), but it is intended as an example to adapt to particular use cases (the VTK itself is taken from, where a lot of additional examples are present).
Posted in Uncategorized
Views 708 Comments 0 Edit Tags Email Blog Entry
« Prev     Main     Next »
Total Comments 0



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