https://mooseframework.inl.gov
CrystalPlasticitySlipRate.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
13 #include "RankTwoTensor.h"
14 
21 {
22 public:
24 
26 
27  virtual void calcFlowDirection(unsigned int qp,
28  std::vector<RankTwoTensor> & flow_direction) const = 0;
29  virtual bool calcSlipRate(unsigned qp, Real dt, std::vector<Real> & val) const = 0;
30  virtual bool calcSlipRateDerivative(unsigned qp, Real dt, std::vector<Real> & val) const = 0;
31 
32 protected:
33  virtual void getSlipSystems();
34 
35  virtual void readFileFlowRateParams();
36 
37  virtual void getFlowRateParams();
38 
40  unsigned int _num_slip_sys_props;
41 
42  std::vector<Real> _flowprops;
43 
45  std::string _slip_sys_file_name;
46 
54 
57 
60 
61  DenseVector<Real> _mo;
62  DenseVector<Real> _no;
63 
66 };
virtual void calcFlowDirection(unsigned int qp, std::vector< RankTwoTensor > &flow_direction) const =0
Crystal plasticity slip rate userobject class The virtual functions written below must be over-ridden...
unsigned int _num_slip_sys_props
Number of slip system specific properties provided in the file containing slip system normals and dir...
virtual bool calcSlipRateDerivative(unsigned qp, Real dt, std::vector< Real > &val) const =0
Crystal plasticity system userobject base class.
static InputParameters validParams()
std::string _slip_sys_flow_prop_file_name
File should contain values of the flow rate equation parameters.
Real _slip_incr_tol
Slip increment tolerance.
unsigned int _num_slip_sys_flowrate_props
Number of slip system flow rate parameters.
CrystalPlasticitySlipRate(const InputParameters &parameters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const MaterialProperty< RankTwoTensor > & _crysrot
Crystal rotation.
virtual bool calcSlipRate(unsigned qp, Real dt, std::vector< Real > &val) const =0
const InputParameters & parameters() const
std::string _slip_sys_file_name
File should contain slip plane normal and direction.