Volume of Fluid (VOF) CS6.0_beta

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
Simbelmyne
Posts: 4
Joined: Tue Jun 18, 2019 11:26 pm

Volume of Fluid (VOF) CS6.0_beta

Post by Simbelmyne »

Hi,

I wonder if anyone can point me in the direction of how to activate the VOF module in CS? I can't seem to find the place in the GUI and Google is not my friend it seems.

Thank you!
Luciano Garelli
Posts: 280
Joined: Fri Dec 04, 2015 1:42 pm

Re: Volume of Fluid (VOF) CS6.0_beta

Post by Luciano Garelli »

Hello,

To activate VOF you have to set the variable ivofmt = 0 using the cs_user_parameters.f90 routine and the void fraction is store in the ivolf2 array.

Additionally, you can check this post

https://github.com/code-saturne/code_saturne/issues/28

Regards,

Luciano
Simbelmyne
Posts: 4
Joined: Tue Jun 18, 2019 11:26 pm

Re: Volume of Fluid (VOF) CS6.0_beta

Post by Simbelmyne »

Thank you for your quick reply!

Do I need to recompile some files in order for this to work? Will it show up as an option in the GUI if turned on or is this only for non-GUI cases?
Luciano Garelli
Posts: 280
Joined: Fri Dec 04, 2015 1:42 pm

Re: Volume of Fluid (VOF) CS6.0_beta

Post by Luciano Garelli »

Hello,

You have to set using user functions and you don't need to recompile CS. When you add an user function in the SRC directory it is compile when you launch CS.

You can check in the listing if VOF is activated.

Regards,

Luciano
Post Reply