BSD 2-Clause "Simplified" License

项目介绍

peer-open-source/xara 是一个托管在 GitHub 上的开源项目,主要使用 C++ 编写,采用 BSD 2-Clause "Simplified" License 许可证,目前获得 70 个 Star、41 次 Fork。

仓库全名
peer-open-source/xara
开源许可证
BSD 2-Clause "Simplified" License
Star 数
70
Fork 数
41
未关闭 Issue
21

README 摘要

xara 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…

完整内容见 GitHub 原始 README 或本页 。

常见问题

xara 用什么语言开发?

主要使用 C++ 编写,采用 BSD 2-Clause "Simplified" License 许可证,目前有 70 个 Star。

xara 可以免费商用吗?

仓库采用 BSD 2-Clause "Simplified" License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 xara 的源码?

可以直接克隆仓库:git clone https://github.com/peer-open-source/xara.git,默认分支为 stable;安装与运行步骤见仓库 README。

xara 最近还在维护吗?

仓库最近一次更新为 9月29日,当前有 21 个未关闭 Issue;Star 数为 70,可作为社区活跃度的参考。

关于

Nonlinear finite element analysis.

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

语言占比

C
C++
CSS
Dockerfile
Fortran
Lua
Makefile
Python
Shell
Tcl
sed

Release

README

PEER logo


xara

Nonlinear finite element analysis.

PEER Logo

Latest PyPI version PyPI Downloads

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.

[!NOTE] This package is independent of the openseespy library, which is documented in the OpenSees documentation website.

Getting Started

The xara package can be installed into a Python environment in the standard manner. For example, using pip:

pip install xara

There are several ways to use the xara package:

  • To execute Tcl procedures from a Python script, just create an instance of the xara.Model class and call its eval() method:

    model = xara.Model()
    model.eval("model Basic -ndm 2")
    model.eval("print -json")
    
  • To start an interactive interpreter run the shell command:

    python -m opensees
    

    To quit the interpreter, just run exit:

    opensees > exit
    
  • 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:

    import openseespy.opensees
    

    to

    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
solid 
facet normal 0.0 -0.0 1.0
    outer loop
        vertex 155.4429931640625 -12.314200401306152 -17.899999618530273
        vertex 155.64300537109375 -12.314200401306152 -17.899999618530273
        vertex 155.4429931640625 -12.1141996383667 -17.899999618530273
    endloop
endfacet
facet normal 0.0 0.0 1.0
    outer loop
        vertex 155.64300537109375 -12.1141996383667 -17.899999618530273
        vertex 155.4429931640625 -12.1141996383667 -17.899999618530273
        vertex 155.64300537109375 -12.314200401306152 -17.899999618530273
    endloop
endfacet
facet normal -0.0 -1.0 -0.0
    outer loop
        vertex 155.64300537109375 -12.314200401306152 -17.899999618530273
        vertex 155.4429931640625 -12.314200401306152 -17.899999618530273
        vertex 155.64300537109375 -12.314200401306152 -18.100000381469727
    endloop
endfacet
facet normal 0.0 -1.0 0.0
    outer loop
        vertex 155.4429931640625 -12.314200401306152 -18.100000381469727
        vertex 155.64300537109375 -12.314200401306152 -18.100000381469727
        vertex 155.4429931640625 -12.314200401306152 -17.899999618530273
    endloop
endfacet
facet normal 1.0 0.0 0.0
    outer loop
        vertex 155.64300537109375 -12.1141996383667 -17.899999618530273
        vertex 155.64300537109375 -12.314200401306152 -17.899999618530273
        vertex 155.64300537109375 -12.1141996383667 -18.100000381469727
    endloop
endfacet
facet normal 1.0 0.0 -0.0
    outer loop
        vertex 155.64300537109375 -12.314200401306152 -18.100000381469727
        vertex 155.64300537109375 -12.1141996383667 -18.100000381469727
        vertex 155.64300537109375 -12.314200401306152 -17.899999618530273
    endloop
