Skip to content
Snippets Groups Projects
Commit 974113c9 authored by Ujwal Kishore Jinaga's avatar Ujwal Kishore Jinaga :clown:
Browse files

commented the numerical Derivatives for mechSrc

parent a9106e21
Branches
No related tags found
1 merge request!390AddedNumericalTangentstoCheck_dGamma_dDgamma_dCepr_dT_derivatives___PLEASEcomm...
...@@ -1394,7 +1394,7 @@ void mlawNonLinearTVP::plasticCorrector_TVP(const STensor3& F0, const STensor3& ...@@ -1394,7 +1394,7 @@ void mlawNonLinearTVP::plasticCorrector_TVP(const STensor3& F0, const STensor3&
corKir_e = q1->_kirchhoff; corKir_e = q1->_kirchhoff;
const STensor3& KS = q1->_kirchhoff; const STensor3& KS = q1->_kirchhoff;
const STensor3& DcorKirDT_TVEcorrection = q1->_DcorKirDT; // Get the corrected value directly from TVE // const STensor3& DcorKirDT_TVEcorrection = q1->_DcorKirDT; // Get the corrected value directly from TVE
getModifiedMandel(Ce, q0, q1); // update Mandel getModifiedMandel(Ce, q0, q1); // update Mandel
const STensor3& MS = q1->_ModMandel; const STensor3& MS = q1->_ModMandel;
...@@ -2289,13 +2289,14 @@ void mlawNonLinearTVP::predictorCorrector_TVP_nonAssociatedFlow(const STensor3& ...@@ -2289,13 +2289,14 @@ void mlawNonLinearTVP::predictorCorrector_TVP_nonAssociatedFlow(const STensor3&
this->getYieldCoefficientDerivatives(q1,q1->_nup,Da); this->getYieldCoefficientDerivatives(q1,q1->_nup,Da);
/*
// DEBUG FLE // DEBUG FLE
double a0 = a(0); double a0 = a(0);
double a1 = a(1); double a1 = a(1);
double a2 = a(2); double a2 = a(2);
double da0 = Da(0); double da0 = Da(0);
double da1 = Da(1); double da1 = Da(1);
double da2 = Da(2); double da2 = Da(2);*/
dfdDgamma = Da(2)*pow(PhiEq,_n) - Da(1)*ptilde -Da(0); dfdDgamma = Da(2)*pow(PhiEq,_n) - Da(1)*ptilde -Da(0);
dfdDgamma += a(2)*_n*pow(PhiEq,(_n-1.))*He - a(1)*Hp; dfdDgamma += a(2)*_n*pow(PhiEq,(_n-1.))*He - a(1)*Hp;
...@@ -3311,7 +3312,7 @@ void mlawNonLinearTVP::predictorCorrector_TVP_nonAssociatedFlow(const STensor3& ...@@ -3311,7 +3312,7 @@ void mlawNonLinearTVP::predictorCorrector_TVP_nonAssociatedFlow(const STensor3&
// mechSourceTVP derivatives // mechSourceTVP derivatives
/*
// Numerical Derivatives // Numerical Derivatives
double T_plus(0.), Wm_TVE_plus(0.), Wm_TVP_plus(0.), dWm_TVEdT_plus(0.), dWm_TVPdT_plus(0.), DKDTsum_plus(0.), DGDTsum_plus(0.); double T_plus(0.), Wm_TVE_plus(0.), Wm_TVP_plus(0.), dWm_TVEdT_plus(0.), dWm_TVPdT_plus(0.), DKDTsum_plus(0.), DGDTsum_plus(0.);
static STensor3 F_plus, Kepr_plus, Mepr_plus, Ke_plus, Me_plus, N_plus, P_plus, DphiPDF_plus, dWm_TVEdF_plus, dWm_TVPdF_plus; static STensor3 F_plus, Kepr_plus, Mepr_plus, Ke_plus, Me_plus, N_plus, P_plus, DphiPDF_plus, dWm_TVEdF_plus, dWm_TVPdF_plus;
...@@ -3342,7 +3343,7 @@ void mlawNonLinearTVP::predictorCorrector_TVP_nonAssociatedFlow(const STensor3& ...@@ -3342,7 +3343,7 @@ void mlawNonLinearTVP::predictorCorrector_TVP_nonAssociatedFlow(const STensor3&
dWm_TVEdF_plus(i,j) = (Wm_TVE_plus - Wm_TVE)/_perturbationfactor; dWm_TVEdF_plus(i,j) = (Wm_TVE_plus - Wm_TVE)/_perturbationfactor;
dWm_TVPdF_plus(i,j) = (Wm_TVP_plus - Wm_TVP)/_perturbationfactor; dWm_TVPdF_plus(i,j) = (Wm_TVP_plus - Wm_TVP)/_perturbationfactor;
} }
} }*/
// conversion tensor for mechSourceTVE Terms // conversion tensor for mechSourceTVE Terms
static STensor43 DCeDFe, DEeDFe; static STensor43 DCeDFe, DEeDFe;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment