ifc2ca
Files and scripts for the use of Code_Aster in IFC-driven FEM analyses within the ifcOpenShell/BlenderBim Project
File Organisation
Scripts:
ifc2ca.py
: a python script to extract and create thejson
file from anifc
file. This file will be synchronized with the one inBlenderBIM
scriptSalome.py
: a python script to run in the Salome_Meca environment. Creates the geometry and the mesh of the structurecliCodeAster.py
: a python cli to create the input file (.comm
) for Code_Aster. Userun.py
to facilitate the use
Examples
cantilever_01
Input
ifc2ca.json
: json data file of a cantilever beam under its own weightbldMesh.med
: mesh file exported from Salome_Meca after executingscriptSalome
CA_input_00.comm
: command file generated fromcliCodeAster
Output
result.mess
: message log file of the interpreted commands in Code_Asterresult.rmed
: result file on the mesh of the structure to visualize in Salome_Meca
portal_01
Input
ifc2ca.json
: json data file of a cantilever beam under its own weightbldMesh.med
: mesh file exported from Salome_Meca after executingscriptSalome
CA_input_00.comm
: command file generated fromcliCodeAster
Output
result.mess
: message log file of the interpreted commands in Code_Asterresult.rmed
: result file on the mesh of the structure to visualize in Salome_Meca
Current Status
As of 26/02/20:
- Added portal example
- Changed
section
toprofile
and added I profile - Modified material and profile schema with mechanical and common properties
- Added geometry identification for point connection from representation
- Added connections along with supports based on the number of elements a connection is applied to
- Applied conditions with elastic stiffness values is still not implemented. Only True/False values are accepted.
As of 09/02/20:
- Loads, load cases and load case combinations added in the example
inputDataCA.json
file - Implementation in BlenderBIM under way
As of 16/01/20:
- Only line geometries for structural elements and point geometries for supports are considered
- The structure is analysed for gravity loads with a single linear static analysis