veiguf / easybeam Goto Github PK
View Code? Open in Web Editor NEWEasy Application for Structural analYsis with BEAMs
License: GNU General Public License v3.0
Easy Application for Structural analYsis with BEAMs
License: GNU General Public License v3.0
Just found that the difference, especially in the mode shape, between Euler-Bernoulli and Timoshenko is very large.
There are also differences in
We should look into this and then validate a couple examples analytically or with FEA.
Sign up for a digital object identifier to be able cite EasyBeam
See here.
In the current code, the largest time expenditure is the assembling of the system matrices: BeamAnalysis.py 180-184.
def Assemble(self, MatElem):
Matrix = np.zeros([self.nNDoF*self.nN, self.nNDoF*self.nN])
for i in range(self.nEl):
Matrix += self.L[i][email protected][i].T@MatElem(i)@self.T[i]@self.L[i]
return Matrix
The global matrix is assemble by the rotating and extending the element matrix to the global coordinate system.
It will be faster to rotate but not expand the element matrices and assigning it via an index, i.e.
Matrix[dof[i], dof[i]] += self.T[i].T@MatElem(i)@self.T[i]
where dof[i] is a vector of global dofs for the ith element.
This avoids two multiplication operations and the memory needed for the larger elements.
Currently nEl strain--displacement matrices are constructed in the initialization of the model. For large models, this requires relatively large amounts of computational effort.
EasyBeam/EasyBeam/BeamAnalysis.py
Lines 250 to 253 in 852b6f7
This could be moved to a postprocessing step and loaded into the memory only at the time of the strain calculation (or directly to stress calculation). This would have the added benefit of not being used at all in modal analysis where it is not used.
Analogously, one could consider similar speed up measures for TransMat and ShapeMat
Overwriting of self.El causing issues for the implementation of SA sensitivity analysis. This is kind of dirty. Can this be avoided?
def Initialize(self):
self.N = np.array(self.N, dtype=float)
El = np.array(self.El)
self.PropID = El[:, 2]
self.El = np.array(El[:, 0:2], dtype=int)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.