Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mgis.fenics] Error in the implementation of the phase-field behaviour #76

Open
thelfer opened this issue Dec 7, 2021 · 0 comments
Open
Assignees
Labels
bug Something isn't working mgis.fencis Anything related to the `mgis.fencis` python module

Comments

@thelfer
Copy link
Owner

thelfer commented Dec 7, 2021

Hi @bleyerj,

Looks like there is something wrong in the implementation of the phase-field behaviour as the History function is taken at the beginning of the time step and not the end as it should.

@Integrator {
  // remove useless warnings, as we always compute the tangent operator
  static_cast<void>(computeTangentOperator_);
  ∂q∕∂Δg = Gc*l₀* tmatrix<N, N, real>::Id();
  ∂Y∕∂Δd = Gc/l₀+2*H;
  q = Gc*l₀*(g+Δg);
  Y = ∂Y∕∂Δd ⋅ (d+Δd)-2*H;
}

shall be:

@Integrator {
  // remove useless warnings, as we always compute the tangent operator
  static_cast<void>(computeTangentOperator_);
  const auto H_tdt = H+dH;
  ∂q∕∂Δg = Gc*l₀* tmatrix<N, N, real>::Id();
  ∂Y∕∂Δd = Gc/l₀+2*H_tdt;
  q = Gc*l₀*(g+Δg);
  Y = ∂Y∕∂Δd ⋅ (d+Δd)-2*H_tdt;
}
@thelfer thelfer added bug Something isn't working mgis.fencis Anything related to the `mgis.fencis` python module labels Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working mgis.fencis Anything related to the `mgis.fencis` python module
Projects
None yet
Development

No branches or pull requests

2 participants