Code Aster Solver

Is it possible to use code aster as a solver with the model we created in Prepomax?
Is there a tutorial?
I need help

1 Like

No, Code_Aster has a completely different (and much worse in terms of readability) syntax. But there is an initiative to add Code_Aster support to FreeCAD FEM, at least for shells including composites: Code Aster integration into FEM workbench by TimSwait-AMRC · Pull Request #28380 · FreeCAD/FreeCAD · GitHub

1 Like

1 CA needs med models. Ppm makes inp models. Use meshio to convert inp into med.

2 Solve with CA.

3 Use meshio to convert result med into vtk. Then use Paraview to view vtk.

Or There is vtk2frd maybe. Then you can open frd with ppm.

It would be best if there was also a converter from .inp model and analysis definition to CA format. I haven’t found one on GitHub yet, but who knows, maybe someone will make it. Nowadays, it’s not a big issue to generate a Python tool like that.

1 Like

i succesful to convert .inp to .med. I think not a simple as a convert .inp to. med and solve with CA.
We must make .comm and other. It’s complicated :grinning_face:

I wrote one (ppx2aster.py) a while ago, handles linear statics & dynamics from PrePoMax *.inp. It was a nightmare to write coz CA syntax and re-inventing wheels. I’ll add to my TODO to review my code from back then, it worked for complex assemblies too, unlike CCX solver. When I get the time/energy I’ll put it up on GitHub.

Other comments here:
The issue is never to translate meshes, that’s easy, but to translate complete setups. meshio is old and didn’t really do the job proper. It has now been renamed into meshlane, and supported by Simvia (EDF sub). Check them out for all things code_aster.

1 Like

maybe you can share about your program on github, i curious try your py. program

OK, I’ll do it next week. Unfortunately, coz of code_aster ways, I can’t just drop the py here, it’d make little sense without notes and examples I did, which I’ll add to the repo with some how-tos.
Deal!

1 Like