Can Global Equations (ODEs) effect boundary conditions?

Please login with a confirmed email address before reporting spam

Hello!

Can Global Equations (ODEs) effect boundary conditions??

In 1D (time-dependent): I have a (pointwise constraint) boundary condition, which sets the dependent variable V to zero. (It's grounding or short-circuiting, because its an electric context.) But this boundary condition doesn't work anymore. V takes values unequal to 0.

I have to add a second equation in ODE, where the value is unequal to zero or the change dt or dt² must be zero, to make the boundary condition work again. This second equation is not used somewhere, but helps. Kind of workaround.

Is there a more complex relationship between ODEs and boundary conditions (or constraints or constraint forces) in the background, even if the ODE equation and the boundary condition is not direct or not handedly (by hand) coupled?? Has such a background relationship maybe something to do with "Apply reactions terms on: All physics"??

For now it seems like a bug.

Nice Greetings


2 Replies Last Post Apr 17, 2025, 7:30 a.m. EDT
Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 2 days ago Apr 16, 2025, 5:22 p.m. EDT
Updated: 2 days ago Apr 16, 2025, 5:27 p.m. EDT

Hello Sebastian,

Consider uploading your .mph files. As always, it's hard to understand what you did without seeing what you did.

Best,

Jeff

-------------------
Jeff Hiller
Hello Sebastian, Consider uploading your .mph files. As always, it's hard to understand what you did without seeing what you did. Best, Jeff

Please login with a confirmed email address before reporting spam

Posted: 2 days ago Apr 17, 2025, 7:30 a.m. EDT

I have put the ODE in his own segregated step to avoid any unwanted background coupling. This feels less like a workaround.

Nice greetings

I have put the ODE in his own segregated step to avoid any unwanted background coupling. This feels less like a workaround. Nice greetings

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.