Skip to content

Commit

Permalink
Update to 0.2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
ioannis-vm committed Aug 25, 2024
1 parent c19338b commit 1ac97fc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]


## [0.2.7] - 2024-08-25

### Fixed

- Fixed bug in applying gravity loads before a time-history or pushover analysis.
- Replaced pushover convergence tolerance with a more appropriate value.

## [0.2.6] - 2024-05-01

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = osmg
version = 0.2.6
version = 0.2.7
url = https://github.com/ioannis-vm/OpenSees_Model_Generator
description = OpenSees Model Generator
long_description = OpenSees Model Generator
Expand Down
6 changes: 3 additions & 3 deletions src/osmg/solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -1482,7 +1482,7 @@ def run(
self._to_opensees_domain(case_name)

self.log("Defining loads")
self._define_loads(case_name, 0.01)
self._define_loads(case_name)
self.log("Running gravity analysis")
self._run_gravity_analysis(100)

Expand Down Expand Up @@ -1525,7 +1525,7 @@ def run(
1.0e-11,
]
steps = [500] * 12
norm = [1.0e-15] * 12
norm = [1.0e-8] * 12
algorithms = [("KrylovNewton",), ("KrylovNewton", 'initial')]

try:
Expand Down Expand Up @@ -1917,7 +1917,7 @@ def run(

# gravity analysis
self.log("Defining loads")
self._define_loads(case_name, factor=0.1)
self._define_loads(case_name)

self.log("Starting gravity analysis (G)")
self._run_gravity_analysis(num_steps=10)
Expand Down

0 comments on commit 1ac97fc

Please sign in to comment.