TPMplt v0.1.2

0

Monthly downloads

0th

Percentile

Tool-Kit for Dynamic Materials Model and Thermal Processing Maps

Provides a simple approach for constructing dynamic materials modeling suggested by Prasad and Gegel <doi:10.1007/BF02664902>. It can easily generate various processing-maps based on this model as well. The calculation result in this package contains full materials constants, information about power dissipation efficiency factor, and rheological properties, can be exported completely also, through which further analysis and customized plots will be applicable as well.

Readme

TPMplt package

TPMplt, short for thermal processing-map plot, is a tool-kit for constructing dynamic material model (DMM) and corresponding visualization

Installation

Installation from github:

if(! "devtools" %in% installed.packages()) install.packages("devtools")
devtools::install_github("CubicZebra/TPMplt")

Installation from CRAN:

install.packages("TPMplt")

Main functions

TPMplt is a tool-kit for building and visualizing the dynmaic materials model (DMM), suggested by Prasad and Gegel. It provides an easy approach to calculate constructive functions and other related material constants based on a given strain condiiton. 2D and 3D processing-maps with temperature as its x axis, while logarithm strain rate as its y axis are also available.

Workflow

Workflow Overview

Multi-function polynomial fitting

The function AllPF() can apply polynomial fitting for all user-customized subsections for all raw stess-strain curves.

The raw data will be like:

Raw stress-strain curves

After multi-functional polynomial fitting, the curves will be:

Fitted stress-strain curves

Temperature correction

Before making the processing maps, temperature correction should be applied. By calling the function TCorrect() to the raw data, the fitted result will be:

Temperature-corrected stress-strain curves

Computation for dynamic material model and output corresponding figures

The key function to build dynamic material model (DMM) from raw data is achieved by DMMprocess(). This function has two most important arguments: InteractMode and ConsFun. The argument InteractMode control the output of figures and parameters computed for DMM, here're some examples:

Temperature-corrected stress-strain curves

Related parameters will be printed out in console when InteractMode is TRUE:

Print of related parameters

Processing Map Preview

Tranditional 2D processing map

Afer making the model and applying regression, the 2D processing map can be generated as:

Preview of 2d processing map

The background in gradient colors informs the stability coefficient $\xi$ while the contours reminds the power dissipation efficiency $\eta$.

3D processing maps

$\xi$ and $\eta$ can also be respectively generated using the 3D plot function. The result will be as:

3D processing map

Contact

Author: ZHANG Chen

Mail: 447974102@qq.com

Functions in TPMplt

Name Description
API4TMZ Read multiple files exported from Thermec Master-Z tester
basicPF Basic fitting function for stress-strain curve.
chrgen1 Internal function for basicPF
lyIDdetector Detecting locations for Strain and Stress
surfacebld Build matrix for 3D plots
xitidy Tidy xi table for further process
TCorrect Temperature correction function
TMZdatainput Read multiple files exported from Thermec Master-Z tester
AllPF Fit all flow stress values in high strain conditions
TPMdata A test data structurized column names.
basic3d 3D plots without labels
DMMprocess Dynamic material modeling from strain rate temperature table
TPM2dplt Plot 2d thermal process maps
SSplots Automatic completion for Stress-Strain plots
epsExtract Auto output for strain rate vs. temperature table
SVRModel Build support vector regression result
chrgen2 Internal function for basicPF
TPM3dplt Plot 3d thermal processing-maps
Abstract-TPMplt Tool-Kit for Dynamic Materials Model and Thermal Processing Maps
etatidy Tidy eta table for further process
Dvec Intergal area function.
MakeGrid Make grid mesh for plots
No Results!

Vignettes of TPMplt

Name
img/Img1.png
img/Img10.png
img/Img11.png
img/Img12.png
img/Img13.png
img/Img2.png
img/Img3.png
img/Img4.png
img/Img5.png
img/Img6.png
img/Img7.png
img/Img8.png
img/Img9.png
img/demo_figs1.png
img/demo_figs2.png
img/demo_figs3.png
TPMplt-vignette.Rmd
No Results!

Last month downloads

Details

Type Package
Date 2018-12-05
License GPL-3
URL https://github.com/CubicZebra/TPMplt
Encoding UTF-8
LazyData true
RoxygenNote 6.1.0
VignetteBuilder knitr
NeedsCompilation no
Packaged 2018-12-05 13:29:59 UTC; chen_zhang
Repository CRAN
Date/Publication 2018-12-14 17:40:03 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/TPMplt)](http://www.rdocumentation.org/packages/TPMplt)