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.
Use previous time step value for user-defined variable calculation
Posted 7 juin 2024, 08:01 UTC−4 Modeling Tools & Definitions, Equation-Based Modeling, Modeling Workflow Version 5.6 0 Replies
Please login with a confirmed email address before reporting spam
Hello everyone, I'm currently having some difficulties with an apparently simple task:
I have two user defined variables, A and B, one dependent on the other (circular dependency). I believe the best way to solve this is by calculating A using the value of B from the previous time step: A = prev(B,1). However, it is still flagging up a circular dependency issue. Is there any better way to do this? I am including 'previous solution' in the solver configuration.
Thanks, Javier
Hello Javier
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.