CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   solidificationMeltingSource with compressibleInterFoam (https://www.cfd-online.com/Forums/openfoam-programming-development/187071-solidificationmeltingsource-compressibleinterfoam.html)

bmercer April 27, 2017 16:00

solidificationMeltingSource with compressibleInterFoam
 
Hi all,

I am interested doing a melting/solidification simulation with compressibleInterFoam, where there would be two phases, one solid/liquid with melting phase change capability, and one gas with no phase change capability.

Following the thread in the link below, I was able to add fvOptions to compressibleInterFoam, thereby enabling the capability to use solidificationMeltingSource with this solver:

https://www.cfd-online.com/Forums/op...ingsource.html

My problem is that fvOptions/solidificationMeltingSource is applied to the entire domain, and I want to restrict it to only portions of the domain where the solid/liquid phase fraction is > 0. I am new to programming in and working with OpenFoam, so if anyone has either big picture advice on where to start with this, or more detailed advice on what parts of the code/solvers/etc need modification, I would be very grateful to hear from you.

Thank you!

bmercer May 2, 2017 19:25

Any thoughts? Perhaps a recommendation on the right sub-forum for this question?

Thanks!

kal1943335 June 20, 2018 20:56

Hi,
I'm also interested to use melting/solidification source term with compressibleInterFoam. Just wondering whether you managed to use it successfully.

Thank you.
Kalpana

Quote:

Originally Posted by bmercer (Post 646860)
Hi all,

I am interested doing a melting/solidification simulation with compressibleInterFoam, where there would be two phases, one solid/liquid with melting phase change capability, and one gas with no phase change capability.

Following the thread in the link below, I was able to add fvOptions to compressibleInterFoam, thereby enabling the capability to use solidificationMeltingSource with this solver:

https://www.cfd-online.com/Forums/op...ingsource.html

My problem is that fvOptions/solidificationMeltingSource is applied to the entire domain, and I want to restrict it to only portions of the domain where the solid/liquid phase fraction is > 0. I am new to programming in and working with OpenFoam, so if anyone has either big picture advice on where to start with this, or more detailed advice on what parts of the code/solvers/etc need modification, I would be very grateful to hear from you.

Thank you!


mikulo June 24, 2022 04:54

Quote:

Originally Posted by kal1943335 (Post 696691)
Hi,
I'm also interested to use melting/solidification source term with compressibleInterFoam. Just wondering whether you managed to use it successfully.

Thank you.
Kalpana

Hello,

fvOptions will not work in compressibleInterFoam, you need to make your own similar to compressibleInterFilmFoam.

Regards,
Mike


All times are GMT -4. The time now is 23:58.