Go to the documentation of this file.
56 StructuralInterfaceMaterial :: initializeFrom(ir);
75 is.open(
tablename.c_str(), std :: ifstream :: in);
76 if ( !is.is_open() ) {
81 if ( is >> nbrOfLinesToRead ) {
82 printf(
"NumberofLinestoRead: %d\n", nbrOfLinesToRead);
84 OOFEM_ERROR(
"IntMatIsoDamageTable :: initializeFrom: Error reading table file, first line should be "
85 "an integer stating how many strain damage pairs that exist in the file.");
94 for (
int i = 0; i < nbrOfLinesToRead; i++ ) {
96 OOFEM_ERROR(
"Error reading table file at line %d, expected a "
97 "strain damage pair.", i + 2);
101 OOFEM_ERROR(
"Error reading table file at line %d, strain "
102 "and damage must be given in an increasing order and be positive.", i + 2);
115 StructuralInterfaceMaterial :: giveInputRecord(input);
126IntMatIsoDamageTable :: computeDamageParam(
double kappa)
const
128 if ( kappa > this->
e0 ) {
139 printf(
"e0 %lf\n",
e0);
140 printf(
"sizeof %d\n",
sizeof(
tableJumps.givePointer() ) );
141 printf(
"pointer: %d\n", index);
142 printf(
"value: %lf\n", * index);
143 printf(
"Index found: %d\n", index -
tableJumps.givePointer() );
144 printf(
"First index: %d\n",
tableJumps.givePointer() );
155 return y0 + ( y1 - y0 ) * ( kappa - x0 ) / ( x1 - x0 );
#define REGISTER_Material(class)
FloatArray tableDamages
Damages read from the second column in the table file.
std::string tablename
Name of table file.
FloatArray tableJumps
Jumps read from the first column in the table file.
double maxOmega
Maximum limit on omega. The purpose is elimination of a too compliant material which may cause conver...
IntMatIsoDamage(int n, Domain *d)
double kn
Elastic properties (normal moduli).
double e0
Limit elastic deformation.
double ft
Tension strength.
#define _IFT_IntMatIsoDamageTable_ks
#define _IFT_IntMatIsoDamageTable_tablename
#define _IFT_IntMatIsoDamageTable_maxOmega
#define _IFT_IntMatIsoDamageTable_ft
#define _IFT_IntMatIsoDamageTable_kn
FloatArrayF< N > min(const FloatArrayF< N > &a, const FloatArrayF< N > &b)
FloatArrayF< N > max(const FloatArrayF< N > &a, const FloatArrayF< N > &b)
This page is part of the
OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak
Bořek Patzák
Project e-mail:
oofem@fsv.cvut.cz
Generated at for OOFEM by
doxygen
1.15.0 written by Dimitri van Heesch,
© 1997-2011