layplate Class Reference

#include <layplate.h>

List of all members.

Public Member Functions

void backup (long ipp, double *&k, long j)
void backup (long ipp, double *&k, long j)
long compeqother (long ipp)
long compeqother (long ipp)
long compother (long ipp)
long compother (long ipp)
double dstep_red (long ipp, long im, long ido)
 layplate (void)
 layplate (void)
void matstiff (matrix &d, long ipp, long ido)
void matstiff (matrix &d, long ipp, long ido)
void nlstresses (long ipp, long im, long ido)
void nlstresses (long ipp, long im, long ido)
void read (XFILE *in)
void read (XFILE *in)
void restore_values (long ipp, double *k, long j)
void restore_values (long ipp, double *k, long j)
void stress_calc (vector &df, vector &eps, double *k, vector &intfor, double *layz, double *layth, long ipp, long ido)
void stress_calc (vector &df, vector &eps, double *k, vector &intfor, double *layz, double *layth, long ipp, long ido, FILE *&out)
void updateval (long ipp, long im, long ido)
void updateval (long ipp, long im, long ido)
 ~layplate (void)
 ~layplate (void)

Public Attributes

intpoints bcup
 backup of informations stored on integration point
matrix c
 matice poddajnosti pro urceni rovnovahy normalovych sil na prurezu
matrix cn
double err
 error for iteration of cross-section eqilibrium
long ** idm
 array of number of appropriate material type
long nl
 number of layers
long nli
 number of iteration steps for cross-section eqilibrium
long * nm
 number of materials on current layer
mattype ** tm
 array of material types

Detailed Description

Class layplate defines layered model for plates.

Josef Fiedler, 08/2014

Definition at line 19 of file layplate.h.


Constructor & Destructor Documentation

layplate ( void   ) 

This constructor inializes attributes to zero values.

Definition at line 19 of file layplate.cpp.

~layplate ( void   ) 

The destructor

Definition at line 28 of file layplate.cpp.

layplate ( void   ) 
~layplate ( void   ) 

Member Function Documentation

void backup ( long  ipp,
double *&  k,
long  j 
)
void backup ( long  ipp,
double *&  k,
long  j 
)

Function backs up some informations stored on integration point and prepares arrays for computation.

Parameters:
ipp - integration point number in the mechmat ip array.

10/2014 J. Fiedler

Definition at line 285 of file layplate.cpp.

References intpoints::alloc_strains(), intpoints::alloc_stresses(), bcup, intpoints::clean_strains(), intpoints::clean_stresses(), intpoints::idm, mechmat::ip, Mm, intpoints::ncompstr, intpoints::nm, planestress, intpoints::ssst, intpoints::strain, intpoints::stress, and intpoints::tm.

Referenced by matstiff(), and nlstresses().

long compeqother ( long  ipp  ) 
long compeqother ( long  ipp  ) 

This function evaluates the size of eqother array.

Parameters:
ipp - integration point number in the mechmat ip array.
Returns:
The function returns the size of eqother array depending of number of layers and their material type.

10/2014 J. Fiedler

Definition at line 228 of file layplate.cpp.

References mechmat::givencompeqother(), mechmat::ip, Mm, intpoints::ncompstr, nl, tm, and intpoints::tm.

long compother ( long  ipp  ) 
long compother ( long  ipp  ) 

This function evaluates the size of other array.

Parameters:
ipp - integration point number in the mechmat ip array.
Returns:
The function returns the size of other array depending of number of layers and their material type.

10/2014 J. Fiedler

Definition at line 258 of file layplate.cpp.

References mechmat::givencompother(), mechmat::ip, Mm, intpoints::ncompstr, nl, tm, and intpoints::tm.

double dstep_red ( long  ipp,
long  im,
long  ido 
)

Definition at line 390 of file layplate.cpp.

References mechmat::ip, Mm, and intpoints::other.

void matstiff ( matrix d,
long  ipp,
long  ido 
)
void matstiff ( matrix d,
long  ipp,
long  ido 
)

This function computes material stiffness matrix considering layer stiffnesses.

Parameters:
d - material stiffness matrix
ipp - integration point number in the mechmat ip array.
ido - index of internal variables for given material in the ipp other array

11/2014 J. Fiedler

Definition at line 84 of file layplate.cpp.

References addm(), backup(), c, cmulm(), cn, mechmat::elip, mechmat::elmatstiff(), fillm(), mechcrsec::give_layer_thicke(), mechcrsec::give_layer_zcoord(), idm, intpoints::idm, invm(), mechmat::ip, Mc, Mm, mxm(), nl, nm, intpoints::nm, restore_values(), tm, and intpoints::tm.

