/ifc2ca

Files and scripts for the use of Code_Aster in IFC-driven FEM analyses within the ifcOpenShell/BlenderBim Project

Primary LanguagePython

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 the json file from an ifc file. This file will be synchronized with the one in BlenderBIM
  • scriptSalome.py: a python script to run in the Salome_Meca environment. Creates the geometry and the mesh of the structure
  • cliCodeAster.py: a python cli to create the input file (.comm) for Code_Aster. Use run.py to facilitate the use

Examples

cantilever_01

Input

  • ifc2ca.json: json data file of a cantilever beam under its own weight
  • bldMesh.med: mesh file exported from Salome_Meca after executing scriptSalome
  • CA_input_00.comm: command file generated from cliCodeAster

Output

  • result.mess: message log file of the interpreted commands in Code_Aster
  • result.rmed: result file on the mesh of the structure to visualize in Salome_Meca

note

portal_01

Input

  • ifc2ca.json: json data file of a cantilever beam under its own weight
  • bldMesh.med: mesh file exported from Salome_Meca after executing scriptSalome
  • CA_input_00.comm: command file generated from cliCodeAster

Output

  • result.mess: message log file of the interpreted commands in Code_Aster
  • result.rmed: result file on the mesh of the structure to visualize in Salome_Meca

note


Current Status

As of 26/02/20:

  • Added portal example
  • Changed section to profile 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

note

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