Skip to content
/ ccxstuff Public

Some scripts that is usable when running CalculiX and salome

License

Notifications You must be signed in to change notification settings

Xnst/ccxstuff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ccxstuff

Some scripts that is usable when running CalculiX and salome

intended work flow

  • Mesh in salome. I have only tried the Netgen-1-2-3 mesher...

  • Export the mesh as unv.

  • Convert to inp-file

      unv2ccx Mesh.unv
    
  • Strip of all non 3d meshes (if preferred)

      only3d Mesh.inp mesh3d.inp
    
  • If surfaces is needed, for contact or CFD

      surfSet Mesh.inp
    
  • make jobfile.inp

  • run simulation

  • extract the nodes, nodesets and results into csv-files

      nodExtract mesh3d.inp
      resultExtract jobfile.frd
    

Now you easily can import into python (or other) for easy processing and plotting

unv2ccx

A fantastic tool written by Ihor Mirzov. Thanks Ihor!

Note! unv2ccx is a GPL-v3 licensed code. The source code can be found at:

https://github.com/imirzov/unv2ccx.git

unv2ccx converts unv-files to inp-files for calculix.

only3d

Removes 1D and 2D elements from the input file. Netgen uses these when constructing the solid mesh.

resultExtract

Extracts the results in the frd-file to csv-files. Convenient when post-processing in python.

nodExtract

Writes the node info and nodsets to csv-files

surfSet

Creates a file with the surfaces defind. The element sets from salome are used. Only TET-mesh is accepted.

surfSet filename.inp

gives a file filenameS.inp

install.sh

A simple installer. Just copies the files to ~/bin and maes them executable. Run from this directory.

About

Some scripts that is usable when running CalculiX and salome

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published