On Fri, Mar 28, 2025 at 6:46 PM Mark Adams <mfad...@lbl.gov> wrote:

> 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 is correct. We do not have support for BDF. It could be written (we
recently added support for Fluent CASE files), but
if you can make GMsh files, that is both simpler and more robust since it
is a better format.

  Thanks,

    Matt


> 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.
>>
>

-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://urldefense.us/v3/__https://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!cW2a80LlgAoyBTqDEWPooxsQ8VQsSeBM1xq-9RIiDjbpmYWFn5SrCZnJd-apEfIX7GijJFL89R7yKmUVcHGX$
  
<https://urldefense.us/v3/__http://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!cW2a80LlgAoyBTqDEWPooxsQ8VQsSeBM1xq-9RIiDjbpmYWFn5SrCZnJd-apEfIX7GijJFL89R7yKgPZovhk$
 >

Reply via email to