https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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{
22public:
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
32protected:
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
46
54
57
60
61 DenseVector<Real> _mo;
62 DenseVector<Real> _no;
63
66};
Crystal plasticity slip rate userobject class The virtual functions written below must be over-ridden...
Real _slip_incr_tol
Slip increment tolerance.
std::string _slip_sys_file_name
File should contain slip plane normal and direction.
unsigned int _num_slip_sys_flowrate_props
Number of slip system flow rate parameters.
std::string _slip_sys_flow_prop_file_name
File should contain values of the flow rate equation parameters.
virtual void calcFlowDirection(unsigned int qp, std::vector< RankTwoTensor > &flow_direction) const =0
virtual bool calcSlipRateDerivative(unsigned qp, Real dt, std::vector< Real > &val) const =0
static InputParameters validParams()
unsigned int _num_slip_sys_props
Number of slip system specific properties provided in the file containing slip system normals and dir...
const MaterialProperty< RankTwoTensor > & _crysrot
Crystal rotation.
virtual bool calcSlipRate(unsigned qp, Real dt, std::vector< Real > &val) const =0
Crystal plasticity system userobject base class.
const InputParameters & parameters() const