Comments (5)
from pynite.
I've tried changing Iy, Iz and E. No change.
There's no stiffness matrix buffer or results set that i need to manually clear before re-running?
from pynite.
I'll have a closer look at this when I get a moment - it may be a bug. You should be able to swap out "I" values and rerun. It's been a while, but I believe I set up the stiffness matrix to re-assemble anytime you invoke the analyze command.
from pynite.
I've experimented with it and it seams to be working for me. Here's a simple working example:
from PyNite import FEModel3D
beam = FEModel3D()
# Define the nodes
beam.add_node('N1', 0, 0, 0)
beam.add_node('N2', 10*12, 0, 0)
beam.add_node('N3', 20*12, 0, 0)
# Define the supports
beam.def_support('N1', True, True, True, True, False, False)
beam.def_support('N2', True, True, True, False, False, False)
beam.def_support('N3', True, True, True, False, False, False)
# Create the beam member
Iz = 24*30**2/12
Iy = 30*24**3/12
J = Iz + Iy
E = 57*(4500)**0.5
G = 0.4*E
A = 24*30
beam.add_member('M1', 'N1', 'N3', E, G, Iy, Iz, J, A)
# Add a member load
w = 0.100*(10*12)
beam.add_member_dist_load('M1', 'FY', w, w)
# Analyze the model
beam.analyze()
# Calculate deflection
d1 = beam.Members['M1'].min_deflection('dy')
# Change the moment of inertia to account for cracking
Iz = 0.35*Iz
beam.Members['M1'].Iz = Iz
# Reanalyze the model
beam.analyze()
# Recalculate deflection
d2 = beam.Members['M1'].min_deflection('dy')
# Compare deflection values
print(d1, d2)
from pynite.
So as it turns out, I was using an older version. I upgraded and it all works fine now.
Sorry about that. Probbaly the first thing i should have done!
from pynite.
Related Issues (20)
- Error Creating Members with Aux Nodes HOT 4
- CylidnerMesh origin wrong when not using axis='Y' HOT 5
- Reaction force - Equilibrium problem HOT 18
- Rotational Symmetry HOT 3
- Incorrect (Zero) Reaction Observed in Z-Direction for Cantilevered Beam with Spring Supports HOT 4
- 'Quad3D' object has no attribute 'LoadCombos' HOT 2
- RuntimeWarning: divide by zero encountered in double_scalars HOT 2
- Displacement Memory Growth & Purge Option + Disk Caching of Displacements HOT 3
- P-Delta Member Internal Results Incorrect HOT 1
- PyNite Import Issue HOT 3
- Tension-only members HOT 3
- Issue initalising PhysMember HOT 3
- Variable cross-section along member HOT 1
- Issue initalising PhysMember second issue with variable position HOT 1
- Spring Supports: reactions = 2x input forces HOT 2
- Help with unit HOT 2
- Speed Improvement HOT 1
- Visualize Local Coordinate Systems on Members in Finite Element Model Visualization HOT 3
- Quad results in global coordinate system HOT 8
- Possible Skewed Quad Error HOT 5
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.