phase change comparison elmer/Comsol

Numerical methods and mathematical models of Elmer
raback
Site Admin
Posts: 3774
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: phase change comparison elmer/Comsol

Post by raback »

Hi,

What looks suspicious is that you have two times pressure in the vtu file. Sharing the sif file could help.

-Peter
alexbrown
Posts: 24
Joined: 14 Jul 2020, 11:03
Antispam: Yes

Re: phase change comparison elmer/Comsol

Post by alexbrown »

Hi Peter,

I just used the sif file and mesh posted in this thread for analysis. See attached.
raback wrote: 31 Jul 2020, 23:12 Hi,

What looks suspicious is that you have two times pressure in the vtu file. Sharing the sif file could help.

-Peter
Attachments
solidliquid2.sif
(6.95 KiB) Downloaded 28 times
raback
Site Admin
Posts: 3774
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: phase change comparison elmer/Comsol

Post by raback »

Just take away the "Scalar Field i" and "Vector Field i" keywords. Or alternatively start them from one. Now you confuse the code which automatically creates the keywords if the case i==1 is not found. -Peter
annier
Posts: 1141
Joined: 27 Aug 2013, 13:51
Antispam: Yes

Re: phase change comparison elmer/Comsol

Post by annier »

Dear Alex,
In general, if there are not any specific advanced requirements of the postprocessing, a simple keyword Post File = filename.vtu in Simulation block would be sufficient to produce a result output in .vtu format. This keyword can be used instead of the Result Output solver (solver 5 in the solidliquid2.sif).

Code: Select all

Simulation
...
Post File = phasechange.vtu ! This keyword performs the similar results of the Result Ouput solver to bring output in vtu format

End


Yours Sincerely,
Anil Kunwar
Anil Kunwar
Department of Materials Engineering, KU Leuven, Belgium
Post Reply