libsurf
Programmer's Documentation

Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
MaterialProperty Class Referenceabstract

Detailed Description

Base class for material property definitions.

See Also
IsotropicMaterial

#include <materialproperty.h>

Inheritance diagram for MaterialProperty:
[legend]

Public Types

enum  BuiltinMatID {
  AA2024T3Sheet, AA2024T3Plate76, AA2024T8Sheet13, AA7050T74Plate200,
  AA7050T76Plate63, AA7055T77Plate37, AA7150T77Extrusion13, AISI4130Sheet,
  AISI4340Tempered, PH138MoH950Bar, PH174H900Bar, PH177TH1050Sheet,
  Ti6Al4VPlateAnnealed, Ti6Al4VExtrusionAged, EpoxyResin, M21T700,
  CfFabricEpoxyManual, SGfFabricEpoxyManual
}
 predefined materials More...
 

Public Member Functions

 MaterialProperty (uint id=NotFound)
 undefined material
 
virtual ~MaterialProperty ()
 destruct
 
virtual void writeNastran (std::ostream &os) const =0
 write NASTRAN bulk data card
 
virtual XmlElement toXml () const =0
 write xml representation
 
virtual void fromXml (const XmlElement &xe)=0
 import from xml representation
 

Static Public Member Functions

static MaterialPropertyPtr builtinMaterial (BuiltinMatID mat, uint id=1)
 generate a material from builtin ID
 
static MaterialPropertyPtr createFromXml (const XmlElement &xe)
 create material from XML representation
 
static MaterialPropertyPtr lookup (const MaterialPropertyArray &db, uint id)
 lookup an iid in material library
 
static XmlElement collectionToXml (const MaterialPropertyArray &db)
 write a material database to file
 
static MaterialPropertyArray collectionFromXml (const XmlElement &xe)
 load a material database from file
 

Static Public Attributes

static const Real NoValue = std::numeric_limits<Real>::max()
 indicates that a value is not set
 

Protected Member Functions

void bulkIfValid (Real v, std::ostream &os) const
 write value in NASTRAN bulk data if defined
 
XmlElement baseXml (const std::string &tagname) const
 generate xml representattion with basic attributes
 
void baseFromXml (const XmlElement &xe)
 extract base class attributes from xml element
 

Member Enumeration Documentation

predefined materials

Enumerator
AA2024T3Sheet 

2024 T3 Sheet t > 0.01 in

AA2024T3Plate76 

2024 T3 Plate t < 3 in

AA2024T8Sheet13 

2024 T8 Sheet,Plate t < 0.5 in

AA7050T74Plate200 

7050 T74 Plate < 8in

AA7050T76Plate63 

7050 T76 Plate < 2.5in

AA7055T77Plate37 

7055 T77 Plate < 1.5in

AA7150T77Extrusion13 

7150 T77 Extrusion, t < 0.5in

AISI4130Sheet 

AISI 4130 Steel, sheet, tubing.

AISI4340Tempered 

AISI 4340 Quenched and tempered < 3.5in.

PH138MoH950Bar 

PH13-8Mo H950 Bar, t < 9 in.

PH174H900Bar 

17-4 PH H900 Bar, t < 8 in

PH177TH1050Sheet 

17-7 PH TH 1050 Sheet, t < 0.2 in

Ti6Al4VPlateAnnealed 

Ti-6Al-4V Annealed plate, < 2in.

Ti6Al4VExtrusionAged 

Ti-6Al-4V Aged extrusion, < 1in.

EpoxyResin 

Typical values for solid LR285 epoxy.

M21T700 

HexPly M21 + Torayca T700, Vf 0.6.

CfFabricEpoxyManual 

HS Carbon/LR285, low-temp.

SGfFabricEpoxyManual 

S-Glass/LR285, low-temp.


The documentation for this class was generated from the following files:
Generated on Mon Jan 24 2022 03:03:18 for libsurf by   doxygen 1.8.5