Mesh generation

111 views
Skip to first unread message

phillip mobley

unread,
Jul 7, 2015, 9:57:04 PM7/7/15
to dea...@googlegroups.com
Hello everyone,

I have a question for the community. I have a solidworks model for a motor that I would like to simulate in deal.II. To do this, I will need to generate a mesh that deal.II can read. Due to the complexitiy, I am unable to simply create the 3D model via code.

I was wondering, what 3rd party mesh generator does the community use? Solidworks can export the model into a number of different formats so compatibility is not an issue for me. I myself am currently looking through google for a program that can do this.

Also, on an off-handed question, I am just getting started with deal.II and I was also wondering if anyone created a getting started guide

Martin Steigemann

unread,
Jul 8, 2015, 1:45:16 AM7/8/15
to dea...@googlegroups.com
Dear Philip,
 
you can export your CAD model in IGES or STEP format for example and mesh with Cubit from Sandia Labs,
 
 
export in UCD format and read with dealii, this works for me, but as far as I remember Cubit is not free.
 
Best,
Martin
--
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+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

phillip mobley

unread,
Jul 8, 2015, 9:09:52 AM7/8/15
to dea...@googlegroups.com
Oh ok thanks, I will have to take a look.

I did find a free mesh generator called gmsh: http://geuz.org/gmsh/

Not too sure how well it will work but I intend to try it soon!

Bruno Turcksin

unread,
Jul 8, 2015, 10:48:59 AM7/8/15
to dea...@googlegroups.com
Phillip,


On Wednesday, July 8, 2015 at 8:09:52 AM UTC-5, phillip mobley wrote:
Oh ok thanks, I will have to take a look.

I did find a free mesh generator called gmsh: http://geuz.org/gmsh/

Not too sure how well it will work but I intend to try it soon!

gmsh works fine and deal.II can directly load the mesh generated by gmesh see https://dealii.org/8.2.1/doxygen/deal.II/step_49.html#grid_1Loadingameshgeneratedbygmsh However, note that deal.II can only work with quadrilaterals in 2D (which works fine with gmsh) and hexahedra in 3D (sometimes gmsh creates over-refined meshes).

Best,

Bruno

Wolfgang Bangerth

unread,
Jul 12, 2015, 6:25:47 AM7/12/15
to dea...@googlegroups.com

Philip,

> I have a question for the community. I have a solidworks model for a motor
> that I would like to simulate in deal.II. To do this, I will need to generate
> a mesh that deal.II can read. Due to the complexitiy, I am unable to simply
> create the 3D model via code.
>
> I was wondering, what 3rd party mesh generator does the community use?
> Solidworks can export the model into a number of different formats so
> compatibility is not an issue for me. I myself am currently looking through
> google for a program that can do this.

In addition to the answers others have already given, take a look here:

https://github.com/dealii/dealii/wiki/Frequently-Asked-Questions#how-do-i-create-the-mesh-for-my-problem


> Also, on an off-handed question, I am just getting started with deal.II and I
> was also wondering if anyone created a getting started guide

We don't seem to have anything of this sort. I imagine one would say "Install
deal.II" and "Read and play with the tutorials" there. What else would you
expect in such a document?

Best
W.


--
------------------------------------------------------------------------
Wolfgang Bangerth email: bang...@math.tamu.edu
www: http://www.math.tamu.edu/~bangerth/

Reply all
Reply to author
Forward
0 new messages