endfacet
facet normal -0.0 1.0 0.0
    outer loop
        vertex 155.4429931640625 -12.1141996383667 -17.899999618530273
        vertex 155.64300537109375 -12.1141996383667 -17.899999618530273
        vertex 155.4429931640625 -12.1141996383667 -18.100000381469727
    endloop
endfacet
facet normal 0.0 1.0 -0.0
    outer loop
        vertex 155.64300537109375 -12.1141996383667 -18.100000381469727
        vertex 155.4429931640625 -12.1141996383667 -18.100000381469727
        vertex 155.64300537109375 -12.1141996383667 -17.899999618530273
    endloop
endfacet
facet normal -1.0 0.0 -0.0
    outer loop
        vertex 155.4429931640625 -12.314200401306152 -17.899999618530273
        vertex 155.4429931640625 -12.1141996383667 -17.899999618530273
        vertex 155.4429931640625 -12.314200401306152 -18.100000381469727
    endloop
endfacet
facet normal -1.0 0.0 0.0
    outer loop
        vertex 155.4429931640625 -12.1141996383667 -18.100000381469727
        vertex 155.4429931640625 -12.314200401306152 -18.100000381469727
        vertex 155.4429931640625 -12.1141996383667 -17.899999618530273
    endloop
endfacet
facet normal 0.0 0.0 -1.0
    outer loop
        vertex 155.4429931640625 -12.314200401306152 -18.100000381469727
        vertex 155.4429931640625 -12.1141996383667 -18.100000381469727
        vertex 155.64300537109375 -12.314200401306152 -18.100000381469727
    endloop
endfacet
facet normal -0.0 -0.0 -1.0
    outer loop
        vertex 155.64300537109375 -12.1141996383667 -18.100000381469727
        vertex 155.64300537109375 -12.314200401306152 -18.100000381469727
        vertex 155.4429931640625 -12.1141996383667 -18.100000381469727
    endloop
endfacet
facet normal 0.0 -0.0 1.0
    outer loop
        vertex 136.35699462890625 12.1141996383667 -17.899999618530273
        vertex 136.5570068359375 12.1141996383667 -17.899999618530273
        vertex 136.35699462890625 12.314200401306152 -17.899999618530273
    endloop
endfacet
facet normal 0.0 0.0 1.0
    outer loop
        vertex 136.5570068359375 12.314200401306152 -17.899999618530273
        vertex 136.35699462890625 12.314200401306152 -17.899999618530273
        vertex 136.5570068359375 12.1141996383667 -17.899999618530273
    endloop
endfacet
facet normal -0.0 -1.0 -0.0
    outer loop
        vertex 136.5570068359375 12.1141996383667 -17.899999618530273
        vertex 136.35699462890625 12.1141996383667 -17.899999618530273
        vertex 136.5570068359375 12.1141996383667 -18.100000381469727
    endloop
endfacet
facet normal 0.0 -1.0 0.0
    outer loop
        vertex 136.35699462890625 12.1141996383667 -18.100000381469727
        vertex 136.5570068359375 12.1141996383667 -18.100000381469727
        vertex 136.35699462890625 12.1141996383667 -17.899999618530273
    endloop
endfacet
facet normal 1.0 0.0 0.0
    outer loop
        vertex 136.5570068359375 12.314200401306152 -17.899999618530273
        vertex 136.5570068359375 12.1141996383667 -17.899999618530273
        vertex 136.5570068359375 12.314200401306152 -18.100000381469727
    endloop
endfacet
facet normal 1.0 0.0 -0.0
    outer loop
        vertex 136.5570068359375 12.1141996383667 -18.100000381469727
        vertex 136.5570068359375 12.314200401306152 -18.100000381469727
        vertex 136.5570068359375 12.1141996383667 -17.899999618530273
    end

提示:代码过长已自动截断

评论

暂无评论