CPFEM for Calculix

From EVOCD
(Difference between revisions)
Jump to: navigation, search
(Completed build directions)
(Building Calculix with CPFEM: Added subroutine name change)
Line 13: Line 13:
 
  <li>[[Media:umat_xtal_wrapper.f.txt|umat_wrapper.f]]</li>
 
  <li>[[Media:umat_xtal_wrapper.f.txt|umat_wrapper.f]]</li>
 
  </ul>
 
  </ul>
<li>Download the crystal plasticity [[Code: ABAQUS CPFEM|UMAT]], make any necessary edits, then save in the <code>src/</code> directory as well</li>
+
<li>Download the crystal plasticity [[Code: ABAQUS CPFEM|UMAT]]. Change the subroutine name from <code>umat</code> to <code>umat_xtal</code> as shown below. Make any other necessary edits, then save in the <code>src/</code> directory as well</li>
 +
<pre>
 +
      subroutine umat_xtal ( stress,  statev,  ddsdde,  sse,    spd,
 +
</pre>
 
<li>Additionally, copy the following parameter files to the <code>src/</code> directory</li>
 
<li>Additionally, copy the following parameter files to the <code>src/</code> directory</li>
 
  <ul>
 
  <ul>

Revision as of 16:11, 5 April 2017

Purpose

This page provides the updates needed for Calculix to run large deformation codes, specifically the crystal plasticity UMAT designed for Abaqus found here. The process outlined here is for Linux. A similar process could be followed for Windows, though the compilation step will be different depending on the compilers used.

Building Calculix with CPFEM

  1. Download the following files and save them in the src/ directory of your Calculix distribution WITHOUT the *.txt extensions. Make sure the names are all lowercase except for Makefile.inc.
  2. Download the crystal plasticity UMAT. Change the subroutine name from umat to umat_xtal as shown below. Make any other necessary edits, then save in the src/ directory as well
  3.       subroutine umat_xtal ( stress,  statev,  ddsdde,  sse,     spd,
    
  4. Additionally, copy the following parameter files to the src/ directory
    • params_xtal.inc
    • numbers.inc
  5. Open a terminal, and from the src/ directory, type
  6. make
  7. An executable will be created, named something like ccx_#.##, where the #.## corresponds to your Calculix version
Personal tools
Namespaces

Variants
Actions
home
Materials
Material Models
Design
Resources
Projects
Education
Toolbox