Himal,

Take a look at
https://dealii.org/current/doxygen/deal.II/classGridIn.html#a51f7977b217e305d3538574cbd3d3a01
This has worked for me in the past.

Best,

Bruno

Le mar. 6 déc. 2022 à 11:08, HIMAL MAGAR <[email protected]> a
écrit :

> Hi Bruno,
> I have used the .inp format file and used read_ucd here. I was actually
> trying to import a .msh file. However, the same error occurs for the
> read_msh function as well.
>
> Himal.
>
>
> On Tue, Dec 6, 2022 at 9:41 PM Bruno Turcksin <[email protected]>
> wrote:
>
>> Himal,
>>
>> It looks like there is a problem opening the file. How did you export the
>> mesh? Are you using read_ucd or read_abaqus?
>>
>> Best,
>>
>> Bruno
>>
>> On Tuesday, December 6, 2022 at 10:36:30 AM UTC-5
>> [email protected] wrote:
>>
>>> Warm Greetings!,
>>> I am trying to import .msh file that I have created in CUBIT in step-17.
>>> However, the code doesn't read the file and produces following error:
>>> [image: Screenshot from 2022-12-06 21-15-16.png]
>>> Do i need to manually modify the contents in file before importing into
>>> the code? If so, how can i do that?
>>> Thanks
>>> Himal.
>>>
>> --
>> The deal.II project is located at http://www.dealii.org/
>> For mailing list/forum options, see
>> https://groups.google.com/d/forum/dealii?hl=en
>> ---
>> You received this message because you are subscribed to a topic in the
>> Google Groups "deal.II User Group" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/dealii/qd-n-iiMx-k/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/dealii/bc9262ab-4258-4032-b839-bb9e78d75a41n%40googlegroups.com
>> <https://groups.google.com/d/msgid/dealii/bc9262ab-4258-4032-b839-bb9e78d75a41n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> The deal.II project is located at http://www.dealii.org/
> For mailing list/forum options, see
> https://groups.google.com/d/forum/dealii?hl=en
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "deal.II User Group" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/dealii/qd-n-iiMx-k/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dealii/CA%2BNXOPp393MsXvw2K8_SgUpK8WrjyHKnawiSjLQ9r-EDEAy0CA%40mail.gmail.com
> <https://groups.google.com/d/msgid/dealii/CA%2BNXOPp393MsXvw2K8_SgUpK8WrjyHKnawiSjLQ9r-EDEAy0CA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/CAGVt9ePB8VB%3DQErGZx25CpfzLe1kc5PLFYqObaGSSxaARKMQow%40mail.gmail.com.

Reply via email to