hp2FEM  0.1
Public Member Functions | Protected Attributes
HeatConductionMaterial Class Reference

Specialization of the Materials abstract class for isotorpic heat conduction materials. More...

#include <HeatConductionMaterial.h>

Inheritance diagram for HeatConductionMaterial:
Inheritance graph
[legend]
Collaboration diagram for HeatConductionMaterial:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

Specialization of the Materials abstract class for isotorpic heat conduction materials.

Author:
Marco Lcio Bittencourt/Fabiano Fernandes Bargos
Date:
April/18/2011

Constructor & Destructor Documentation

Copy-initializer constructor. Creates a copy of an existing object.

Returns:
Reference to the current object.

Member Function Documentation

ProblemType_E HeatConductionMaterial::GetApplication ( ) [virtual]

Gets the material application.

Returns:
Material application.

Reimplemented from Material.

void HeatConductionMaterial::GetCMatrix ( SymmetricMatrix CMatrix) [virtual]

Returns the compliance matrix of the material.

Parameters:
[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.

Parameters:
[out]DMatrix- heat conduction matrix.

Implements Material.

unsigned long HeatConductionMaterial::GetDMatrixOrder ( unsigned long  StrainOrder) [virtual]

Returns the highest order of the polynomials that describes the tangent stiffness properties (components of the D matrix).

Parameters:
[in]StrainOrder- polynomial order for the starin measure.
Returns:
Material order.

Implements Material.

MaterialType_E HeatConductionMaterial::GetMaterialType ( ) [virtual]

Returns material type.

Returns:
Material type as a MaterialType_E enum value.

Implements Material.

char * HeatConductionMaterial::GetName ( ) [virtual]

Returns string with the name of the material.

Returns:
Srting "ThermalMaterial".

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.

Parameters:
[out]Properties- array with the material properties.

Implements Material.

double HeatConductionMaterial::GetProperty ( MaterialProperty_E  Property) [virtual]

Gets the value of a specific material property.

Returns:
Material property value.

Implements Material.

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.

Note:
The stress components are returned in the algoritmic order (according to the material application) and not in the order of a symmetric tensor
Parameters:
[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]

Returns the highest order components of the stress tensor.

Returns:
Material order.

Implements Material.

void HeatConductionMaterial::Print ( FILE *  File,
char *  Message = (char*)"" 
) [virtual]

Prints class information to an ASCII file.

Parameters:
[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.

Parameters:
[in]File,:pointer to the ASCII file.

Implements Material.

void HeatConductionMaterial::Read ( FILE *  File) [virtual]

Reads class attributes from the .def ASCII file.

Parameters:
[in]File,:pointer to the .def ASCII file.

Implements Material.

void HeatConductionMaterial::Restore ( FILE *  File) [virtual]

Restores class data (written using Save()) from a binary file.

Parameters:
[in]File,:pointer to the binary file.

Implements Material.

void HeatConductionMaterial::Save ( FILE *  File) [virtual]

Writes class information to a binary file. The current object state can be completely recovered when applying the Restore() operation.

Parameters:
[in]File,:pointer to the binary file.

Implements Material.

void HeatConductionMaterial::SetProperties ( BuiltInArray< double > &  Properties) [virtual]

Sets material properties from values in an array.

Parameters:
[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.

Parameters:
[in]Property- material property to be set as a MaterialProperty_E enum
[in]Value,:material property value.

Implements Material.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Friends Defines