Author Topic: Global Equations with Sparse Solver  (Read 11096 times)

epn

  • Jr. Member
  • **
  • Posts: 12
Global Equations with Sparse Solver
« on: September 29, 2023, 11:03:50 AM »
Dear All,

I have recently started using global equations to apply a constraint on the average of a field over the whole finite-element domain, which works for iterative solver. However, when I have a global equations, sparse solver (dire,spar) does not work, meaning it does not converge. If I would like to fix this problem, where in the source code should I take a look at? I am using FEAP8.6.

Is it possible to partition the problem into two parts and solve the global constraints in a staggered manner?

Thanks for any input in advance.

Prof. S. Govindjee

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 1164
Re: Global Equations with Sparse Solver
« Reply #1 on: September 29, 2023, 11:40:03 AM »
How have your implemented you global constraint?

epn

  • Jr. Member
  • **
  • Posts: 12
Re: Global Equations with Sparse Solver
« Reply #2 on: September 29, 2023, 01:17:58 PM »
I apply the constraint using a Lagrange multiplier as discussed in the programmers manual in Sec. 5.11 ("Global constraints on elements"). I have a user element where I add the terms associated with the constraint in the suitable locations of the element residual vector and tangent matrix. I access the Lagrange multiplier from ulg(*) array.

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2649
Re: Global Equations with Sparse Solver
« Reply #3 on: September 29, 2023, 01:58:22 PM »
Adding the global constraint should be possible, but will involve quite a few changes. I will look a bit to see what might be the best option.

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2649
Re: Global Equations with Sparse Solver
« Reply #4 on: October 02, 2023, 06:24:14 AM »
This requires more changes than I am able to do at the present time.

epn

  • Jr. Member
  • **
  • Posts: 12
Re: Global Equations with Sparse Solver
« Reply #5 on: October 07, 2023, 12:10:53 PM »
Thank you for the respsone.