Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
1D, ODE involving lagrange multiplier and "Failed to evaluate variable Jacobian"
Posted 2 giu 2011, 15:36 GMT-4 Parameters, Variables, & Functions, Studies & Solvers Version 4.1 0 Replies
Please login with a confirmed email address before reporting spam
For 2D case, I can define boundary probe and used that in my ODE (global equations), however for 1D problem there are no boundary probes. I see two choices, either to define a point probe that snaps to closest point and get my p_lm/dl.rho there (flux), or to simply define model variable (flux2) for my boundary point as p_lm/dl.rho . However when I try to use either of them in ODE (with an expression for cumulative flux `cflux` like `flux-cfluxt`), I get "Failed to evaluate variable Jacobian" for mod1.p_lm if I used `flux` and for mod1.flux2 if I tried to use defined variable for my boundary point.
What would be the correct way to integrate lagrange multiplier (for prescribed point BC) over time in 1D?
Hello Mikhail Titov
Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.
If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.