Earl,

On Wednesday, June 5, 2019 at 1:02:08 AM UTC-4, Earl Fairall wrote:
>
> Dear Baoyun, 
>
> I too have been looking at this exact application. Building the mesh in 
> deal.ii is difficult. Deal.ii only has some very fundamental shapes which 
> require the use of boolean operations for increased complexity. This in 
> itself is not challenging. The challenge is that the mesh nodes must line 
> up exactly. This really requires a function which moves/merges/places nodes 
> manually (i'm not sure if Deal.ii has such a "healing" function) or else an 
> automatic mesh generator is required.  I have, at least temporarily, given 
> up on Deal.ii meshing and started looking at Gmsh as a possible option for 
> automatic mesh generation, but I would rather stay within the deal.ii 
> framework if I can figure it out! 
>
If you have a complex mesh, Gmsh is probably the way to go but if you have 
a mesh that is composed of simple geometries, you can use the Python 
wrappers to prototype the code (see here 
<https://github.com/dealii/dealii/blob/master/contrib/python-bindings/notebooks/tutorial-1.ipynb>).
 
It's a lot faster to try something in Python and you can either dump the 
mesh and reload it in C++ or once you have a working code, you can rewrite 
the code in C++

Best,

Bruno

-- 
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/bc1db3c7-b1c6-493c-852f-1616782c5c64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to