Hello Junxiang Shi
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.
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
Nov 14, 2012, 7:31 p.m. EST
Hi Junxiang.
did you manage to solve the problem? I am stuck with the same issue. I really cannot figure out the concept of weak form, and I don't know how should I change the source term if I want to solve the boiling water problem with level set instead of phase field.
If you have resolved the situation, I appreciate if you could share your solution to this problem.
regards,
Shawn
Hi Junxiang.
did you manage to solve the problem? I am stuck with the same issue. I really cannot figure out the concept of weak form, and I don't know how should I change the source term if I want to solve the boiling water problem with level set instead of phase field.
If you have resolved the situation, I appreciate if you could share your solution to this problem.
regards,
Shawn
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
Nov 19, 2012, 11:36 a.m. EST
Nope, I am still stuck on this problem.
I tried to get the source term according my understanding of Weak Form. But I failed.
Weak form is powerful, but not easy to use. :(
I have another problem on the phase change simulation in COMSOL.
Whatever Phase Change Field and Level Set Method, an interface is necessary to start the simulation, which means an initial bubble or droplet has to be patched.
If I am not interested in the heterogeneous boiling, but the homogeneous boiling process, COMSOL cannot help me, so I go back to FLUENT again.
What a pity!
If anyone has experience on this topic and share here, I will appreciate.
Nope, I am still stuck on this problem.
I tried to get the source term according my understanding of Weak Form. But I failed.
Weak form is powerful, but not easy to use. :(
I have another problem on the phase change simulation in COMSOL.
Whatever Phase Change Field and Level Set Method, an interface is necessary to start the simulation, which means an initial bubble or droplet has to be patched.
If I am not interested in the heterogeneous boiling, but the homogeneous boiling process, COMSOL cannot help me, so I go back to FLUENT again.
What a pity!
If anyone has experience on this topic and share here, I will appreciate.
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
Apr 4, 2013, 10:55 p.m. EDT
Hello,
I am in the same situation Junxiang was in originally. I am reading up on both phase field and level set theory to try and reformulate the boiling water problem and run it using the Level Set method. The major confusion for me is the usage of the weak expression (mostly the usage of the test functions).
I greatly appreciate it if you could let me know what exactly needed to be altered to run it effectively using Level Set.
Thanks,
Alex
Hello,
I am in the same situation Junxiang was in originally. I am reading up on both phase field and level set theory to try and reformulate the boiling water problem and run it using the Level Set method. The major confusion for me is the usage of the weak expression (mostly the usage of the test functions).
I greatly appreciate it if you could let me know what exactly needed to be altered to run it effectively using Level Set.
Thanks,
Alex
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
Jul 31, 2013, 8:24 a.m. EDT
Hello,
I am in the same situation Junxiang was in originally. I am reading up on both phase field and level set theory to try and reformulate the boiling water problem and run it using the Level Set method. The major confusion for me is the usage of the weak expression (mostly the usage of the test functions).
I greatly appreciate it if you could let me know what exactly needed to be altered to run it effectively using Level Set.
Thanks,
Alex
Hello,
I am trying to simulate boiling water in a sealed pipe in 0.1 atm pressure. Not yet successful with Comsol. Anybody knows how to do it?
--
mep
[QUOTE]
Hello,
I am in the same situation Junxiang was in originally. I am reading up on both phase field and level set theory to try and reformulate the boiling water problem and run it using the Level Set method. The major confusion for me is the usage of the weak expression (mostly the usage of the test functions).
I greatly appreciate it if you could let me know what exactly needed to be altered to run it effectively using Level Set.
Thanks,
Alex
[/QUOTE]
Hello,
I am trying to simulate boiling water in a sealed pipe in 0.1 atm pressure. Not yet successful with Comsol. Anybody knows how to do it?
--
mep
Please login with a confirmed email address before reporting spam
Posted:
9 years ago
Apr 22, 2015, 4:28 a.m. EDT
Hi
I had exactly the same problem than you, I mean, I couldn´t understand why they used these test functions in particular. I contacted with the support service and they helped me with this.
If you take a look to the weak expressions (Fluid properties->equation view), at the bottom, you can see how the equations are implemented in the weak form. For instance, the continuity equation,
![](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAARCAQAAADKrBJAAAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAAAHgAAAB4AJ31WmAAAAAHdElNRQfoCAoNCSJldPEUAAABc0lEQVRIx82W4V2DMBDF//HXBVghjhBHiCPoCKzQjoAj0BHqCGGEMoKMQEd4fqBACqHa1qqXD/ySHHcvL/cOjPg/9vDXAGJbdQ9TnPGpVP0qGDJyGpqEh2N7j8Qmo8BxwFKzUZdZCIFFBDEdZBTz1dsHGXs+yIQg0GKFGLdLhJ+9VHRuPw6mQP0xeUGUp2AS3NyLF8F+PDoe0Z6ASXEz8oIjEPrTEAi0twBFERiHEE5DAQO8kbOmikqMY2Gh2rwS+h09m0CWKEqXWgUOqpdLWbXpJBSDUWO25MYPQl7HOtLBHKIINT4R92Ux4xkwo61OZhE3MS/fNW0u85/aSQdWwxZv/JyXe5oZOF5Ndo7cXMMLmPVCzcw5a7ATj2oGpq8b/Be8uORqtQQm4ZnjR7Hw3qWfis4iQkq27AZpO9qxaV0lbUvbdzV2vczN/BfClOQ8zi/JWMroS7UGaj1depVDNMeOhhqLY6M0MwJ7r76byORx4/wTNy7O8c/bANEAAAAtdEVYdGljYzpjb3B5cmlnaHQAQ29weXJpZ2h0IEFydGlmZXggU29mdHdhcmUgMjAxMQi6xbQAAAAxdEVYdGljYzpkZXNjcmlwdGlvbgBBcnRpZmV4IFNvZnR3YXJlIHNSR0IgSUNDIFByb2ZpbGUTDAGGAAAAIXRFWHRwczpIaVJlc0JvdW5kaW5nQm94ADQyeDEwKzI4NCs2MznN+jJhAAAAHnRFWHRwczpMZXZlbABQUy1BZG9iZS0yLjAgRVBTRi0yLjBB+TMTAAAAAElFTkSuQmCC)
, is implemented as -tpf.divu*test(p), where tpf.divu=ux+vy. Notice, that the test function is the pressure, so if you want to add a weak contribution to this expression, you shoud have to multiply by the same test functions. For this reason, when you try with another test funtion, you get so different results.
Best regards
Hi
I had exactly the same problem than you, I mean, I couldn´t understand why they used these test functions in particular. I contacted with the support service and they helped me with this.
If you take a look to the weak expressions (Fluid properties->equation view), at the bottom, you can see how the equations are implemented in the weak form. For instance, the continuity equation, [math]\nabla \bf{u}=0[/math], is implemented as -tpf.divu*test(p), where tpf.divu=ux+vy. Notice, that the test function is the pressure, so if you want to add a weak contribution to this expression, you shoud have to multiply by the same test functions. For this reason, when you try with another test funtion, you get so different results.
Best regards
Please login with a confirmed email address before reporting spam
Posted:
8 years ago
Jul 13, 2016, 1:11 a.m. EDT
Hi ,
This might be stupid question but could anyone help me to evaluate Delta interface function for level set with expression just as how it was described for phase field in boiling water example
Delta = 6*tpf.Vf2*(1-tpf.Vf2)*0.5*sqrt(phipfx^2+phipfy^2+eps) .
I am little confused .
Delta =6*sqrt(phils-phlils^2+eps)*sqrt(philsx^2+philsy^2+eps).
can anyone tell me if the above expression is right or wrong .
Hi ,
This might be stupid question but could anyone help me to evaluate Delta interface function for level set with expression just as how it was described for phase field in boiling water example
Delta = 6*tpf.Vf2*(1-tpf.Vf2)*0.5*sqrt(phipfx^2+phipfy^2+eps) .
I am little confused .
Delta =6*sqrt(phils-phlils^2+eps)*sqrt(philsx^2+philsy^2+eps).
can anyone tell me if the above expression is right or wrong .