Hi Cheng,

Sorry for the late reply. I believe we only support reading .msh files in
DMPlex.
You can look at src/dm/impls/plex/tests/ex1.c as an example (testing input
parameters are in a large comment at the bottom of the file).

Mark

On Thu, Mar 27, 2025 at 11:03 AM 程奔 <ctcheng...@mail.scut.edu.cn> wrote:

> Hello,
> Recently I create mesh from MSC Patran and its mesh format is BDF file (
> attached with a square structure with Unstructured tetrahedral mesh ). So
> i ask for the help that if *DMPlexCreateFromFile
> <https://urldefense.us/v3/__https://petsc.org/release/manualpages/DMPlex/DMPlexCreateFromFile/__;!!G_uCfscf7eWS!eOpR8_zNbigCyBZzpOxibsnxolp7Z8om8LrHIIf6E_yxN7VNH7K-bi_Ig5kMK4gMt7pzRfXH3lR6X5Ax89rgYPEtO1yxq2115g$>
>  *
> can import the BDF file or I should explicitly change the BDF file to the
> MSH file format.
>
>
> Looking forward to your reply!
>
>
> sinserely,
> Cheng.
>

Reply via email to