https://mooseframework.inl.gov
Loading...
Searching...
No Matches
CappedWeakPlaneStressUpdate_PartiallyImplemented.C
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
11
12#include "libmesh/utility.h"
13
15
18{
21 "Physically, this is just CappedWeakPlaneStressUpdate, but the code uses "
22 "TwoParameterPlasticityStressUpdate::consistentTangentOperator instead of the optimised one "
23 "in CappedWeakPlaneStressUpdate. The purpose is to show that the "
24 "TwoParameterPlasticityStressUpdate algorithm is correct, although slow.");
25 return params;
26}
27
33
34void
36 const RankTwoTensor & stress_trial,
37 Real p_trial,
38 Real q_trial,
39 const RankTwoTensor & stress,
40 Real p,
41 Real q,
42 Real gaE,
43 const yieldAndFlow & smoothed_q,
44 const RankFourTensor & Eijkl,
45 bool compute_full_tangent_operator,
46 RankFourTensor & cto) const
47{
49 p_trial,
50 q_trial,
51 stress,
52 p,
53 q,
54 gaE,
55 smoothed_q,
56 Eijkl,
57 compute_full_tangent_operator,
58 cto);
59}
registerMooseObject("SolidMechanicsTestApp", CappedWeakPlaneStressUpdate_PartiallyImplemented)
const Real p
Just like CappedWeakPlaneStressUpdate, but uses the base class, TwoParameterPlasticityStressUpdate::c...
virtual void consistentTangentOperator(const RankTwoTensor &stress_trial, Real p_trial, Real q_trial, const RankTwoTensor &stress, Real p, Real q, Real gaE, const yieldAndFlow &smoothed_q, const RankFourTensor &Eijkl, bool compute_full_tangent_operator, RankFourTensor &cto) const override
Calculates the consistent tangent operator.
CappedWeakPlaneStressUpdate performs the return-map algorithm and associated stress updates for plast...
void addClassDescription(const std::string &doc_string)
virtual void consistentTangentOperator(const RankTwoTensor &stress_trial, Real p_trial, Real q_trial, const RankTwoTensor &stress, Real p, Real q, Real gaE, const yieldAndFlow &smoothed_q, const RankFourTensor &Eijkl, bool compute_full_tangent_operator, RankFourTensor &cto) const
Calculates the consistent tangent operator.
Struct designed to hold info about a single yield function and its derivatives, as well as the flow d...