Page 1 of 1

elmergrid to produce vtu file from partitioned mesh

Posted: 09 Aug 2016, 18:57
by mark smith
Hi Elmer team,
when I have the serial mesh files mesh.boundary mesh.elements etc I can use elmergrid to produce a vtu file of the mesh using
elmergrid 2 5 mesh

now for example if I partition the mesh into 8 parts & produce a directory partition.8 is it possible to produce a vtu file of this partitioned mesh? If so how?
for a coupled CFD+thermal simulation I'd like to see how the mesh is partitioned before running the solver so I can ensure I always have some of the fluid in each partition otherwise some of the solvers can fail when writing results.
Regards
Mark

Re: elmergrid to produce vtu file from partitioned mesh

Posted: 10 Aug 2016, 11:26
by raback
Hi Mark

Try just giving the vtu option when doing partitioning, e.g.

Code: Select all

ElmerGrid 2 5 meshdir -metis 8 3 -partdual 
ElmerGrid only writes parallel meshes it does not read them ;-)

-Peter

Re: elmergrid to produce vtu file from partitioned mesh

Posted: 10 Aug 2016, 12:02
by mark smith
Hi Peter,
Works a treat ;-)
Thank you.
Regards
Mark