We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.

Ansys Learning Forum Forums Discuss Simulation Fluids How to get the applied surface tension with the CSF model ? Reply To: How to get the applied surface tension with the CSF model ?

sfaron
Subscriber

Hi Rob,

Thanks for your reply ! I tried to have a look in the header files and found two files where variables related to surface tension were mentioned, notably SV_BF_SURF_TENS in ./src/storage/storage.h, in the same list where SV_VOF_RG or SV_VOF_G are mentioned, which I also use in my UDF to get the VOF gradients after allocating storage.

As it is no documented variable, I was wondering if yet you could help regarding which thread contains the cell where the surface tension force is applied, in a two-phase multiphase flow problem ? As I tried to use this SV_BF_SURF_TENS variable but only got errors, such as "called object is not a function or function pointer" or SIGSEGV errors, after trying to allocate storage the same way I did for the VOF gradients, or using T_STORAGE_R_NV(t, SV_BF_SURF_TENS(pt))

Thanks a lot !


Â