Comments (1)
This is mostly an update, but please jump in if you think I'm headed for disaster...
I've been focused on this issue the past couple days, and I think I've got a pretty simple solution. This new function inside the FERFunctions
module gives the gist of it...
'Returns the fixed end reaction vector for a point load of any orientation
'Replaces original functions: FER_PtLoad & FER_AxialPtLoad
Public Function FER_PointLoad(P As Double, x As Double, L As Double, LambdaX As Double, LambdaY, LoadDir As LoadDirection) As Matrix
'Define variables
Dim b As Double
b = L - x
'Create the fixed end reaction vector
Set FER_PointLoad = New Matrix
Call FER_PointLoad.Resize(6, 1)
'Resolve point load into local x & y components
Dim Px As Double, Py As Double
Select Case direction
Case Axial
Px = P
Py = 0
Case Transverse
Px = 0
Py = P
Case Horizontal
Px = P * LambdaX 'a.k.a DirCos
Py = P * LambdaY 'a.k.a DirSin
Case Vertical
Px = P * LambdaY
Py = P * LambdaX
End Select
'Populate the fixed end reaction vector
With FER_PointLoad
Call .SetValue(1, 1, -Px * (L - x) / L)
Call .SetValue(2, 1, Py * b ^ 2 * (L + 2 * x) / L ^ 3)
Call .SetValue(3, 1, Py * x * b ^ 2 / L ^ 2)
Call .SetValue(4, 1, -Px * x / L)
Call .SetValue(5, 1, Py * x ^ 2 * (L + 2 * b) / L ^ 3)
Call .SetValue(6, 1, -Py * x ^ 2 * b / L ^ 2)
End With
End Function
Also this enumeration inside the FEModel
class module gets 2 new entries...
'Directions for member loads
Public Enum LoadDirection
Transverse 'Local y
Axial 'Local x
Vertical 'Global Y
Horizontal 'Global X
End Enum
The existing distributed load functions, FER_LinLoad
& FER_AxialLinLoad
are similarly combined/replaced, and that one being so much more complex I've focused my testing efforts on it entirely. Good news: the approach seems to be solid! I like it because it doesn't require creation of 2 entries in the array of loads in order to achieve horizontal or vertical loading on a sloped member, which is one way my OP could've been interpreted.
Still on my to-do list: chase these functions back through the chain of calling subs/functions to recode accordingly, passing all the required arguments. Then squash bugs.
from xlframe.
Related Issues (19)
- application of known displacements to nodes HOT 9
- not getting correct member moment diagram HOT 8
- Sign convention HOT 1
- Graphical User Interface
- GetMaxMemberDisp / GetMinMemberDisp functions HOT 1
- Functions to delete loads
- Member Code Checks
- Automatically segment physical members
- Invalid perameters HOT 1
- Run-time error : wrong number of arguments or invalid property assignment HOT 3
- Problem in Test Example: Private Sub FEM_Problem_3_27() HOT 2
- LoadCombo.cls is being imported as a Module not a Class
- Member Internal Moment & Shear for Point Loads at Member Ends are Not Reported HOT 7
- Nice work! HOT 4
- Incorporate points associated with segment bounds into diagrams of shear, moment, etc. HOT 6
- Add support for load combinations HOT 2
- add spring supports HOT 1
- add module(s) of tools related to drawing diagrams of V(x), M(x), etc. 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 xlframe.