Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better mesh size control in triangle #259

Closed
robbievanleeuwen opened this issue Dec 16, 2022 Discussed in #257 · 3 comments · Fixed by #290
Closed

Better mesh size control in triangle #259

robbievanleeuwen opened this issue Dec 16, 2022 Discussed in #257 · 3 comments · Fixed by #290
Assignees
Labels
enhancement New feature or request

Comments

@robbievanleeuwen
Copy link
Owner

Discussed in #257

Originally posted by audunarn December 2, 2022
Hi, I find that it is easier to control the mesh size in triangle by changing the max/min angle (in pre.py):

generate mesh

if coarse:
mesh = triangle.triangulate(tri, "pAo2")
else:
mesh = triangle.triangulate(tri, "pq30Aao2")

I could add this functionality if you wish.

@robbievanleeuwen robbievanleeuwen added the enhancement New feature or request label Dec 16, 2022
@robbievanleeuwen robbievanleeuwen self-assigned this Dec 16, 2022
@robbievanleeuwen robbievanleeuwen mentioned this issue Jun 11, 2023
@SoundsSerious
Copy link

SoundsSerious commented Jul 27, 2023

I think this would really help with some of the segmentation fault issues #284 that I find will occur sometimes on thin cross sections.

Would there be any advantages to trying a different meshing library?

@robbievanleeuwen
Copy link
Owner Author

Hi @SoundsSerious, there is a new library cytriangle in development that looks promising - watch this space.

@SoundsSerious
Copy link

Yes that looks great, hopefully that would plug right into sectionproperties

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants