Skip to main content

Code_Aster Python Package

This Package makes the simulation software code_aster easy to install and use within python and registers also commands to use it with the CMD/Terminal. There is a version for Windows and Linux (in construction).

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

Installation

pip install code-aster-win

That's all!

Test your installation

import code_aster as ca

# Returns a log with all the information
logs = ca.test_installation()

# For example you can extract the output the command generated
print(logs.stdout)

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

How to use it

Use of the as_run command

import code_aster as ca
from pathlib import Path

# Path to the export file
# Attention use Pathlib and front slashes (/).
path = Path('C:/Users/..../forma01a.export')

# Returns a log with all the information
logs = ca.as_run(path)

# For example you can extract the output the command generated
print(logs.stdout)

Use of the run_astk command

import code_aster as ca
from pathlib import Path

# Returns a log with all the information
logs = ca.run_astk()

# For example you can extract the output the command generated
print(logs.stdout)

Use it directly in the Terminal/CMD

py_as_run

or

py_run_astk

or

py_test_installation

Release files for code-aster-win 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for code-aster-win 0.0.6
File Size Uploaded
code_aster_win-0.0.6.tar.gz 2.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for code-aster-win 0.0.6
File Interpreter ABI Platform
code_aster_win-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 6.9 kB

Release files / code_aster_win-0.0.6.tar.gz

Download URL code_aster_win-0.0.6.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2262ecc51563fe5d66876bee201af741d703fe42ea5167fc3a77fe45178f2d62
BLAKE2b-256 checksum
How to use checksums
90c6b4912b39521ab534e195c86abb6378459afd6efd1cd0e173cc235b743747
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release files / code_aster_win-0.0.6-py3-none-any.whl

Download URL code_aster_win-0.0.6-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c3ccd2d3a8048bc71ac355bf59a45300398896ae3baf50253c8a8f187ad5ddce
BLAKE2b-256 checksum
How to use checksums
02e44b09851ac51685fedda06627b9f1606d6dc6cd6d0e5ace4019921f3efaeb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page