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.
Issue in solving for variables in a two-study problem
Posted May 2, 2024, 2:40 p.m. EDT Heat Transfer, Modeling Tools & Definitions, Results & Visualization, Studies & Solvers, Modeling Workflow Version 6.0 0 Replies
Please login with a confirmed email address before reporting spam
Hello all!
I am working on a heat transfer problem that requires me to calculate a variable (let's call it X, defined in "Variables 1") as the first step. X is defined as f(Y), where Y is a state variable (defined in "State Variables 1") that is being updated after each timestep. In the second step, I need to use the last value of the variable X in the physics and solve again. Which means that the variables should not be solved for in the second step.
I am implementing a two study scheme, where in study 1, I run the physics while computing X and Y. In study 2, I am disabling "Variables 1" and "State Variables 1", and setting the values of the variables not computed for through the previous solution. When I run this, the first study runs successfully, but the second study throws an error saying variable X is not defined. I understand that this might be because I am disabling the variables in the study, but I am not sure how else to not solve for the variable and state variable in the second study, while still using the last stored values.
Would be of great help if anyone can guide me to implement it properly.
Thanks!
Hello Sayee Srikarah Volaity
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.