On 03/06/13 14:17, Nico Schlömer wrote:
Hi all,

since recently, I'm doing time-dependent computations where Navier--Stokes, the heat equation, and Maxwell's equations are coupled such that the solution is composed of (u, p, theta, E, B), all of which are living on the same mesh. When storing the files, I use a separate file for each quantity and I eventually get a directory full of

velocity*.vtu
pressure*.vtu
temperature*.vtu
magnetic*.vtu
electric*.vtu

The total amount of data is easily in the range of several GB.
This becomes a bottle neck for storage and post-processing, so I was thinking about ways to reduce this.


Try running your code in parallel, and see how many files you get then.
Assuming you are mainly interested in visualisation, XDMF files can reduce the output volume considerably (and work with Paraview). At the moment, you probably can't combine all fields into one file, but you can do almost everything else you want. To remove the automatic mesh saving, there is a parameter of XDMFFile - "rewrite_function_mesh" which you can set to False.

Chris
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics

Reply via email to