opensees

Nonlinear finite element analysis.

https://github.com/peer-open-source/xara

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

computational-mechanics finite-element-analysis opensees peridynamics python structural-analysis structural-dynamics xara
Last synced: 6 months ago · JSON representation

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
computational-mechanics finite-element-analysis opensees peridynamics python structural-analysis structural-dynamics xara
Created almost 4 years ago · Last pushed 6 months ago
Metadata Files
Readme Contributing License Code of conduct Citation Security

README.md

xara logo


Nonlinear finite element analysis.

PEER Logo


[![Latest PyPI version](https://img.shields.io/pypi/v/xara?logo=pypi)](https://pypi.python.org/pypi/xara) [![](https://img.shields.io/conda/v/opensees/opensees?color=%23660505)](https://anaconda.org/opensees/opensees) [![PyPI Downloads](https://img.shields.io/pypi/dm/opensees)](https://pypi.org/project/opensees) [![Mentioned in Awesome Finite Element Method](https://awesome.re/mentioned-badge.svg)](https://github.com/tkoyama010/awesome-finite-elements)

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 xara from Python is to create a xara.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 a xara.Model without any changes in syntax, although it is generally encouraged to use the safer variants supported by xara. For example: ```python

    BAD

    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.Model class and call its eval() method to evaluate Tcl code: python model = xara.Model() model.eval("model Basic -ndm 2") model.eval("print -json")

  • The xara package 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

PEER Logo Caltrans Logo

Owner

  • Name: Pacific Earthquake Engineering Research Center (PEER)
  • Login: peer-open-source
  • Kind: organization

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

All Time
  • Total Commits: 13,739
  • Total Committers: 140
  • Avg Commits per committer: 98.136
  • Development Distribution Score (DDS): 0.677
Past Year
  • Commits: 1,683
  • Committers: 12
  • Avg Commits per committer: 140.25
  • Development Distribution Score (DDS): 0.162
Top Committers
Name Email 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...

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
  • Versions: 89
  • Dependent Packages: 5
  • Dependent Repositories: 1
  • Downloads: 3,473 Last month
  • Docker Downloads: 13
Rankings
Dependent packages count: 1.6%
Downloads: 9.2%
Average: 13.7%
Forks count: 16.9%
Stargazers count: 19.4%
Dependent repos count: 21.5%
Maintainers (4)
Last synced: 6 months ago

Dependencies

.github/workflows/build_cmake.yml actions
  • actions/checkout v2 composite
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
.github/workflows/wheels.yml actions
  • 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
tools/docker/Dockerfile docker
  • ubuntu 20.04 build
pyproject.toml pypi
  • numpy python_version>='3.8'
  • numpy < 1.20.0; python_version<'3.8'
  • platformdirs *
  • prompt_toolkit *
  • pygments *
  • pyparsing *
  • shps *
setup.py pypi
tools/requirements_dev.txt pypi
  • amoeba-build >=0.0.12 development
  • pybind11 * development
  • setuptools >=52.0.2 development