[petsc-users] If DMPLEX can be created from BDF mesh format?
Mark Adams
mfadams at lbl.gov
Fri Mar 28 17:45:44 CDT 2025
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 程奔 <ctchengben at 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20250328/9af8493e/attachment.html>
More information about the petsc-users
mailing list