Skip to content

Commit

Permalink
Update for v0.0.55
Browse files Browse the repository at this point in the history
  • Loading branch information
JWock82 committed Jan 25, 2022
1 parent 5632c82 commit 6f40523
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
6 changes: 4 additions & 2 deletions Examples/Shear Wall with Openings.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
t = 8 # Masonry thickness (in)

# Generate the rectangular mesh
# The effects of cracked masonry can be modeled by adjusting the `ky_mod` factor. For this example
# uncracked masonry will be used to match the textbook problem.
mesh = RectangleMesh(mesh_size, width, height, t, E, nu, kx_mod=1, ky_mod=1, origin=[0, 0, 0],
plane='XY', start_node='N1', start_element='R1', element_type='Rect')

Expand Down Expand Up @@ -86,8 +88,8 @@
renderer = Renderer(model)
renderer.combo_name = 'Seismic'
renderer.color_map = 'Txy'
renderer.set_annotation_size(1)
renderer.set_deformed_shape(True)
renderer.annotation_size = 1
renderer.deformed_shape = True
renderer.deformed_scale = 200
renderer.scalar_bar = True
# renderer.render_model()
Expand Down
2 changes: 1 addition & 1 deletion PyNite/Visualization.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def screenshot(self, filepath='console'):
"""

# Render the model in a window and save the window
window = render_model()
window = self.render_model()

# Screenshot code
w2if = vtk.vtkWindowToImageFilter()
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ An easy to use elastic 3D structural engineering finite element analysis library
* Spring elements: two-way, tension-only, and compression-only.
* Spring supports: two-way and one-way.
* Quadrilateral plate elements (MITC4 formulation).
* Rectangular plate elements (based on a 12-term polynomial formulation).
* Rectangular plate elements (12-term polynomial formulation).
* Basic meshing algorithms for some common shapes and for openings in rectangular walls.
* Reports support reactions.
* Rendering of model geometry, supports, load cases, load combinations, and deformed shapes.
Expand Down Expand Up @@ -62,9 +62,10 @@ PyNite depends on the following packages:
* sympy: Only needed if you want to view the derivations used to build PyNite.

# What's New?
v0.0.55 (pre-release)
v0.0.55
* Added stiffness modification factors for rectangular plate and quarilateral elements. Orthotropic in-plane behavior can now be modeled. This can be used to model the cracked stiffness of concrete and masonry for in-plane loads. Exercise caution when using this feature. These factors only apply to in-plane stiffnesses in the element's local x and y directions. Out-of-plane stiffnesses are not modified. Ensure element local axes are aligned to the directions you want to apply the stiffness modifications to.
* The arguments for many methods relating to rect plates and quads have been reorganized with the addition of the stiffness modification factors. With this update any plate/quad models you have will likely need to be updated.
* Reformulated rectangular plate element in-plane (membrane) forces. These elements are now isoparametric just like the quad elements. This was done to make them orthotropic.
* Improved docstrings for plates and quads.

v0.0.54
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="PyNiteFEA",
version="0.0.54",
version="0.0.55",
author="D. Craig Brinck, PE, SE",
author_email="[email protected]",
description="A simple elastic 3D structural finite element library for Python.",
Expand Down

0 comments on commit 6f40523

Please sign in to comment.