Code: CALCULIX

From EVOCD
Jump to: navigation, search
Name CalculiX
Status Version 2.12 Available
Release Date changing
Authors CALCULIX
Contact Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA
License GNU General Public License
Repository CALCULIX
Documentation CALCULIX
Known problems None

Description: CalculiX is a package designed to solve field problems. The method used is the finite element method.

With CalculiX Finite Element Models can be build, calculated and post-processed. The pre- and post-processor is an interactive 3D-tool using the openGL API. The solver is able to do linear and non-linear calculations. Static, dynamic and thermal solutions are available. Both programs can be used independently. Because the solver makes use of the abaqus input format it is possible to use commercial pre-processors as well. In turn the pre-processor is able to write mesh related data for nastran, abaqus, ansys, code-aster and for the free-cfd codes dolfyn, duns, ISAAC and OpenFOAM. A simple step reader is included. In addition external CAD interfaces like vda_to_fbd are available. The program is designed to run on Unix platforms like Linux and Irix computers but also on MS-Windows.

The CalculiX package was developed by a team of enthusiasts in their raw spare time. They are employees of MTU Aero Engines in Munich, Germany which granted the publication.

To report bugs, problems or to make comments please use the discussion tab above.

back to the Multiscale Codes home page

Build Directions

To build Calculix from the source code (necessary to use custom UMAT's) on Linux, follow the steps given.

  1. Get the prerequisite ARPACK
    1. Download ARPACK, or,
    2. wget http://www.caam.rice.edu/software/ARPACK/SRC/arpack96.tar.gz
      wget http://www.caam.rice.edu/software/ARPACK/SRC/patch.tar.gz
      
    3. Unpack the two files
    4. tar xzvf arpack96.tar.gz
      tar xzvf patch.tar.gz
      
    5. Edit the makefile "ARmake.inc"
      • Change the home directory to the directory where you extracted ARPACK
      • Change the definitions of MAKE and SHELL to be simply make and sh, respectively, with no paths
      • Change the Fortran compiler to your version by changing the FC variable. The GCC version of gfortran worked as of version 5.4.0.
      • If you are using gfortran remove -cg89 from the line
        FFLAGS	= -O -cg89
    6. Edit the file "UTIL/second.f", adding a "*" to the front of the line
            EXTERNAL           ETIME
    7. From the directory "ARPACK", type make lib in the command line.
  2. Get the prerequisite SPOOLES
    1. Download Spooles, or,
    2. wget http://www.netlib.org/linalg/spooles/spooles.2.2.tgz
      
    3. Unpack SPOOLES into a subdirectory
    4. mkdir SPOOLES.2.2
      mv spooles.2.2.tgz SPOOLES.2.2
      cd SPOOLES.2.2
      tar xzvf spooles.2.2.tgz
      
    5. Change the compiler version in "Make.inc" to your compiler (gcc 5.4.0 worked: CC = gcc) on the line
    6.   CC = /usr/lang-4.0/bin/cc
    7. Build the SPOOLES library
    8. make lib
  3. Get Calculix
    1. Download the Calculix source code, or on the command line:
    2.  wget http://www.dhondt.de/ccx_2.12.src.tar.bz2 
    3. Unpack the compressed source code
    4. bunzip2 ccx_2.12.src.tar.bz2
      tar xvf ccx_2.12.src.tar
      
    5. Edit the makefile "Calculix/ccx_#.##/src/Makefile"
      • Change the variables CC and FC to the same C and Fortran compilers, respectively, used previously
      • Change "INTEL" to "SUN4" on the line
      • 	../../../ARPACK/libarpack_INTEL.a \
    6. Compile Calculix from the directory "Calculix/ccx_#.##/src/"
    7. make

Personal tools
Namespaces

Variants
Actions
home
Materials
Material Models
Design
Resources
Projects
Education
Toolbox