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

2022-12-06 Thread Deepika Kushwah
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 (

[deal.II] deal.II Newsletter #235

2022-12-06 Thread 'Rene Gassmoeller' via deal.II User Group
Hello everyone! This is deal.II newsletter #235. It automatically reports recently merged features and discussions about the deal.II finite element library. ## Below you find a list of recently proposed or merged features: #14536: Choose to initialize ghost elements with reinit(partitioner).

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

2022-12-06 Thread Wolfgang Bangerth
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

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

2022-12-06 Thread Bruno Turcksin
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 <075bme018.hi...@pcampus.edu.np> a écrit : > Hi Bruno, > I have used the .inp format

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

2022-12-06 Thread HIMAL MAGAR
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 wrote: > Himal, > > It looks like there is a problem opening

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

2022-12-06 Thread Bruno Turcksin
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 075bme0...@pcampus.edu.np wrote: > Warm Greetings!, > I am trying to import .msh file that I have

[deal.II] Importing .msh file from CUBIT

2022-12-06 Thread HIMAL MAGAR
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

Re: [deal.II] How do I set initial solution vector to boundary values in DG?

2022-12-06 Thread Wolfgang Bangerth
On 12/5/22 07:21, Abbas wrote: Prof. Bangerth, I probably wasn't clear in my question. I know how to apply BCs for an interior penalty problem weakly. But, for a non-linear problem like step 15, one initialises the solution vector and sets it to the value of the BCs at the boundary before