Comments (10)
This feature is now complete as of v0.0.67.
from pynite.
Definitely a feature I've been wanting to add. I've been slow to get to it knowing it will take a fair effort, and could cost some computational overhead if I don't do it right.
from pynite.
Hey is there any interest in this still?
Code here: repair_mwe.py
from pynite.
There definitely is. Is that what your code above does?
from pynite.
Yes it's a minimal working example to generate the example image above. I have not done extensive testing, but from the examples I have run, it is correctly breaking up members at intersections then correctly reassigning the relevant releases, distributed loads, and point loads.
from pynite.
I'm working on incorporating this into Node3D/Member3D/Model3D now. I'll come back with a link shortly.
from pynite.
I've put it up here: https://github.com/maderero/PyNite/tree/repair_model
Please try the example under Examples/Braced Frame - Repair Usage.py
This will create intersecting vertical and horizontal members. The added repair
method takes care of the subdivisions.
I am seeing some warnings coming out of the Visualizer (related to how I am breaking up the distributed loads):
.../PyNite/PyNite/Visualization.py:1173: RuntimeWarning: divide by zero encountered in double_scalars
step = loadLength/num_steps
.../PyNite/PyNite/Visualization.py:1179: RuntimeWarning: invalid value encountered in double_scalars
position = (position1[0] + i*step*lineDirCos[0], position1[1] + i*step*lineDirCos[1], position1[2] + i*step*lineDirCos[2])
.../PyNite/PyNite/Visualization.py:1182: RuntimeWarning: invalid value encountered in double_scalars
length = length1 + (length2 - length1)/loadLength*i*step
Any ideas?
from pynite.
I just pushed a commit d1b03ed
that substantially reduces the runtime.
from pynite.
An update on this feature:
This is my current focus for PyNite. I think I've found a simple way to implement this with minimal code using class inheritance to nest members within other specialized members. I need to modify a few more parts of PyNite, and then run tests and debug, but I expect to have this done very soon.
from pynite.
Update #2:
I think I've got it implemented. I'm starting to run tests on this feature. Once I'm done testing it I'll roll it out in a new version.
from pynite.
Related Issues (20)
- Nodal spring direction sign HOT 2
- Error in global geometric stiffness matrix HOT 1
- Possible code reorganisation HOT 4
- merge_duplicate_nodes removes supports HOT 3
- Some distributed loads not noted in visualizer
- Error in member3D HOT 3
- Model Re-Analysis HOT 5
- Enforced Nodal Displacements are Overridden by Spring Supports HOT 6
- VTK visualization crashing Jupyter kernel; causing errors in terminal HOT 5
- multiprocessing HOT 3
- Possible issue with spring restrain HOT 4
- Add methods to Member for returning result arrays HOT 2
- PendingDeprecationWarning: matrix subclass to be deprecated HOT 1
- Load cases added to load combos HOT 4
- New release with new array and plotting features? HOT 2
- PhysMember with AuxNodes Bug [Solution Included] HOT 1
- Implement rotational springs? HOT 4
- Discontinuities in moment, deflection diagrams HOT 8
- Cannot create PDF report HOT 2
- Post-processing - analysis fails for two span beams HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pynite.