# How to work on geometry before doing meshing?

**URL:** <https://prepomax.discourse.group/t/how-to-work-on-geometry-before-doing-meshing/353>\
**Category:** General Questions\
**Created:** [August 11, 2022, 6:58am UTC](https://prepomax.discourse.group/t/how-to-work-on-geometry-before-doing-meshing/353 "2022-08-11T06:58:33Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![SergioP1975](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/sergiop1975/32/37_2.png) [@SergioP1975](https://prepomax.discourse.group/u/SergioP1975)\
**Post date:** [August 22, 2022, 2:26pm UTC](https://prepomax.discourse.group/t/how-to-work-on-geometry-before-doing-meshing/353/21 "2022-08-22T14:26:02Z")

</div>

First, remove in CAD all not needed fillets, then use the same value for min and max element size.

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [August 22, 2022, 5:47pm UTC](https://prepomax.discourse.group/t/how-to-work-on-geometry-before-doing-meshing/353/22 "2022-08-22T17:47:56Z")

</div>

And do not forget to set the values of elements per edge and elements per curvature to a lower value. Somethig like 0.5 or even 0.1. It is a scalig factor, so it can be lower than 1.

---

<div class="post-metadata">

**Author:** ![Mobis](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@Mobis](https://prepomax.discourse.group/u/Mobis)\
**Post date:** [September 7, 2022, 4:26am UTC](https://prepomax.discourse.group/t/how-to-work-on-geometry-before-doing-meshing/353/23 "2022-09-07T04:26:35Z")

</div>

Thanks for explaining meshing parameters. I have checked the parameters for small size components & it is giving good mesh for some set of parameters.  
Now the problem is  
1)How to check the quality in prepomax for the generated mesh  
2)How to generate R-trias in holes & fillets(that is our special requirement)  
Can you please give solutions for the above problems?

---

<div class="post-metadata">

**Author:** ![Mobis](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@Mobis](https://prepomax.discourse.group/u/Mobis)\
**Post date:** [September 7, 2022, 4:50am UTC](https://prepomax.discourse.group/t/how-to-work-on-geometry-before-doing-meshing/353/24 "2022-09-07T04:50:13Z")

</div>

And one more question is how to generate 2D shell (tria element) mesh without generating tetra in Prepomax?

---

<div class="post-metadata">

**Author:** ![FEAnalyst](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/feanalyst/32/688_2.png) [@FEAnalyst](https://prepomax.discourse.group/u/FEAnalyst)\
**Post date:** [September 7, 2022, 7:47am UTC](https://prepomax.discourse.group/t/how-to-work-on-geometry-before-doing-meshing/353/25 "2022-09-07T07:47:38Z")

</div>

> [@Mobis](#):
>
> 1)How to check the quality in prepomax for the generated mesh

You have to do it in an external mesher, open-source Gmsh and Salome\_Meca programs offer some mesh quality checks but they have limited capabilities in this regard.

> [@Mobis](#):
>
> 2)How to generate R-trias in holes & fillets(that is our special requirement)

Do you mean splitting quads into 2 tria elements ? This might be possible in Salome\_Meca or in Gmsh (likely with some scripting). It would be best to ask on their forums.

> [@Mobis](#):
>
> how to generate 2D shell (tria element) mesh without generating tetra in Prepomax?

To mesh with 2D elements your geometry must be recognized as shell in PrePoMax and thus modeled and imported as surface only.

---

<div class="post-metadata">

**Author:** ![Tor](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/tor/32/870_2.png) [@Tor](https://prepomax.discourse.group/u/Tor)\
**Post date:** [September 13, 2022, 8:40pm UTC](https://prepomax.discourse.group/t/how-to-work-on-geometry-before-doing-meshing/353/26 "2022-09-13T20:40:19Z")

</div>

I suggest you take a look at the following video to get an intro to meshing in Salome\_meca. In my opinion, the mesher is a lot more intuitive than the rest of the code\_aster suite.

[![](https://global.discourse-cdn.com/free1/uploads/prepomax/original/2X/4/48849689e7cbd00e60bf3b3bad4ad305b7e91adf.jpeg "[Salome-Meca Tutorial] Simple Plate Linear Static Analysis") ](https://www.youtube.com/watch?v=TbZDXt_VSTE)

[Previous page](https://prepomax.discourse.group/t/how-to-work-on-geometry-before-doing-meshing/353.md?page=1)
