[petsc-users] [petsc4py] DMPlexCreateFluentFromFile or equivalent?

Matthew Knepley knepley at gmail.com
Wed May 23 10:35:48 CDT 2018


On Wed, May 23, 2018 at 11:34 AM, Valerio Barnabei <
valerio.barnabei at gmail.com> wrote:

> I apologise for my behaviour, I'm not that familiar with mailing lists.
>
> I'm quite familiar with the format: it's a multiblock format, but i don't
> have a clear documentation about the structure of the format.
> As for helping in implementing, I can try but I think i still need to
> become more confident with the structure of PETSc itself, before attempting
> to add something to it.
> In any case, I suppose I should refer to another mailing list for that
> purpose, am I right?
>

This is fine for that. I think the crucial concern is to locate a
specification for any format you might
be interested in. That would allow someone, maybe us maybe you, to support
it.

   Thanks,

     Matt


> 2018-05-23 17:20 GMT+02:00 Jed Brown <jed at jedbrown.org>:
>
>> Please always use "reply-all" so that your messages go to the list.
>> This is standard mailing list etiquette.  It is important to preserve
>> threading for people who find this discussion later and so that we do
>> not waste our time re-answering the same questions that have already
>> been answered in private side-conversations.  You'll likely get an
>> answer faster that way too.
>>
>> Valerio Barnabei <valerio.barnabei at gmail.com> writes:
>>
>> > Thanks for you answer.
>> > Since we're on similar topic, is there any chance to import a CFX mesh
>> > (file.grd)?
>>
>> It isn't implemented yet, but can be.  Do you have documentation of the
>> format?  And would you be interested in helping to implement this (with
>> guidance from us)?
>>
>> > 2018-05-23 17:08 GMT+02:00 Jed Brown <jed at jedbrown.org>:
>> >
>> >> Just use createFromFile('file.cas')
>> >>
>> >> Valerio Barnabei <valerio.barnabei at gmail.com> writes:
>> >>
>> >> > Hello,
>> >> > I was wondering if there's an equivalent method of
>> >> > DMPlexCreateFluentFromFile in petsc4py: unfortunately I can't find
>> >> anything
>> >> > similar in the source code, and i would love to directly import a
>> fluent
>> >> > unstructured mesh in my code.
>> >> > Alternatively, can you suggest any implemented method in DMplex.pyx
>> to
>> >> > achieve similar results?
>> >> >
>> >> > Thanks in advance for your help.
>> >> > Best Regards,
>> >> >
>> >> > Valerio
>> >>
>>
>
>


-- 
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://www.cse.buffalo.edu/~knepley/ <http://www.caam.rice.edu/~mk51/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20180523/839edf9d/attachment.html>


More information about the petsc-users mailing list