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.
Sharing variables across physics elements
Posted 3 avr. 2020, 08:03 UTC−4 General, Computational Fluid Dynamics (CFD), Simulation Apps 0 Replies
Please login with a confirmed email address before reporting spam
Apologies for what is probably a fairly basic question:
I am solving laminar flow and also a Domain ODE. I want to use the T_stressy variable from the laminar flow solution as a source term in the ODE. I can use 'p', 'u', 'v', 'w' etc as source term no problem. I can also use comp1.spf.U but I cant use spf.T_stressy which is the variable I need. When I enter the equation in the text box the text is black, units accepted ok. Just when I run the analysis I get an error message saying Undefined variable - Variable: comp1.spf.T_stressy. What do I need to do to get the Domain ODE to accept the spf variable?
I am trying to use the drag force from a previous time step in my calculation. I understand I need to set up the ODE so I can use the prev command? All seems rather overcomplex to me as a new comsol user.
Hello Tim Tilford
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.