Hi John,

Thanks for the clarification. Can you suggest a work around? If I do, for
example, mesh0.read(lshaped_0.vtu) and mesh1.read(lshaped_1.vtu), and so
on, is it possible to end up with a DistributedMesh by combining mesh0,
mesh1,............. at the user level?

Or, is there another format that supports parallel read and write?

Regards,

Jahrul

On Mon, Dec 4, 2017 at 12:19 PM, John Peterson <[email protected]> wrote:

> On Sat, Dec 2, 2017 at 6:49 PM, Jahrul Alam <[email protected]> wrote:
>
> > Hello,
> >
> > I am having a problem with reading a mesh. As a test case, I create a
> Mesh,
> > and save the mesh:
> >
> > lshaped_mesh.wite("lshaped.pvtu").
> >
> > Running with 4 processes, I get five files: lshaped.pvtu, lshaped_0.vtu,
> > lshaped_1.vtu, lshaped_2.vtu, and lshaped_3.vtu.
> >
> > Now, I cannot read the saved mesh:
> >
> > lshaped_mesh.read("lshaped.pvtu")
> >
> > throws an error, such as "pvtu is not recognized".
> >
> > Is there a way that I can read distributed mesh from a file?
> >
>
> Unfortunately, we don't currently support reading parallel VTK files, only
> writing them.
>
> --
> John
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Libmesh-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/libmesh-users
>



-- 
=====================================
Jahrul Alam, PhD
Assistant Professor, Dept of Mathematics and Statistics
Memorial University, St John's, NL, Canada
http://www.math.mun.ca/~alamj/
eMail: [email protected]
Office: HH-3035, Tel: 709-737 8071
=====================================
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to