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

patchkernel: rework evaluation of characteristic size of three-dimensional elements #383

Merged
merged 4 commits into from
Apr 26, 2023

Conversation

andrea-iob
Copy link
Member

@andrea-iob andrea-iob commented Apr 3, 2023

The updated formulas are more appropriate when the characteristic size is used for the evaluation of the timestamp in transient simulations. Also, the evaluation of the characteristic size for polygons and polyhedra was missing.

When no better formula is known, characteristic size is evaluated as the volume divided by the area of the largest face (or by the area divided by the length of the longest face for two-dimensional elements).

@andrea-iob
Copy link
Member Author

andrea-iob commented Apr 3, 2023

In some contexts, the updated equations can still provide a size than is larger/smaller that desired. We may want to implement other functions for those specific cases (for example, the levelset provides formulas for evaluating the radius of the tangent sphere or the radius of the bounding sphere).

The updated formulas are more appropriate when the characteristic size
is used for the evaluation of the timestamp in transient simulations.
@andrea-iob andrea-iob merged commit 7393e65 into master Apr 26, 2023
@andrea-iob andrea-iob deleted the patchkernel.polyhedron.size branch April 26, 2023 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants