elmergrid to produce vtu file from partitioned mesh

Mesh generators, CAD programs, and other tools
Post Reply
mark smith
Posts: 194
Joined: 26 Aug 2009, 18:20
Location: Peterborough, England

elmergrid to produce vtu file from partitioned mesh

Post by mark smith » 09 Aug 2016, 18:57

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

raback
Site Admin
Posts: 3230
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: elmergrid to produce vtu file from partitioned mesh

Post by raback » 10 Aug 2016, 11:26

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

mark smith
Posts: 194
Joined: 26 Aug 2009, 18:20
Location: Peterborough, England

Re: elmergrid to produce vtu file from partitioned mesh

Post by mark smith » 10 Aug 2016, 12:02

Hi Peter,
Works a treat ;-)
Thank you.
Regards
Mark

Post Reply