-
Notifications
You must be signed in to change notification settings - Fork 56
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
Tolerances in load boundary condition definitions #10
Comments
Thanks for your interest. We purposely let users handle |
Thank you for the quick response. You mentioned that setting |
I have just implemented a function to print out boundary info. Please use this to check if desired boundary conditions are imposed successfully. In you application code, Lines 689 to 716 in 1d34e86
As for how much |
Hello,
I'm currently working on implementing point loads in FEM simulations using your library and have some questions about the tolerance (
atol
) used for defining load boundary conditions. I noticed that in some examples, includingapplications/fem/top_opt/box.py
, the load location function uses certain constants multiplied by the domain dimensions:From my understanding, there are two factors to consider when determining this tolerance. First, we need the tolerance (
atol = c*Lz
) to be larger than the mesh edge length (dz = Lz/Nz
) to ensure that at least one node falls within this range. However, I also understand that the multiplication factorc
should ideally be decoupled from the mesh resolution to ensure consistent results across different mesh sizes.Could you provide some guidance on choosing suitable tolerances and discuss any recommended practices or considerations? For instance, is there an optimal range or formula to calculate
c
in relation to the mesh size or problem scale?Also, I'm curious if there might be a more systematic way to handle this tolerance selection within the library itself, such as by providing a helper function to calculate suitable tolerances based on mesh size and problem scale. I believe this would greatly assist users in correctly applying loads and constraints to their simulations.
Thank you in advance for your help and guidance. I appreciate your work on this library and look forward to your response.
The text was updated successfully, but these errors were encountered: