Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
48 of 140 committers (34.3%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (16.8%) to scientific vocabulary
Keywords
Repository
Nonlinear finite element analysis.
Basic Info
- Host: GitHub
- Owner: peer-open-source
- License: bsd-2-clause
- Language: C++
- Default Branch: stable
- Homepage: https://xara.so
- Size: 462 MB
Statistics
- Stars: 43
- Watchers: 2
- Forks: 31
- Open Issues: 2
- Releases: 1
Topics
Metadata Files
README.md
Nonlinear finite element analysis.

xara is a Python package that provides an intuitive and performant API for nonlinear finite element analysis, implemented in C++ through the OpenSeesRT framework. OpenSees features state-of-the-art finite element formulations and solution algorithms, including mixed formulations for beams and solids, over 200 material models, and an extensive collection of continuation algorithms to solve highly nonlinear problems.
This package may be used as a drop-in replacement for both OpenSees.exe and
OpenSeesPy (see Getting Started below), and generally provides a substantial performance boost.
Getting Started
The xara package can be installed into a Python environment
in the standard manner. For example, using pip:
shell
pip install xara
There are several ways to use the xara package:
The standard way to use
xarafrom Python is to create axara.Model, and invoke its methods:python model = xara.Model(ndm=2, ndf=2) # Create a 2D model with 2 DOFs per node model.node(1, 2.0, 3.0) ...Most of the functions from the OpenSeesPy library can be invoked directly as methods of axara.Modelwithout any changes in syntax, although it is generally encouraged to use the safer variants supported byxara. For example: ```pythonBAD
model.pattern("Plain", 1, "Linear") model.load(1, 2.0, 3.0)
GOOD
model.pattern("Plain", 1, "Linear") model.load(1, 2.0, 3.0, pattern=1) ```
To start an interactive Tcl interpreter run the shell command:
bash
python -m opensees
To quit the interpreter, just run exit:
tcl
opensees > exit
To execute Tcl procedures programmatically from Python, create an instance of the
xara.Modelclass and call itseval()method to evaluate Tcl code:python model = xara.Model() model.eval("model Basic -ndm 2") model.eval("print -json")The
xarapackage exposes a compatibility layer that exactly reproduces the OpenSeesPy functions, but does so without mandating a single global program state. To run OpenSeesPy scripts, just change the import:
python
import openseespy.opensees
to
python
import opensees.openseespy
For true stateless modeling, the Model class should be used instead of the legacy
model function; see the documentation here.
Development
To compile the project see about/compiling
Support
|
|
Owner
- Name: Pacific Earthquake Engineering Research Center (PEER)
- Login: peer-open-source
- Kind: organization
- Website: https://peer.berkeley.edu
- Repositories: 1
- Profile: https://github.com/peer-open-source
GitHub Events
Total
- Create event: 6
- Issues event: 8
- Watch event: 17
- Delete event: 1
- Member event: 2
- Issue comment event: 51
- Public event: 1
- Push event: 163
- Pull request event: 51
- Fork event: 9
Last Year
- Create event: 6
- Issues event: 8
- Watch event: 17
- Delete event: 1
- Member event: 2
- Issue comment event: 51
- Public event: 1
- Push event: 163
- Pull request event: 51
- Fork event: 9
Committers
Last synced: 7 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| claudio perez | 5****z | 4,434 |
| Michael H. Scott | m****t@o****u | 2,211 |
| Krishna Kumar | 3****2 | 1,478 |
| fmckenna | f****a@b****u | 1,424 |
| Nanda | b****h@g****m | 719 |
| Minjie Zhu | z****m@o****u | 488 |
| Jose A. Abell | j****l@u****l | 290 |
| Ezra | 2****t | 262 |
| Massimo Petracca | m****8@h****m | 234 |
| aschellenberg74 | a****g@g****m | 192 |
| Wensley Rushing | 1****g | 159 |
| RyotaHashimoto | r****o@h****p | 147 |
| Thiago Araujo | t****o@u****u | 116 |
| tianchiTJ | 1****1@q****m | 111 |
| parduino | p****o@u****u | 88 |
| Chrystal Chern | 5****n | 83 |
| jgiven100 | j****n@b****u | 75 |
| Michael Scott | m****t@o****u | 74 |
| Yuli Huang | y****e@b****u | 69 |
| Seweryn Kokot | s****t@g****m | 64 |
| shyamini | n****i@g****m | 59 |
| ambaker1 | a****1@m****u | 54 |
| Kazuki Ichinohe | 7****e | 44 |
| = | L****t@g****m | 36 |
| millen1m | m****n@g****m | 36 |
| vavgen | v****n@o****m | 34 |
| cw646 | c****6@c****k | 32 |
| M. Salehi | m****g@y****m | 31 |
| ahartloper | a****r@e****h | 26 |
| Long | l****n@u****u | 26 |
| and 110 more... | ||
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 7 months ago
Packages
- Total packages: 1
-
Total downloads:
- pypi 3,473 last-month
- Total docker downloads: 13
- Total dependent packages: 5
- Total dependent repositories: 1
- Total versions: 89
- Total maintainers: 4
pypi.org: opensees
Nonlinear finite element analysis.
- Documentation: https://xara.so
- License: bsd-2-clause
-
Latest release: 0.1.23
published 6 months ago
Rankings
Maintainers (4)
Dependencies
- actions/checkout v2 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- actions/checkout v4 composite
- actions/download-artifact v3 composite
- actions/setup-python v4 composite
- actions/upload-artifact v3 composite
- fortran-lang/setup-fortran v1 composite
- pypa/cibuildwheel v2.16 composite
- ubuntu 20.04 build
- numpy python_version>='3.8'
- numpy < 1.20.0; python_version<'3.8'
- platformdirs *
- prompt_toolkit *
- pygments *
- pyparsing *
- shps *
- amoeba-build >=0.0.12 development
- pybind11 * development
- setuptools >=52.0.2 development