安装code-aster并使其易于通过python和shell/cmd进行访问

code-aster-win的Python项目详细描述


Code-unaster-Python包

这个软件包使仿真软件代码易于在python中安装和使用,并注册命令,以便在CMD/终端中使用它。有一个用于Windows和Linux的版本(正在构建中)。在

What is Code_Aster ?

Code_Aster offers a full range of multiphysical analysis and modelling methods that go well beyond the standard functions of a thermomechanical calculation code: from seismic analysis to porous media via acoustics, fatigue, stochastic dynamics, etc. Its modelling, algorithms and solvers are constantly under construction to improve and complete them (1,200,000 lines of code, 200 operators). Resolutely open, it is linked, coupled and encapsulated in numerous ways

安装

pip install code-aster-win

就这些!在

Test your installation

importcode_asterasca# Returns a log with all the informationlogs=ca.test_installation()# For example you can extract the output the command generatedprint(logs.stdout)

It will start a test simulation and if it runs without error the installation is ok.

如何使用它

使用as_run命令

^{pr2}$

使用run_astk命令

importcode_asterascafrompathlibimportPath# Returns a log with all the informationlogs=ca.run_astk()# For example you can extract the output the command generatedprint(logs.stdout)

直接在终端/CMD中使用

py_as_run

或者

py_run_astk

或者

py_test_installation

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
junit有没有办法在Java中重新初始化静态类?   在浏览器中点击应用程序时java Play框架挂起   文件Java错误中的NullPointerException   使用Java中的SNMP查找网络中计算机的登录名   java包装服务器引导程序已弃用,有什么替代方案?   当客户在等待理发时,java信号量值是否存在问题?   java如何使用JavaMail仅下载特定类型的附件   如何在java中将十进制转换为十六进制   java Slick2D粒子系统不会生成粒子   java检测更改事件来自何处   将Java集合类型参数类设置为数组   java如何从eclipse导出为可运行JAR文件?   java EntityManager对象未注入Glassfish和Spring   swing从actionPerformed和actionListener Java返回字符串   java在给定另一个等价键对象的情况下获取映射项的当前键   无论输入如何,java网络都会产生相同的输出