hp2FEM
0.1
|
Specialization of the Materials abstract class for isotorpic heat conduction materials. More...
#include <HeatConductionMaterial.h>
Public Member Functions | |
HeatConductionMaterial () | |
Empty Constructor. | |
HeatConductionMaterial (unsigned long MaterialNumber, ProblemType_E Application, double TherCond, double Rho) | |
Default constructor. | |
HeatConductionMaterial (double TherCond, double Rho) | |
Constructor using parameters. Initialization of all class attributes is possible. Default values are also provided. | |
HeatConductionMaterial (HeatConductionMaterial &Instance) | |
Copy-initializer constructor. Creates a copy of an existing object. | |
~HeatConductionMaterial () | |
Destructor. | |
void | Read (FILE *File) |
Reads class attributes from the .def ASCII file. | |
void | Print (FILE *File, char *Message=(char *)"") |
Prints class information to an ASCII file. | |
void | Print (FILE *File) |
Prints class title to an ACSII file. | |
void | Save (FILE *File) |
Writes class information to a binary file. The current object state can be completely recovered when applying the Restore() operation. | |
void | Restore (FILE *File) |
Restores class data (written using Save()) from a binary file. | |
void | Free () |
Releases the memory allocated for the class attributes. | |
void | SetApplication (ProblemType_E Application) |
Sets the material application. | |
ProblemType_E | GetApplication () |
Gets the material application. | |
char * | GetName () |
Returns string with the name of the material. | |
MaterialType_E | GetMaterialType () |
Returns material type. | |
void | SetProperties (BuiltInArray< double > &Properties) |
Sets material properties from values in an array. | |
void | SetProperty (MaterialProperty_E Property, double Value) |
Sets the value of a specific material property. | |
void | GetProperties (BuiltInArray< double > &Properties) |
Returns the values of the material properties in an array. | |
double | GetProperty (MaterialProperty_E Property) |
Gets the value of a specific material property. | |
unsigned long | GetNumberProperties () |
Returns the number of properties of the material specialization. | |
void | GetCMatrix (SymmetricMatrix &CMatrix) |
Returns the compliance matrix of the material. | |
void | GetDMatrix (SymmetricMatrix &DMatrix, double *Strain=NULL, double pbar=0.0, double *DeltaDef=NULL, unsigned long ElementNumber=0, unsigned long PointStateNumber=0) |
Returns the heat conduction matrix of the material. | |
unsigned long | GetDMatrixOrder (unsigned long StrainOrder) |
Returns the highest order of the polynomials that describes the tangent stiffness properties (components of the D matrix). | |
double | GetStrainEnergyDensity (double *Strain, double pbar=0.0, unsigned long ElementNumber=0, unsigned long PointStateNumber=0) |
int | GetStrainEnergyDensityOrder (unsigned long StrainOrder) |
void | GetStress (double *Stress, double *Strain, double *StressTensor=NULL, double pbar=0.0, unsigned long ElementNumber=0, unsigned long PointStateNumber=0) |
Evaluation of stress tensor components using deformation components. | |
void | GetStressUpdate (double *Stress, double *Strain, SymmetricMatrix &DMatrix, double Damage_n, unsigned long IntPoint, double &Damage_n1, double *StressTensor, double pbar=0.0, unsigned long ElementNumber=0, unsigned long PointStateNumber=0) |
unsigned long | GetStressOrder (unsigned long StrainOrder) |
Returns the highest order components of the stress tensor. | |
Protected Attributes | |
double | ThermalConduction |
Thermal conductivity. | |
double | Density |
Material density. |
Specialization of the Materials abstract class for isotorpic heat conduction materials.
Copy-initializer constructor. Creates a copy of an existing object.
ProblemType_E HeatConductionMaterial::GetApplication | ( | ) | [virtual] |
void HeatConductionMaterial::GetCMatrix | ( | SymmetricMatrix & | CMatrix | ) | [virtual] |
Returns the compliance matrix of the material.
[out] | CMatrix | - compliance matrix. |
Implements Material.
void HeatConductionMaterial::GetDMatrix | ( | SymmetricMatrix & | DMatrix, |
double * | Strain = NULL , |
||
double | pbar = 0.0 , |
||
double * | DeltaDef = NULL , |
||
unsigned long | ElementNumber = 0 , |
||
unsigned long | PointStateNumber = 0 |
||
) | [virtual] |
Returns the heat conduction matrix of the material.
[out] | DMatrix | - heat conduction matrix. |
Implements Material.
unsigned long HeatConductionMaterial::GetDMatrixOrder | ( | unsigned long | StrainOrder | ) | [virtual] |
MaterialType_E HeatConductionMaterial::GetMaterialType | ( | ) | [virtual] |
char * HeatConductionMaterial::GetName | ( | ) | [virtual] |
Returns string with the name of the material.
Implements Material.
unsigned long HeatConductionMaterial::GetNumberProperties | ( | ) | [virtual] |
Returns the number of properties of the material specialization.
Number of material properties=2.
Implements Material.
void HeatConductionMaterial::GetProperties | ( | BuiltInArray< double > & | Properties | ) | [virtual] |
Returns the values of the material properties in an array.
[out] | Properties | - array with the material properties. |
Implements Material.
double HeatConductionMaterial::GetProperty | ( | MaterialProperty_E | Property | ) | [virtual] |
void HeatConductionMaterial::GetStress | ( | double * | Stress, |
double * | Strain, | ||
double * | StressTensor = NULL , |
||
double | pbar = 0.0 , |
||
unsigned long | ElementNumber = 0 , |
||
unsigned long | PointStateNumber = 0 |
||
) | [virtual] |
Evaluation of stress tensor components using deformation components.
[out] | Stress | - stress tensor stored as vector. |
[in] | Strain | - strain tensor stored as a vector. |
Implements Material.
unsigned long HeatConductionMaterial::GetStressOrder | ( | unsigned long | StrainOrder | ) | [virtual] |
void HeatConductionMaterial::Print | ( | FILE * | File, |
char * | Message = (char*)"" |
||
) | [virtual] |
Prints class information to an ASCII file.
[in] | File,: | pointer to the ASCII file. |
[in] | Message,: | optional message |
Implements Material.
void HeatConductionMaterial::Print | ( | FILE * | File | ) | [virtual] |
Prints class title to an ACSII file.
[in] | File,: | pointer to the ASCII file. |
Implements Material.
void HeatConductionMaterial::Read | ( | FILE * | File | ) | [virtual] |
Reads class attributes from the .def ASCII file.
[in] | File,: | pointer to the .def ASCII file. |
Implements Material.
void HeatConductionMaterial::Restore | ( | FILE * | File | ) | [virtual] |
void HeatConductionMaterial::Save | ( | FILE * | File | ) | [virtual] |
void HeatConductionMaterial::SetProperties | ( | BuiltInArray< double > & | Properties | ) | [virtual] |
Sets material properties from values in an array.
[in] | Properties | - array with material properties. |
Implements Material.
void HeatConductionMaterial::SetProperty | ( | MaterialProperty_E | Property, |
double | Value | ||
) | [virtual] |
Sets the value of a specific material property.
[in] | Property | - material property to be set as a MaterialProperty_E enum |
[in] | Value,: | material property value. |
Implements Material.