Hi John, I did try concatenating the files but that did not seem to work. I can almost get what I need by opening up the POS file in GMSH and re-exporting. My ultimate goal is to have a single file that contains both mesh information and "NodeData" information per GMSH's most recent file version. I think I can manage by writing a simple file parser. If you all end up supporting a more recent GMSH version in the future, I am happy to test it out with my workflow.
-- Charles On Mon, Aug 16, 2021 at 7:44 AM John Peterson <jwpeter...@gmail.com> wrote: > > > On Sat, Aug 14, 2021 at 12:29 PM Charles Puelz <charles.pu...@gmail.com> > wrote: > >> Hello, >> >> I am trying to write both a mesh and data corresponding to a libMesh >> system >> to a single MSH file. It looks like this can be done with an MSH file >> version > 4. >> >> At this point I can separately write out a mesh in an MSH file using the >> "write" function and system data to a POS file using >> 'write_equation_systems" or "write_nodal_data." > > >> Is it possible to write both the mesh and system data to a single MSH file >> with version > 4? >> > > This might be something that Gmsh supports, but I don't think we support > it in libmesh currently. > > > Otherwise, does anyone have an idea for combining legacy POS and MSH files >> for system data and a mesh in another way? >> > > I guess it would depend on the file format definitions for both file > types, which I'm not very familiar with. They are both ASCII files, so have > you tried to simply "cat" them together? Also, what is your ultimate goal > here, just to have a single file for organization purposes? > > -- > John > -- Charles Puelz Baylor College of Medicine cpuelz.github.io _______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users