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

Faster area2lineload.py #9

Open
kowalskiw opened this issue Jan 10, 2022 · 1 comment
Open

Faster area2lineload.py #9

kowalskiw opened this issue Jan 10, 2022 · 1 comment
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed

Comments

@kowalskiw
Copy link
Owner

The area2lineload.py script from structures is terribly slow. It took c.a. 30 min to run an example structure with 10k beam elements and 360 different load areas. And there were no edges routine implemented, only fully supported areas.

IMHO there are some bottlenecks, which I listed below. This improvements have to be done ASAP, to make the script practicable. Nevertheless, simple cases still can be covered with the current version.

  1. Get meshing from .IN file - when the structure will be meshed exactly in the same pattern (same edge nodes) there will be no need to iterate over reaction nodes to find the two nearest points for interpolation. Resolution of the mesh would be exact - no overestimation and shorter SAFIR calculations. It can cause some bugs in gmsh API.
  2. Less timestep for dummy shells - there are 10 timesteps, 1 s each to be calculated for a dummy shell. This value could be lower. However good reaction estimation should be achieved. 3 time steps seems like a safe and low-cost solution.
  3. Assign summed loads - load from each dummy is assigned in single LOAD command. Thus, it is possible to visualize only the first load case (LOAD command). To see the sum of loads implemented by the script, it is required to sum it per element.

Any help with these would be very appreciated, as well as some other weaknesses of the code.

@kowalskiw kowalskiw added bug Something isn't working enhancement New feature or request help wanted Extra attention is needed labels Jan 10, 2022
@kowalskiw
Copy link
Owner Author

Point 2 - done. There are only three one-second time steps for each dummy shell.

@kowalskiw kowalskiw pinned this issue Jan 24, 2022
@kowalskiw kowalskiw unpinned this issue Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant