ComputeStressBase is the base class for stress tensors computed from MOOSE's strain calculators.
FiniteStrainUObasedCP uses the multiplicative decomposition of deformation gradient and solves the PK...
std::vector< const CrystalPlasticitySlipRate * > _uo_slip_rates
User objects that define the slip rate.
RankFourTensor _jac
Jacobian tensor.
MaterialProperty< RankTwoTensor > & _lag_e
virtual void postSolveStress()
update stress and plastic deformation gradient after solve.
std::vector< MaterialProperty< std::vector< Real > > * > _mat_prop_state_vars
State variable material property.
virtual void postSolveQp()
update stress and internal variable after solve.
virtual void calcResidual()
calculate stress residual.
virtual void solveStress()
solves for stress, updates plastic deformation gradient.
const MaterialProperty< RankTwoTensor > & _crysrot
Crystal rotation.
std::vector< std::vector< Real > > _state_vars_old
Local state variable.
virtual void getSlipRates()
updates the slip rates.
Real _dfgrd_scale_factor
Scales the substepping increment to obtain deformation gradient at a substep iteration.
static InputParameters validParams()
MaterialProperty< RankTwoTensor > & _update_rot
virtual void computeQpStress()
updates the stress at a quadrature point.
unsigned int _num_uo_slip_resistances
Number of slip resistance user objects.
virtual void calcJacobian()
calculate jacobian.
const MaterialProperty< RankFourTensor > & _elasticity_tensor
Elasticity tensor material property.
virtual void calcResidJacob()
calls the residual and jacobian functions used in the stress update algorithm.
virtual void elastoPlasticTangentModuli()
calculate the exact tangent moduli for preconditioner.
unsigned int _maxiterg
Maximum number of iterations for internal variable update.
virtual void preSolveStatevar()
set variables for internal variable solve.
std::vector< const CrystalPlasticityStateVarRateComponent * > _uo_state_var_evol_rate_comps
User objects that define the state variable evolution rate component.
RankTwoTensor _delta_dfgrd
Used for substepping; Uniformly divides the increment in deformation gradient.
virtual void calcTangentModuli()
calculate the tangent moduli for preconditioner.
unsigned int _max_substep_iter
Maximum number of substep iterations.
virtual void solveStatevar()
solve internal variables.
bool _err_tol
Flag to check whether convergence is achieved.
const MaterialProperty< RankTwoTensor > & _fp_old
MooseEnum _lsrch_method
Line search method.
Real _min_lsrch_step
Minimum line search step size.
RankTwoTensor _dfgrd_tmp_old
const MaterialProperty< RankTwoTensor > & _pk2_old
MooseEnum _tan_mod_type
Type of tangent moduli calculation.
std::vector< const MaterialProperty< std::vector< Real > > * > _mat_prop_state_vars_old
Old state variable material property.
MaterialProperty< RankTwoTensor > & _pk2
RankTwoTensor _fp_old_inv
std::vector< MaterialProperty< std::vector< Real > > * > _mat_prop_slip_rates
Slip rates material property.
std::vector< MaterialProperty< std::vector< RankTwoTensor > > * > _flow_direction
Real _rtol
Stress residual equation relative tolerance.
virtual void preSolveQp()
set variables for stress and internal variable solve.
const MaterialProperty< RankTwoTensor > & _deformation_gradient_old
virtual bool isStateVariablesConverged()
evaluates convergence of state variables.
std::vector< std::vector< Real > > _state_vars_prev
Local old state variable.
virtual void updateSlipSystemResistanceAndStateVariable()
updates the slip system resistances and state variables.
bool _use_line_search
Flag to activate line serach.
Real _substep_dt
Current substep size.
std::vector< const CrystalPlasticitySlipResistance * > _uo_slip_resistances
User objects that define the slip resistance.
std::vector< const CrystalPlasticityStateVariable * > _uo_state_vars
User objects that define the state variable.
const MaterialProperty< RankTwoTensor > & _deformation_gradient
virtual void postSolveStatevar()
update internal variable after solve.
bool lineSearchUpdate(const Real rnorm_prev, const RankTwoTensor)
performs the line search update
unsigned int _num_uo_state_vars
Number of state variable user objects.
virtual void preSolveStress()
set variables for stress solve.
virtual void solveQp()
solve stress and internal variables.
std::vector< MaterialProperty< std::vector< Real > > * > _mat_prop_slip_resistances
Slip resistance material property.
std::vector< MaterialProperty< std::vector< Real > > * > _mat_prop_state_var_evol_rate_comps
State variable evolution rate component material property.
Real _lsrch_tol
Line search bisection method tolerance.
Real _zero_tol
Residual tolerance when variable value is zero. Default 1e-12.
std::vector< std::vector< Real > > _state_vars_old_stored
Local stored state variable (for sub-stepping)
virtual void elasticTangentModuli()
calculate the elastic tangent moduli for preconditioner.
Real _abs_tol
Stress residual equation absolute tolerance.
MaterialProperty< RankTwoTensor > & _fp
const std::string _elasticity_tensor_name
Name of the elasticity tensor material property.
const MaterialProperty< RankTwoTensor > & _update_rot_old
unsigned int _num_uo_slip_rates
Number of slip rate user objects.
RankTwoTensor _resid
Residual tensor.
virtual void initQpStatefulProperties()
initializes the stateful properties such as stress, plastic deformation gradient, slip system resista...
unsigned int _maxiter
Maximum number of iterations for stress update.
Real _stol
Internal variable update equation tolerance.
unsigned int _lsrch_max_iter
Line search bisection method maximum iteration number.
unsigned int _num_uo_state_var_evol_rate_comps
Number of state variable evolution rate component user objects.