[petsc-users] DMPlexCreateGmsh
Dharmendar Reddy
dharmareddy84 at gmail.com
Thu Jan 16 14:17:20 CST 2014
Hello,
Gmsh does not output mesh in exodus format. I tried hard to
look for an open source mesher which i can use, i ended up with gmsh.
If there is a better alternative i can switch.
Currently i pre process the gmsh file in my fortran code before i
create a dm object via createFromCellList.
Is there an opensource mesh converter available which can take gmsh to
exoduss, i could not find one. I tried writing one but the problem is,
i have to first form all the edges/facets in the mesh and map them to
the boundary before i can create the sidesets for the exodus.
So, if it is possible, i will prefer to read my mesh via
DMPLexcreateGmsh otherwise i can continue to use my code.
Thank you All
Reddy
On Thu, Jan 16, 2014 at 8:28 AM, Jed Brown <jed at jedbrown.org> wrote:
> Matthew Knepley <knepley at gmail.com> writes:
>
>> On Sun, Jan 12, 2014 at 7:37 PM, Gorman, Gerard J
>> <g.gorman at imperial.ac.uk>wrote:
>>
>>> Hi Matt
>>>
>>> First - really sorry for having inflicted this on you. I agree that
>>> there are many problems with the format and it’s not like the world needs a
>>> new file format. I only happened to use it for a case where there was an
>>> existing toolchain…which I’m now rewriting anyhow.
>>>
>>> What is your current least detested file format for FEM that plays
>>> nicely with DMPlex? Exodus II?
>>>
>>
>> ExodusII we can read, and it maintains all the markers correctly, etc. It
>> is currently my favorite.
>
> CGNS is another alternative that is implemented (though less mature in
> PETSc). Note that CGNS is more typically finite volume CFD oriented,
> though it can also be used for FEM.
--
-----------------------------------------------------
More information about the petsc-users
mailing list