NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::MaterialUtilities Class Reference

Represents Physical NXOpen::MaterialUtilities class
To obtain an instance of this class, refer to NXOpen::CAE::CaeSession

Created in NX10.0.0. More...

Public Types

enum  StressStrainData {
  StressStrainDataEngineeringStressEngineeringStrain, StressStrainDataEngineeringStressEngineeringPlasticStrain, StressStrainDataTrueStressLogStrain, StressStrainDataTrueStressLogPlasticStrain,
  StressStrainDataUndefined
}
 The stress strain data type. More...
 

Public Member Functions

void ConvertStressStrainData (const std::vector< double > &strainData, const std::vector< double > &stressData, double youngsModulus, double poissionRatio, NXOpen::MaterialUtilities::StressStrainData inputDataType, NXOpen::MaterialUtilities::StressStrainData outputDataType, std::vector< double > &convertedStrainData, std::vector< double > &convertedStressData)
 Convert stress strain data between the four types EngineeringStressEngineeringStrain, EngineeringStressEngineeringPlasticStrain, TrueStressLogStrain and TrueStressLogPlasticStrain. More...
 
void ConvertStressStrainYoungsModulusData (const std::vector< double > &strainData, const std::vector< double > &stressData, double youngsModulus, double poissionRatio, NXOpen::MaterialUtilities::StressStrainData inputDataType, NXOpen::MaterialUtilities::StressStrainData outputDataType, std::vector< double > &convertedStrainData, std::vector< double > &convertedStressData, double *convertedYoungsModulus)
 Convert stress strain data between the four types EngineeringStressEngineeringStrain, EngineeringStressEngineeringPlasticStrain, TrueStressLogStrain and TrueStressLogPlasticStrain. More...
 
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents Physical NXOpen::MaterialUtilities class
To obtain an instance of this class, refer to NXOpen::CAE::CaeSession

Created in NX10.0.0.


Member Enumeration Documentation

The stress strain data type.

Enumerator
StressStrainDataEngineeringStressEngineeringStrain 

Engineering stress-Engineering strain.

StressStrainDataEngineeringStressEngineeringPlasticStrain 

Engineering stress-Engineering plastic strain.

StressStrainDataTrueStressLogStrain 

True stress-log strain.

StressStrainDataTrueStressLogPlasticStrain 

True stress-log plastic strain.

StressStrainDataUndefined 

Undefined type - data is assumed to be defined using the type used by the solver, no attempt will be made to convert the data to the type the solver requires.

Member Function Documentation

void NXOpen::MaterialUtilities::ConvertStressStrainData ( const std::vector< double > &  strainData,
const std::vector< double > &  stressData,
double  youngsModulus,
double  poissionRatio,
NXOpen::MaterialUtilities::StressStrainData  inputDataType,
NXOpen::MaterialUtilities::StressStrainData  outputDataType,
std::vector< double > &  convertedStrainData,
std::vector< double > &  convertedStressData 
)

Convert stress strain data between the four types EngineeringStressEngineeringStrain, EngineeringStressEngineeringPlasticStrain, TrueStressLogStrain and TrueStressLogPlasticStrain.

The output stressStrain data will be the same units as the input stressStrain data. The units of young's modulus should be consistent with the input stressStrain Data.

The algorithm formula for converting from Engineering Strain to Log ( True ) strain is:

Log ( True ) Strain = ln( 1 + Engineering Strain )

The algorithm formulas for converting from Engineering Stress to True Stress are:

True Stress = Engineer Stress *(1 - Poisson's Ratio * Engineering Elastic Strain - 0.5 * Engineering Plastic Strain )^(-2) Engineering Elastic Strain = Engineering Stress / Young's Modulus Engineering Plastic Strain = Engineering Strain - Engineering Elastic Strain

The algorithm formulas for converting from "True stress-log strain" and "True stress-log plastic strain" are: Log Elastic Strain = Log Stress / Young's Modulus Log Plastic Strain = Log Strain - Log Elastic Strain


Deprecated:
Deprecated in NX11.0.0. Use NXOpen::MaterialUtilities::ConvertStressStrainYoungsModulusData instead.


Created in NX10.0.0.

License requirements : None

Parameters
strainDatathe input strain array
stressDatathe input stress array
youngsModulusthe input young's modulus used in converting algorithm
poissionRatiothe input poission's ratio used in converting algorithm
inputDataTypethe input stress-strain data type
outputDataTypethe output stress-strain data type
convertedStrainDatathe output strain array
convertedStressDatathe output stress array
void NXOpen::MaterialUtilities::ConvertStressStrainYoungsModulusData ( const std::vector< double > &  strainData,
const std::vector< double > &  stressData,
double  youngsModulus,
double  poissionRatio,
NXOpen::MaterialUtilities::StressStrainData  inputDataType,
NXOpen::MaterialUtilities::StressStrainData  outputDataType,
std::vector< double > &  convertedStrainData,
std::vector< double > &  convertedStressData,
double *  convertedYoungsModulus 
)

Convert stress strain data between the four types EngineeringStressEngineeringStrain, EngineeringStressEngineeringPlasticStrain, TrueStressLogStrain and TrueStressLogPlasticStrain.

The output stressStrain data will be the same units as the input stressStrain data. The units of young's modulus should be consistent with the input stressStrain Data.

The algorithm formula for converting from Engineering Strain to Log ( True ) strain is:

Log ( True ) Strain = ln( 1 + Engineering Strain )

The algorithm formulas for converting from Engineering Stress to True Stress are:

True Stress = Engineer Stress *(1 - Poisson's Ratio * Engineering Elastic Strain - 0.5 * Engineering Plastic Strain )^(-2) Engineering Elastic Strain = Engineering Stress / Young's Modulus Engineering Plastic Strain = Engineering Strain - Engineering Elastic Strain

The algorithm formulas for converting from "True stress-log strain" and "True stress-log plastic strain" are: Log Elastic Strain = Log Stress / Young's Modulus Log Plastic Strain = Log Strain - Log Elastic Strain

This method also provides updated Youngs Modulus which is in sync with converted stress and strain


Created in NX11.0.0.

License requirements : None

Parameters
strainDatathe input strain array
stressDatathe input stress array
youngsModulusthe input young's modulus used in converting algorithm
poissionRatiothe input poission's ratio used in converting algorithm
inputDataTypethe input stress-strain data type
outputDataTypethe output stress-strain data type
convertedStrainDatathe output strain array
convertedStressDatathe output stress array
convertedYoungsModulusthe output converted Youngs Modulus which is in sync with converted stress and strain
tag_t NXOpen::MaterialUtilities::Tag ( ) const

Returns the tag of this object.


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.