void nlstresses ( long  ipp,
long  im,
long  ido 
)
void nlstresses ( long  ipp,
long  im,
long  ido 
)

This function computes stresses at given integration point ipp, depending on the reached strains. The stress and the other attribute of given integration point is actualized.

Parameters:
ipp - integration point number in the mechmat ip array.
im - index of material type for given ip
ido - index of internal variables for given material in the ipp other array
Returns:
The function updates the stress array of the given integration point.

10/2014 J. Fiedler

Definition at line 154 of file layplate.cpp.

References backup(), c, cn, mechmat::elip, intpoints::eqother, err, mechcrsec::give_layer_thicke(), mechcrsec::give_layer_zcoord(), if(), mechmat::ip, probdesc::istep, probdesc::jstep, Mc, Mm, Mp, mxv(), intpoints::ncompstr, nli, normv(), intpoints::other, Out, print_err(), restore_values(), mechmat::storestress(), and stress_calc().

void read ( XFILE in  ) 
void read ( XFILE in  ) 

This function reads material parameters from the opened text file given by the parameter in.

Parameters:
in - pointer to the opened text file

10/2014 J. Fiedler

Definition at line 42 of file layplate.cpp.

References allocm(), c, cn, err, idm, mattype_kwdset(), nl, nli, nm, tm, and xfscanf().

void restore_values ( long  ipp,
double *  k,
long  j 
)
void restore_values ( long  ipp,
double *  k,
long  j 
)

Function restores original informations stored on integration point.

Parameters:
ipp - integration point number in the mechmat ip array.

10/2014 J. Fiedler

Definition at line 313 of file layplate.cpp.

References bcup, intpoints::idm, mechmat::ip, Mm, intpoints::ncompstr, intpoints::nm, intpoints::ssst, intpoints::strain, intpoints::stress, and intpoints::tm.

Referenced by matstiff(), and nlstresses().

void stress_calc ( vector df,
vector eps,
double *  k,
vector intfor,
double *  layz,
double *  layth,
long  ipp,
long  ido 
)

Function calculates stresses on all layers and resulting internal forces

Definition at line 331 of file layplate.cpp.

References mechmat::computenlstresses(), for(), mechmat::givencompeqother(), idm, intpoints::idm, mechmat::ip, Mm, intpoints::nm, intpoints::other, intpoints::strain, intpoints::stress, tm, and intpoints::tm.

void stress_calc ( vector df,
vector eps,
double *  k,
vector intfor,
double *  layz,
double *  layth,
long  ipp,
long  ido,
FILE *&  out 
)

Function calculates stresses on all layers and resulting internal forces

Definition at line 337 of file layplate.cpp.

References mechmat::computenlstresses(), mechmat::elip, mechmat::givencompeqother(), idm, intpoints::idm, mechmat::ip, probdesc::istep, probdesc::jstep, Mm, Mp, intpoints::ncompstr, nl, nm, intpoints::nm, intpoints::other, intpoints::strain, intpoints::stress, tm, and intpoints::tm.

Referenced by nlstresses().

void updateval ( long  ipp,
long  im,
long  ido 
)
void updateval ( long  ipp,
long  im,
long  ido 
)

This function updates values in the other array reached in the previous equlibrium state to values reached in the new actual equilibrium state.

Definition at line 384 of file layplate.cpp.

References intpoints::eqother, mechmat::givencompeqother(), mechmat::ip, Mm, and intpoints::other.


Member Data Documentation

backup of informations stored on integration point

Definition at line 49 of file layplate.h.

Referenced by backup(), and restore_values().

matice poddajnosti pro urceni rovnovahy normalovych sil na prurezu

Definition at line 51 of file layplate.h.

Referenced by matstiff(), nlstresses(), and read().

Definition at line 53 of file layplate.h.

Referenced by matstiff(), nlstresses(), and read().

double err

error for iteration of cross-section eqilibrium

Definition at line 47 of file layplate.h.

Referenced by nlstresses(), and read().

long ** idm

array of number of appropriate material type

Definition at line 43 of file layplate.h.

Referenced by matstiff(), read(), and stress_calc().

long nl

number of layers

Definition at line 37 of file layplate.h.

Referenced by compeqother(), compother(), matstiff(), read(), and stress_calc().

long nli

number of iteration steps for cross-section eqilibrium

Definition at line 45 of file layplate.h.

Referenced by nlstresses(), and read().

long * nm

number of materials on current layer

Definition at line 39 of file layplate.h.

Referenced by matstiff(), read(), and stress_calc().

mattype ** tm

array of material types

Definition at line 41 of file layplate.h.

Referenced by compeqother(), compother(), matstiff(), read(), and stress_calc().


The documentation for this class was generated from the following files:

Generated by  doxygen 1.6.2