cp_ref in phase change modelling
› Forums › OpenLB › General Topics › cp_ref in phase change modelling
- This topic has 4 replies, 2 voices, and was last updated 2 years, 7 months ago by Mike.
-
AuthorPosts
-
May 11, 2023 at 5:14 am #7454MikeParticipant
Hello everyone,
I have conducted a test on the example “stefanmelting2d” in olb-1.4 and discovered that the value of “cp_ref” has a significant impact on the simulation results. However, the paper titled “Phase interface effects in the total enthalpy-based lattice Boltzmann model for solid-liquid phase change,” which is referenced in “stefanmelting2d.cpp,” states that the choice of “cp_ref” can be arbitrary. I attempted to change the value of “cp_ref” both in “stefanmelting2d.cpp” and in the constructor function of the “TotalEnthalpyAdvectionDiffusionBGKdynamics” class. While both simulations converged, the results differed from each other.
Can anyone assist me in resolving this issue? Thank you for your help in advance.
Best regards,
MikeMay 11, 2023 at 8:19 am #7456mathiasKeymasterI guess it is a parameter to conrol stability on the cost of accuracy.
May 11, 2023 at 8:38 am #7457MikeParticipantHello Mathias,
Thanks for your reply! From the perspective of results, “cp_ref” seems to have a serious impact on the simulation accuracy. And the paper mentioned above also mentioned that value of “cp_ref” affects the numerical stability. But when I look into the introduction process of “cp_ref”, it seems that “cp_ref” can be eliminated finally, which may not affect the accuracy of results.
I am uncertain if I have misunderstood this, and I look forward to your response!
Best regards,
MikeMay 11, 2023 at 9:21 am #7458mathiasKeymasterYou could also look in the previous paper, I mean the ones before ours.. We also did compare our results to a non-LBM approach. So we have some evidence..
May 11, 2023 at 9:52 am #7459MikeParticipantHello Mathias,
Thank you for your reply again! I understand that stafanmelting2d is a benchmark case that can be compared with non-LBM approaches to demonstrate the capabilities of the current LBM method, and the results match very well.
However, when I developed another self-coded program concerning phase change and used the harmonic mean value for “cp_ref,” the simulation diverged. On the other hand, when I used “cp_s” for “cp_ref,” the simulation converged. Interestingly, the simulation diverged regardless of whether “cp_ref” was larger or smaller than “cp_s.”
Therefore, if “cp_ref” affects the accuracy, I may need to conduct a verification experiment. This is why I want to figure this out.
Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.
