33 #ifndef MECH_OUTPUT_WRITER_H_
34 #define MECH_OUTPUT_WRITER_H_
39 namespace SmallStrainMechanics{
50 template<
typename TDomain>
64 m_quadOrder(0), m_bIP_values_written(false), m_stressEV(false),
65 m_normalStress(false){};
72 m_evalPointEV[0] = CoordX;
73 m_evalPointEV[1] = CoordY;
75 m_evalPointEV[2] = CoordZ;
84 m_normalStress =
true;
85 m_evalPointNormStress[0] = CoordX;
86 m_evalPointNormStress[1] = CoordY;
88 m_evalPointNormStress[2] = CoordZ;
97 { m_bIP_values_written =
false;}
99 template<
typename TFEGeom>
101 TFEGeom& geo, TBaseElem* elem,
const LocalVector& u);
103 void post_timestep(
const number time);
107 {m_spMatLaw = spMatLaw;}
109 {m_quadOrder = quadOrder;}
112 void plastIP_elem(
LocalVector& locPlastIP, TBaseElem* elem,
124 void invariants_kirchhoff_stress_elem(
LocalVector& locInvarKirchhoffStress,
128 template<
typename TFEGeom>
129 void next_ips_to_point(vector<size_t>& vNextIP,
const MathVector<dim>& point,
132 template<
typename TFEGeom>
133 void stress_eigenvalues_near_point(
const number time,
136 template<
typename TFEGeom>
137 void normal_stress_near_point(
const number time,
165 template<
typename TGr
idFunction>
167 TGridFunction& sigma, TGridFunction& epsilon, TGridFunction& stressFunc,
168 TGridFunction& strainFunc, TGridFunction& u);
170 template <
typename TGr
idFunction>
171 void plast_ip(TGridFunction& plastIP,
175 template <
typename TGr
idFunction>
180 template <
typename TGr
idFunction>
Definition: mat_law_interface.h:44
Definition: mech_output_writer.h:52
domain_traits< TDomain::dim >::grid_base_object TBaseElem
base element type of associated domain
Definition: mech_output_writer.h:55
void stress_eigenvalues_at(const number CoordX, const number CoordY, const number CoordZ)
get stress eigenvalues at point
Definition: mech_output_writer.h:68
bool m_stressEV
flags for stress-eigenvalues / normalStress at specific corner
Definition: mech_output_writer.h:151
bool m_bIP_values_written
flag indicating, if ip-values are already written
Definition: mech_output_writer.h:148
int m_quadOrder
quadrature rule
Definition: mech_output_writer.h:145
FILE * m_fileStressEV
output-file for stress eigenvalues
Definition: mech_output_writer.h:159
void quad_order(const int quadOrder)
Definition: mech_output_writer.h:108
MathVector< dim > m_evalPointEV
points, where to get stress-eigenvalues/normalStress
Definition: mech_output_writer.h:155
SmartPtr< IMaterialLaw< TDomain > > m_spMatLaw
material law
Definition: mech_output_writer.h:142
~MechOutputWriter()
destructor
Definition: mech_output_writer.h:92
void normal_stresses_at(const number CoordX, const number CoordY, const number CoordZ)
get normal stresses at point
Definition: mech_output_writer.h:79
MathVector< dim > m_evalPointNormStress
Definition: mech_output_writer.h:156
bool m_normalStress
Definition: mech_output_writer.h:152
void pre_timestep()
Definition: mech_output_writer.h:96
MechOutputWriter()
constructor
Definition: mech_output_writer.h:63
void material_law(SmartPtr< IMaterialLaw< TDomain > > spMatLaw)
Definition: mech_output_writer.h:106
void equiv_plast_strain(TGridFunction &eqPlastStrain, MechOutputWriter< typename TGridFunction::domain_type > &mechOut, TGridFunction &u)
Definition: mech_output_writer_impl.h:86
void normal_stresses_strains(MechOutputWriter< typename TGridFunction::domain_type > &mechOut, TGridFunction &sigma, TGridFunction &epsilon, TGridFunction &stressFunc, TGridFunction &strainFunc, TGridFunction &u)
Definition: mech_output_writer_impl.h:127
void invariants_kirchhoff_stress(TGridFunction &invarKirchhoffStress, MechOutputWriter< typename TGridFunction::domain_type > &mechOut, TGridFunction &u)
Definition: mech_output_writer_impl.h:178
void plast_ip(TGridFunction &plastIP, MechOutputWriter< typename TGridFunction::domain_type > &mechOut, TGridFunction &u)
Definition: mech_output_writer_impl.h:45