In this tutorial you will learn to:
- Read a set of experimental data into MCalibration
- Use that data to calibrate a material model
- Use virtual experiments to examine the behavior of a calibrated material model
- Export the material model to a finite element input file
This simple example uses uniaxial tension data at two different strain rates. You may download the experimental data files here: TensionData1 and TensionData2. The figures to the right show parts of the data files using a text editor.
The following page contains more info about what experimental data that MCalibration requires.
MCalibration Main Window
Before reading in the experimental data let’s examine the different parts of the main window. The main window has 4 different sections:
Welcome: This section can be used to open recently used calibration files (called mcal-files).
Data: This section is used to view and edit experimental data.
Calibrate: This section is used to calibrate material models, and to examine the response of a material model.
Library: Contains a user’s collection of already calibrated models for different materials.
Switch to the Data section by clicking on the
Load Data File to read in the first experimental data downloaded above (
Next, we specify what the different columns of data contain.
- Select Column 1, or bring up a context menu by right-clicking in the column.
- Then select
Set Column Name.
This assigns column 1 as a time column.
Repeat these steps to assign column 2 as engineering strain, and column 3 as engineering stress.
Start creating a “load case” for the material model calibration by clicking on the
Create Load Case button.
Note: A load case is the same as an experimental test that can be used for material model calibration.
Note: The Data Section contains many functions for making experimental data suitable for material model calibration.
MCalibration switches to the Calibrate section when the save button is clicked in the load case dialog.
Before starting the calibration we need to read in the second experimental data file. To do tis we can switch to the Data section and repeat the steps just performed. Instead, here we will illustrate anothe rway.
- Click on the
+button to add a Load Case.
This brings up an empty Load Case dialog box.
- Click on the
Load Experimental File...button.
- Select the
TensionData2.txtfile downloaded earlier. Then click
This opens a dialog box that is used to specify the contents of the experimental data file
- Here time is in column 1, strain is in column 2, and stress is in column 3.
- Click the
This loads the experimental data into the Load Case Setup dialog box.
Most of the default settings are OK, but let’s change the line colors of this load case.
Click on the
Plot Styles tab.
- Click on the
Set Experimental Line Color...button.
- Click on the
Set Predicted Line Color...button
The next step is to select a suitable material model.
Set Material Model... button.
The experimental data in this example is for a medium density polyethylene (MDPE), so the Three Network (TN) model from the PolyUMod library is a good choice.
- (Optional) Fill out your information in the Material Info and Properties tab on the right.
- Select the Three-Network Model item, then click
MCalibration then selects an initial guess of the material parameters based on the available experimental data.
Run Once to calculate the predicted stress-strain response of the current material model.
The predicted stress-strain curves are shown in here blue and green, and the experimental curves are shown in red and purple. Note that the material model has not been calibrated yet. The results shown here are just the predictions from the initial guess.
Each material parameter can either be fixed or part of the optimization. The Optimize column specifies the state of the parameters. All parameters with a non-zero positive value are included in the optimization. If two parameters are given the same optimization value then those two parameters are forced to have the same (unknown) value.
Click Save File to save the current calibration file.
Click Run Calibration to start optimizing the material parameters.
We manually stopped the calibration after a few minutes. At this point the error in the material model predictions (NMAD Fitness) is less than 3%.
Virtual Stress Relaxation
Sometimes it is useful to examine how a material model behaves under conditions that have not been experimentally tested. Here we will perform a virtual uniaxial compression experiment to an engineering strain of -0.1 followed by 60 seconds of relaxation.
- Click on the
+button to setup the virtual experiment.
Virtual Experiment (Segments)from the load case type drop down list.
Specify the target strain rate and strain value. This specifies the stress relaxation pre-load.
Then click the
The load case dialog now contains the first loading segment of our virtual experiment. Next, we need to create the second stress relaxation segment.
The second loading segment has constant strain for 60 seconds.
Back in the main window click the
Run Once button to evaluate the new load virtual experiment.
We see that the predicted stress relaxes about 30% in 60 seconds.
The next step is to export the calibrated model to a FE program.
Export Material Model
To export the material model to Abaqus/CAE select Abaqus CAE script or Abaqus inp-file, and click
To export the material model to ANSYS select ANSYS (APDL or XML format), and click
The material model can also be exported to MSC.Marc, LS-DYNA and COMSOL formats.
You may modify the saved units system from this dialog.
Import Model Into Abaqus/CAE
In CAE select
Run Script from the
File Menu, then select the script file that was created by MCalibration.
The model tree then contains the calibrated material model.
For more examples, see also Validating the Installation (PolyUMod for Abaqus)
Import the Model Into ANSYS WB
Read the .dat file exported from MCalibration into ANSYS Mechanical as a command under Geometry → Solid or read the .xml file into Engineering Data.
Make sure non-linear geometries are enabled in Mechanical.
See also Using PolyUMod with ANSYS Workbench.
MCalibration File Format
MCalibration saves the simulation information in a file with the extension mcal.
The mcal-file is a XML file that can be edited using a text editor.
The file contains all experimental data and information about the different load cases and material models.
Since the mcal-file contains the experimental data, the file can be moved to a new directory and still work.
The experimental data that is stored in the mcal-file includes both the original data and the current version of the data (if the data has been modified in the Data tab).
The original and modified experimental data sets can be exported to separate data files if needed.
MCalibration is an easy to use tool that can calibrate many different material models.
One of the most powerful features of MCalibration is that is can use almost any combination of experimental data, e.g. tension, compression, shear, biaxial, triaxial, stress relaxation, creep, DMA, Poisson’s ratio, etc.
MCalibration can also use direct finite element simulations of more complicated experimental tests to calibrate a material model.
- If you still have questions, please write your questions on our Forum.