CPFEM for Calculix

From EVOCD
(Difference between revisions)
Jump to: navigation, search
(Purpose)
(Completed build directions)
Line 4: Line 4:
 
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.
 
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.
  
==Source Files==
+
==Building Calculix with CPFEM==
  
Download the following files and save them WITHOUT the *.txt extensions.
+
<ol>
 
+
<li>Download the following files and save them in the <code>src/</code> directory of your Calculix distribution WITHOUT the *.txt extensions. Make sure the names are all lowercase except for <code>Makefile.inc</code>.</li>
* umat_main.f
+
<ul>
* Makefile.inc
+
<li>[[Media:Umat main.f.txt|umat_main.f]]</li>
* umat_wrapper.f
+
<li>[[Media:Makefile.inc.txt|Makefile.inc]]</li>
 
+
<li>[[Media:umat_xtal_wrapper.f.txt|umat_wrapper.f]]</li>
Save these in the <code>src/</code> directory of your Calculix distribution.
+
</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>
Also download the crystal plasticity UMAT, make any necessary edits, then save in the <code>src/</code> directory as well.  
+
<li>Additionally, copy the following parameter files to the <code>src/</code> directory</li>
 
+
<ul>
Finally, open a terminal, and from the <code>src/</code> directory, type:
+
<li><code>params_xtal.inc</code></li>
 +
<li><code>numbers.inc</code></li>
 +
</ul>
 +
<li>Open a terminal, and from the <code>src/</code> directory, type</li>
 
<pre>make</pre>
 
<pre>make</pre>
 
+
<li>An executable will be created, named something like <code>ccx_#.##</code>, where the <code>#.##</code> corresponds to your Calculix version</li>
An executable will be created, named something like <code>ccx_#.##</code>, where the <code>#.##</code> corresponds to your Calculix version.
+
</ol>

Revision as of 09:37, 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, make any necessary edits, then save in the src/ directory as well
  3. Additionally, copy the following parameter files to the src/ directory
    • params_xtal.inc
    • numbers.inc
  4. Open a terminal, and from the src/ directory, type
  5. make
  6. 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