TexGen
|
Class to store properties related to a textile. More...
#include <PropertiesYarn.h>
Public Member Functions | |
CPropertiesYarn () | |
CPropertiesYarn (TiXmlElement &Element) | |
~CPropertiesYarn (void) | |
void | PopulateTiXmlElement (TiXmlElement &Element, OUTPUT_TYPE OutputType) |
Used for saving data to XML. More... | |
void | SetYarnLinearDensity (double dValue, string Units="kg/m") |
Set the fibre linear density, i.e. the mass per unit length of fibre. More... | |
void | SetFibreDensity (double dValue, string Units="kg/m^3") |
Set the fibre density, i.e. the mass per unit volume of fibre. More... | |
void | SetFibreDiameter (double dValue, string Units="m") |
Set the fibre diameter. More... | |
void | SetFibresPerYarn (int iValue) |
Set the number of fibres in a yarn. More... | |
void | SetYoungsModulus (double dValue, string Units="MPa") |
Set the Young's modulus for a yarn. More... | |
void | SetYoungsModulusX (double dValue, string Units="MPa") |
void | SetYoungsModulusY (double dValue, string Units="MPa") |
void | SetYoungsModulusZ (double dValue, string Units="MPa") |
void | SetShearModulusXY (double dValue, string Units="MPa") |
Set the Shear modulus for a yarn. More... | |
void | SetShearModulusXZ (double dValue, string Units="MPa") |
void | SetShearModulusYZ (double dValue, string Units="MPa") |
void | SetPoissonsRatio (double dValue) |
Set the Poisson's ratio for a yarn. More... | |
void | SetPoissonsRatioX (double dValue) |
void | SetPoissonsRatioY (double dValue) |
void | SetPoissonsRatioZ (double dValue) |
void | SetAlphaX (double dValue, string Units="/K") |
Set the coefficients of thermal expansion for a yarn. More... | |
void | SetAlphaY (double dValue, string Units="/K") |
void | SetAlphaZ (double dValue, string Units="/K") |
void | SetFibreArea (double dValue, string Units="m^2") |
Set the area occupied by fibres in a yarn cross-section. More... | |
void | ResetYarnLinearDensity () |
void | ResetFibreDensity () |
void | ResetFibreDiameter () |
void | ResetFibresPerYarn () |
void | ResetFibreArea () |
void | ResetYoungsModulusX () |
void | ResetYoungsModulusY () |
void | ResetYoungsModulusZ () |
void | ResetShearModulusXY () |
void | ResetShearModulusXZ () |
void | ResetShearModulusYZ () |
void | ResetAlphaX () |
void | ResetAlphaY () |
void | ResetAlphaZ () |
void | ResetPoissonsRatioX () |
void | ResetPoissonsRatioY () |
void | ResetPoissonsRatioZ () |
double | GetYarnLinearDensity (string Units="kg/m") const |
double | GetFibreDensity (string Units="kg/m^3") const |
double | GetFibreDiameter (string Units="m") const |
int | GetFibresPerYarn () const |
double | GetFibreArea (string Units="m^2") const |
Get the area occupied by fibres given fibre diameter and number of fibres. More... | |
double | GetYoungsModulusX (string Units="MPa") const |
double | GetYoungsModulusY (string Units="MPa") const |
double | GetYoungsModulusZ (string Units="MPa") const |
double | GetShearModulusXY (string Units="MPa") const |
double | GetShearModulusXZ (string Units="MPa") const |
double | GetShearModulusYZ (string Units="MPa") const |
double | GetAlphaX (string Units="/K") const |
double | GetAlphaY (string Units="/K") const |
double | GetAlphaZ (string Units="/K") const |
double | GetPoissonsRatioX () const |
double | GetPoissonsRatioY () const |
double | GetPoissonsRatioZ () const |
Protected Member Functions | |
void | SetDefaultProperties () |
Set default properties as specified by DefaultProperties.h. More... | |
Protected Attributes | |
int | m_iFibresPerYarn |
double | m_PoissonsRatioX |
double | m_PoissonsRatioY |
double | m_PoissonsRatioZ |
Class to store properties related to a textile.
This class combines geometrical information stored in the CTextile class with user input data relating to physical properties of the textile. Several interesting values can be obtained in this manner, for example the volume fraction is calculated from the volume of yarns in the geometrical model along with information about fibre density and areal density.
Definition at line 36 of file PropertiesYarn.h.
CPropertiesYarn::CPropertiesYarn | ( | ) |
Definition at line 25 of file PropertiesYarn.cpp.
CPropertiesYarn::CPropertiesYarn | ( | TiXmlElement & | Element | ) |
Definition at line 29 of file PropertiesYarn.cpp.
CPropertiesYarn::~CPropertiesYarn | ( | void | ) |
Definition at line 34 of file PropertiesYarn.cpp.
|
inherited |
Definition at line 319 of file Properties.cpp.
References TexGen::CProperty::GetValue(), and TexGen::CProperties::m_AlphaX.
Referenced by TexGen::CTextileMaterials::SetupMaterials().
|
inherited |
Definition at line 324 of file Properties.cpp.
References TexGen::CProperty::GetValue(), and TexGen::CProperties::m_AlphaY.
Referenced by TexGen::CTextileMaterials::SetupMaterials().
|
inherited |
Definition at line 329 of file Properties.cpp.
References TexGen::CProperty::GetValue(), and TexGen::CProperties::m_AlphaZ.
Referenced by TexGen::CTextileMaterials::SetupMaterials().
|
inherited |
Get the area occupied by fibres given fibre diameter and number of fibres.
Either returns the value stored in m_dFibreArea or calculates it from m_iFibresPerYarn and m_FibreDiameter if they are set OR from m_dYarnLinearDensity and m_dFibreDensity if they are set.
Definition at line 251 of file Properties.cpp.
References TexGen::ConvertUnits(), TexGen::CProperty::GetSIValue(), TexGen::CProperty::GetValue(), TexGen::CProperty::IsSet(), TexGen::CProperties::m_CalculatedArea, TexGen::CProperties::m_FibreArea, TexGen::CProperties::m_FibreDensity, TexGen::CProperties::m_FibreDiameter, TexGen::CProperties::m_iFibresPerYarn, TexGen::CProperties::m_YarnLinearDensity, and PI.
Referenced by TexGen::CTextile3DWeave::GetFibreArea(), TexGen::CYarn::GetFibreVolume(), TexGen::CSimulationAbaqus::GetSectionVolumeFraction(), and TexGen::CYarn::PointInsideYarn().
|
inherited |
Definition at line 246 of file Properties.cpp.
References TexGen::CProperty::GetValue(), and TexGen::CProperties::m_FibreDensity.
Referenced by TexGen::CYarn::GetFibreVolume(), TexGen::CYarn::GetFibreVolumePerUnitArea(), and TexGen::CTextile3DWeave::SetYarnProperties().
|
inherited |
Definition at line 279 of file Properties.cpp.
References TexGen::CProperty::GetValue(), and TexGen::CProperties::m_FibreDiameter.
Referenced by TexGen::CTextile3DWeave::SetYarnProperties().
|
inherited |
Definition at line 284 of file Properties.cpp.
References TexGen::CProperties::m_iFibresPerYarn.
Referenced by TexGen::CTextile3DWeave::SetYarnProperties().
|
inherited |
Definition at line 334 of file Properties.cpp.
References TexGen::CProperties::m_PoissonsRatioX.
Referenced by TexGen::CTextileMaterials::SetupMaterials().
|
inherited |
Definition at line 339 of file Properties.cpp.
References TexGen::CProperties::m_PoissonsRatioY.
Referenced by TexGen::CTextileMaterials::SetupMaterials().
|
inherited |
Definition at line 344 of file Properties.cpp.
References TexGen::CProperties::m_PoissonsRatioZ.
Referenced by TexGen::CTextileMaterials::SetupMaterials().
|
inherited |
Definition at line 304 of file Properties.cpp.
References TexGen::CProperty::GetValue(), and TexGen::CProperties::m_ShearModulusXY.
Referenced by TexGen::CTextileMaterials::SetupMaterials().
|
inherited |
Definition at line 309 of file Properties.cpp.
References TexGen::CProperty::GetValue(), and TexGen::CProperties::m_ShearModulusXZ.
Referenced by TexGen::CTextileMaterials::SetupMaterials().
|
inherited |
Definition at line 314 of file Properties.cpp.
References TexGen::CProperty::GetValue(), and TexGen::CProperties::m_ShearModulusYZ.
Referenced by TexGen::CTextileMaterials::SetupMaterials().
|
inherited |
Definition at line 241 of file Properties.cpp.
References TexGen::CProperty::GetValue(), and TexGen::CProperties::m_YarnLinearDensity.
Referenced by TexGen::CYarn::GetFibreVolume(), TexGen::CYarn::GetFibreVolumePerUnitArea(), and TexGen::CTextile3DWeave::SetYarnProperties().
|
inherited |
Definition at line 289 of file Properties.cpp.
References TexGen::CProperty::GetValue(), and TexGen::CProperties::m_YoungsModulusX.
Referenced by TexGen::CTextileMaterials::SetupMaterials().
|
inherited |
Definition at line 294 of file Properties.cpp.
References TexGen::CProperty::GetValue(), and TexGen::CProperties::m_YoungsModulusY.
Referenced by TexGen::CTextileMaterials::SetupMaterials().
|
inherited |
Definition at line 299 of file Properties.cpp.
References TexGen::CProperty::GetValue(), and TexGen::CProperties::m_YoungsModulusZ.
Referenced by TexGen::CTextileMaterials::SetupMaterials().
|
virtual |
Used for saving data to XML.
Reimplemented from TexGen::CProperties.
Reimplemented in TexGen::CYarn.
Definition at line 38 of file PropertiesYarn.cpp.
References TexGen::CProperties::PopulateTiXmlElement().
Referenced by TexGen::CYarn::PopulateTiXmlElement().
|
inlineinherited |
Definition at line 165 of file Properties.h.
|
inlineinherited |
Definition at line 166 of file Properties.h.
|
inlineinherited |
Definition at line 167 of file Properties.h.
|
inlineinherited |
Definition at line 158 of file Properties.h.
|
inlineinherited |
Definition at line 155 of file Properties.h.
|
inlineinherited |
Definition at line 156 of file Properties.h.
|
inlineinherited |
Definition at line 157 of file Properties.h.
|
inlineinherited |
Definition at line 168 of file Properties.h.
|
inlineinherited |
Definition at line 169 of file Properties.h.
|
inlineinherited |
Definition at line 170 of file Properties.h.
|
inlineinherited |
Definition at line 162 of file Properties.h.
|
inlineinherited |
Definition at line 163 of file Properties.h.
|
inlineinherited |
Definition at line 164 of file Properties.h.
|
inlineinherited |
Definition at line 154 of file Properties.h.
|
inlineinherited |
Definition at line 159 of file Properties.h.
|
inlineinherited |
Definition at line 160 of file Properties.h.
|
inlineinherited |
Definition at line 161 of file Properties.h.
|
inherited |
Set the coefficients of thermal expansion for a yarn.
Definition at line 204 of file Properties.cpp.
References TexGen::CProperties::m_AlphaX, and TexGen::CProperty::SetValue().
Referenced by TexGen::CProperties::SetDefaultProperties().
|
inherited |
Definition at line 209 of file Properties.cpp.
References TexGen::CProperties::m_AlphaY, and TexGen::CProperty::SetValue().
Referenced by TexGen::CProperties::SetDefaultProperties().
|
inherited |
Definition at line 214 of file Properties.cpp.
References TexGen::CProperties::m_AlphaZ, and TexGen::CProperty::SetValue().
Referenced by TexGen::CProperties::SetDefaultProperties().
|
protectedinherited |
Set default properties as specified by DefaultProperties.h.
Definition at line 349 of file Properties.cpp.
References TexGen::CProperties::SetAlphaX(), TexGen::CProperties::SetAlphaY(), TexGen::CProperties::SetAlphaZ(), TexGen::CProperties::SetPoissonsRatioX(), TexGen::CProperties::SetPoissonsRatioY(), TexGen::CProperties::SetPoissonsRatioZ(), TexGen::CProperties::SetShearModulusXY(), TexGen::CProperties::SetShearModulusXZ(), TexGen::CProperties::SetShearModulusYZ(), TexGen::CProperties::SetYoungsModulusX(), TexGen::CProperties::SetYoungsModulusY(), TexGen::CProperties::SetYoungsModulusZ(), YARN_ALPHAX, YARN_ALPHAY, YARN_ALPHAZ, YARN_EX, YARN_EY, YARN_EZ, YARN_GXY, YARN_GXZ, YARN_GYZ, YARN_POISSONX, YARN_POISSONY, and YARN_POISSONZ.
Referenced by TexGen::CProperties::CProperties().
|
inherited |
Set the area occupied by fibres in a yarn cross-section.
If not set it can be calculated from the yarn linear density and fibre density.
Definition at line 140 of file Properties.cpp.
References TexGen::CProperties::m_FibreArea, and TexGen::CProperty::SetValue().
Referenced by TexGen::CTextile3DWeave::SetFibreArea(), and TexGen::CTextile3DWeave::SetYarnProperties().
|
inherited |
Set the fibre density, i.e. the mass per unit volume of fibre.
Definition at line 130 of file Properties.cpp.
References TexGen::CProperty::GetSIValue(), TexGen::CProperty::IsSet(), TexGen::CProperties::m_CalculatedArea, TexGen::CProperties::m_FibreDensity, TexGen::CProperties::m_YarnLinearDensity, and TexGen::CProperty::SetValue().
Referenced by TexGen::CTextile3DWeave::SetFibreDensity(), and TexGen::CTextile3DWeave::SetYarnProperties().
|
inherited |
Set the fibre diameter.
Definition at line 145 of file Properties.cpp.
References TexGen::CProperty::GetSIValue(), TexGen::CProperties::m_CalculatedArea, TexGen::CProperties::m_FibreDiameter, TexGen::CProperties::m_iFibresPerYarn, PI, and TexGen::CProperty::SetValue().
Referenced by TexGen::CTextile3DWeave::SetFibreDiameter(), and TexGen::CTextile3DWeave::SetYarnProperties().
|
inherited |
Set the number of fibres in a yarn.
Definition at line 156 of file Properties.cpp.
References TexGen::CProperty::GetSIValue(), TexGen::CProperty::IsSet(), TexGen::CProperties::m_CalculatedArea, TexGen::CProperties::m_FibreDiameter, TexGen::CProperties::m_iFibresPerYarn, PI, and TexGen::CProperty::SetValue().
Referenced by TexGen::CTextile3DWeave::SetFibresPerYarn(), and TexGen::CTextile3DWeave::SetYarnProperties().
|
inherited |
Set the Poisson's ratio for a yarn.
Definition at line 219 of file Properties.cpp.
References TexGen::CProperties::SetPoissonsRatioX(), TexGen::CProperties::SetPoissonsRatioY(), and TexGen::CProperties::SetPoissonsRatioZ().
|
inherited |
Definition at line 226 of file Properties.cpp.
References TexGen::CProperties::m_PoissonsRatioX.
Referenced by TexGen::CProperties::SetDefaultProperties(), and TexGen::CProperties::SetPoissonsRatio().
|
inherited |
Definition at line 231 of file Properties.cpp.
References TexGen::CProperties::m_PoissonsRatioY.
Referenced by TexGen::CProperties::SetDefaultProperties(), and TexGen::CProperties::SetPoissonsRatio().
|
inherited |
Definition at line 236 of file Properties.cpp.
References TexGen::CProperties::m_PoissonsRatioZ.
Referenced by TexGen::CProperties::SetDefaultProperties(), and TexGen::CProperties::SetPoissonsRatio().
|
inherited |
Set the Shear modulus for a yarn.
Definition at line 189 of file Properties.cpp.
References TexGen::CProperties::m_ShearModulusXY, and TexGen::CProperty::SetValue().
Referenced by TexGen::CProperties::SetDefaultProperties().
|
inherited |
Definition at line 194 of file Properties.cpp.
References TexGen::CProperties::m_ShearModulusXZ, and TexGen::CProperty::SetValue().
Referenced by TexGen::CProperties::SetDefaultProperties().
|
inherited |
Definition at line 199 of file Properties.cpp.
References TexGen::CProperties::m_ShearModulusYZ, and TexGen::CProperty::SetValue().
Referenced by TexGen::CProperties::SetDefaultProperties().
|
inherited |
Set the fibre linear density, i.e. the mass per unit length of fibre.
Suppose 1 meter length of yarn weighs X kg, it's linear density is X kg/m
Definition at line 120 of file Properties.cpp.
References TexGen::CProperty::GetSIValue(), TexGen::CProperty::IsSet(), TexGen::CProperties::m_CalculatedArea, TexGen::CProperties::m_FibreDensity, TexGen::CProperties::m_YarnLinearDensity, and TexGen::CProperty::SetValue().
Referenced by TexGen::CTextile3DWeave::SetYarnLinearDensity(), and TexGen::CTextile3DWeave::SetYarnProperties().
|
inherited |
Set the Young's modulus for a yarn.
Definition at line 167 of file Properties.cpp.
References TexGen::CProperties::SetYoungsModulusX(), TexGen::CProperties::SetYoungsModulusY(), and TexGen::CProperties::SetYoungsModulusZ().
|
inherited |
Definition at line 174 of file Properties.cpp.
References TexGen::CProperties::m_YoungsModulusX, and TexGen::CProperty::SetValue().
Referenced by TexGen::CProperties::SetDefaultProperties(), and TexGen::CProperties::SetYoungsModulus().
|
inherited |
Definition at line 179 of file Properties.cpp.
References TexGen::CProperties::m_YoungsModulusY, and TexGen::CProperty::SetValue().
Referenced by TexGen::CProperties::SetDefaultProperties(), and TexGen::CProperties::SetYoungsModulus().
|
inherited |
Definition at line 184 of file Properties.cpp.
References TexGen::CProperties::m_YoungsModulusZ, and TexGen::CProperty::SetValue().
Referenced by TexGen::CProperties::SetDefaultProperties(), and TexGen::CProperties::SetYoungsModulus().
|
inherited |
Definition at line 208 of file Properties.h.
Referenced by TexGen::CProperties::CProperties(), TexGen::CProperties::GetAlphaX(), TexGen::CProperties::PopulateTiXmlElement(), and TexGen::CProperties::SetAlphaX().
|
inherited |
Definition at line 209 of file Properties.h.
Referenced by TexGen::CProperties::CProperties(), TexGen::CProperties::GetAlphaY(), TexGen::CProperties::PopulateTiXmlElement(), and TexGen::CProperties::SetAlphaY().
|
inherited |
Definition at line 210 of file Properties.h.
Referenced by TexGen::CProperties::CProperties(), TexGen::CProperties::GetAlphaZ(), TexGen::CProperties::PopulateTiXmlElement(), and TexGen::CProperties::SetAlphaZ().
|
inherited |
Definition at line 211 of file Properties.h.
Referenced by TexGen::CProperties::GetFibreArea(), TexGen::CProperties::SetFibreDensity(), TexGen::CProperties::SetFibreDiameter(), TexGen::CProperties::SetFibresPerYarn(), and TexGen::CProperties::SetYarnLinearDensity().
|
inherited |
Definition at line 200 of file Properties.h.
Referenced by TexGen::CProperties::CProperties(), TexGen::CProperties::GetFibreArea(), TexGen::CProperties::PopulateTiXmlElement(), and TexGen::CProperties::SetFibreArea().
|
inherited |
Definition at line 199 of file Properties.h.
Referenced by TexGen::CProperties::CProperties(), TexGen::CProperties::GetFibreArea(), TexGen::CProperties::GetFibreDensity(), TexGen::CTextile::GetFibreVolumePerUnitArea(), TexGen::CProperties::PopulateTiXmlElement(), TexGen::CProperties::SetFibreDensity(), and TexGen::CProperties::SetYarnLinearDensity().
|
inherited |
Definition at line 201 of file Properties.h.
Referenced by TexGen::CProperties::CProperties(), TexGen::CProperties::GetFibreArea(), TexGen::CProperties::GetFibreDiameter(), TexGen::CProperties::PopulateTiXmlElement(), TexGen::CProperties::SetFibreDiameter(), and TexGen::CProperties::SetFibresPerYarn().
|
protectedinherited |
Definition at line 214 of file Properties.h.
Referenced by TexGen::CProperties::CProperties(), TexGen::CProperties::GetFibreArea(), TexGen::CProperties::GetFibresPerYarn(), TexGen::CProperties::PopulateTiXmlElement(), TexGen::CProperties::SetFibreDiameter(), and TexGen::CProperties::SetFibresPerYarn().
|
protectedinherited |
Definition at line 215 of file Properties.h.
Referenced by TexGen::CProperties::CProperties(), TexGen::CProperties::GetPoissonsRatioX(), TexGen::CProperties::PopulateTiXmlElement(), and TexGen::CProperties::SetPoissonsRatioX().
|
protectedinherited |
Definition at line 216 of file Properties.h.
Referenced by TexGen::CProperties::CProperties(), TexGen::CProperties::GetPoissonsRatioY(), TexGen::CProperties::PopulateTiXmlElement(), and TexGen::CProperties::SetPoissonsRatioY().
|
protectedinherited |
Definition at line 217 of file Properties.h.
Referenced by TexGen::CProperties::CProperties(), TexGen::CProperties::GetPoissonsRatioZ(), TexGen::CProperties::PopulateTiXmlElement(), and TexGen::CProperties::SetPoissonsRatioZ().
|
inherited |
Definition at line 205 of file Properties.h.
Referenced by TexGen::CProperties::CProperties(), TexGen::CProperties::GetShearModulusXY(), TexGen::CProperties::PopulateTiXmlElement(), and TexGen::CProperties::SetShearModulusXY().
|
inherited |
Definition at line 206 of file Properties.h.
Referenced by TexGen::CProperties::CProperties(), TexGen::CProperties::GetShearModulusXZ(), TexGen::CProperties::PopulateTiXmlElement(), and TexGen::CProperties::SetShearModulusXZ().
|
inherited |
Definition at line 207 of file Properties.h.
Referenced by TexGen::CProperties::CProperties(), TexGen::CProperties::GetShearModulusYZ(), TexGen::CProperties::PopulateTiXmlElement(), and TexGen::CProperties::SetShearModulusYZ().
|
inherited |
Definition at line 198 of file Properties.h.
Referenced by TexGen::CProperties::CProperties(), TexGen::CProperties::GetFibreArea(), TexGen::CProperties::GetYarnLinearDensity(), TexGen::CProperties::PopulateTiXmlElement(), TexGen::CProperties::SetFibreDensity(), and TexGen::CProperties::SetYarnLinearDensity().
|
inherited |
Definition at line 202 of file Properties.h.
Referenced by TexGen::CProperties::CProperties(), TexGen::CProperties::GetYoungsModulusX(), TexGen::CProperties::PopulateTiXmlElement(), and TexGen::CProperties::SetYoungsModulusX().
|
inherited |
Definition at line 203 of file Properties.h.
Referenced by TexGen::CProperties::CProperties(), TexGen::CProperties::GetYoungsModulusY(), TexGen::CProperties::PopulateTiXmlElement(), and TexGen::CProperties::SetYoungsModulusY().
|
inherited |
Definition at line 204 of file Properties.h.
Referenced by TexGen::CProperties::CProperties(), TexGen::CProperties::GetYoungsModulusZ(), TexGen::CProperties::PopulateTiXmlElement(), and TexGen::CProperties::SetYoungsModulusZ().