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.
How to solve PDE with dependent variable?
Posted Mar 8, 2018, 2:01 a.m. EST Structural & Acoustics, Interfacing, Heat Transfer & Phase Change, Heat Transfer, COMSOL Server, Materials, Modeling Tools & Definitions, Structural Mechanics 0 Replies
Please login with a confirmed email address before reporting spam
Hi, all,
I am trying to solve two PDEs regarding phase field.
The common PDEs include one equation related to phi and another related to chemical composition (c). Here, I non-dimensionlized the composition by using U=U(c,phi), so U is a function related to c and phi.
Now the question is how I set U expression. Because when I set U as a variable with the expression, when I tried to solve the 2nd PDE, there were two problems. Fristly, since I have not defined c, the U expression is actually in orange color (warining). Secondly, since I already define U as a variable, while in the PDE, I have to set U as the dependent variable to solve PDE, and the error (duplicate variable) shows.
So how do I set U to let the PDE solver knows that U is a function of phi and c, and I am actually trying to solve c.
Thanks, Xing
Hello Xing Zhang
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.