lucasmyers97 / maier-saupe-lc-hydrodynamics

Work at University of Minnesota using finite element methods to simulate hydrodynamics of liquid crystals with a Maier-Saupe field theory free energy
4 stars 0 forks source link

Fix matrix assembly to accommodate convex-splitting and semi-implicit for both Ball-Majumdar and Landau-de Gennes #48

Closed lucasmyers97 closed 1 year ago

lucasmyers97 commented 1 year ago

I've got a weird thing going on in the code right now where if I choose semi-implicit time-stepping, it automatically chooses the Ball-Majumdar free energy. This is confusing because it appears that you can choose Landau-de Gennes free energy no matter what, so I got thrown off by that. Need to fix, and that'll just require generating the assembly functions for each.

Should also put assembly functions in a different file because they are very ugly.

lucasmyers97 commented 1 year ago

Fixed in commit ea2d1f9 so that the use can choose any of the Q-tensor model + time-discretization pairs that are available.