Re: [deal.II] Importing .msh file from CUBIT

2022-12-07 Thread 'yy.wayne' via deal.II User Group
I never notice that limitation before. Thank you.

在2022年12月7日星期三 UTC+8 22:54:57 写道:

> That error is independent of the mesh format that you are using. deal.II 
> does not support boundary id on internal faces. I agree that Cubit is 
> better for hex meshes but I think most people use GMSH because it's easier 
> to get. With Cubit, you can also export the file as an ExodusII file and we 
> use Trilinos to read that format so that may give you better support across 
> Cubit versions. This doesn't change the fact that deal.II does not support 
> boundary id on internal faces.
>
> Bruno
>
> Le mer. 7 déc. 2022 à 09:32, 'yy.wayne' via deal.II User Group <
> dea...@googlegroups.com> a écrit :
>
>> I see ... I forgot that Cubit and Coreform Cubit are different, the 
>> former one is for gov. and latter one is for commercial & academic use.
>> I can import an .inp mesh exported from Coreform Cubit when no SideSet 
>> are asigned. With SideSet it gives following error: 
>> [image: Snipaste_2022-12-07_22-27-05.png]
>> Cubit is easier to use than GMSH when generating hex meshes and saves a 
>> lot time. Any recommended open source software to generate
>> hex mesh that deal.II can read?
>> 在2022年12月7日星期三 UTC+8 22:18:10 写道:
>>
>>> I don't know what's the relationship between Trelis and Cubit. I got 
>>> Cubit directly from Sandia https://cubit.sandia.gov/ but it's not 
>>> available to everybody. It looks like Coreform has its own versioning that 
>>> doesn't match the one from Sandia :-( Try something that's from 2021 or 
>>> older.
>>>
>>> Best,
>>>
>>> Bruno
>>>
>>> Le mer. 7 déc. 2022 à 05:20, 'yy.wayne' via deal.II User Group <
>>> dea...@googlegroups.com> a écrit :
>>>
 Sorry but I want to add a question here. What's the recommanded  way to 
 import a mesh from cubit to deal.ii?
 I tried read_abaqus and read_ucd with following error:
 [image: Snipaste_2022-12-07_18-14-08.png]
 I‘m using Cubit 2022.4. In deal.II documentation it supports Cubit 11.x 
 to 15.x, does it mean Trelis 15.x? [Cubit download 
 ]
 At least in Trelis 16.5 there's no "Export using Cubit ID's" to uncheck.

 在2022年12月7日星期三 UTC+8 00:30:51 写道:

> On 12/6/22 08:36, HIMAL MAGAR wrote: 
> > 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: 
>
> The error happens in read_ucd(), but that is clearly the wrong 
> function for 
> reading .msh files: You need to use read_msh(). 
>
> That said, the error happens at the very top of the function. I 
> believe that 
> you are trying to read from a file that doesn't exist or can't be 
> opened. Did 
> you spell the file name and directory name correctly in your program? 
> Does the 
> file you are trying to read from actually exist? 
>
> Best 
> W. 
>
> -- 
>  
>
> Wolfgang Bangerth email: bang...@colostate.edu 
> www: http://www.math.colostate.edu/~bangerth/ 
>
>
> -- 
 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 
 dealii+un...@googlegroups.com.

>>> To view this discussion on the web visit 
 https://groups.google.com/d/msgid/dealii/3a506bf2-1731-4823-af09-3f0bff35232en%40googlegroups.com
  
 
 .

>>> -- 
>> 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 
>> dealii+un...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/dealii/936d2acb-6a78-468a-a963-0add5882231an%40googlegroups.com
>>  
>> 
>> .
>>
>

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

Re: [deal.II] Hoe to merge hyper_cube_with_cylindrical_hole with hyper_ball()

2022-12-07 Thread Daniel Arndt
Deepika,

You will need to appropriate manifolds ids and manifolds after merging the
triangulations. Also, you need to make sure that the coarse triangulations
share the same vertices and edges at the interior boundary.

Best,
Daniel

On Wed, Dec 7, 2022 at 2:24 AM Deepika Kushwah 
wrote:

> Hello Everyone,
>
> I am trying to create a triangulation
> with hyper_cube_with_cylindrical_hole function but in place of hole I want
> to use solid inclusion. I tried with
> function GridGenerator::merge_triangulations(tria_inner, tria_outer,
> triangulation) but I am getting the following geometry ( see the
> attachment).
>
> How to resolve this please help.
>
> Thanks & Regards
> Deepika
>
>
>
> **
> This e-mail is for the sole use of the intended recipient(s) and may
> contain confidential and privileged information. If you are not the
> intended recipient, please contact the sender by reply e-mail and destroy
> all copies and the original message. Any unauthorized review, use,
> disclosure, dissemination, forwarding, printing or copying of this email
> is strictly prohibited and appropriate legal action will be taken.
> 
> 
>
> --
> 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 dealii+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dealii/d1f3c6a3-a408-4de8-905c-121b4e5a2c42n%40googlegroups.com
> 
> .
>

-- 
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 dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/CAOYDWbJF08Jerh715DLwDDejHZoUiGNoz-%3D9SSboOuRjmJOAgA%40mail.gmail.com.