CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

How to convert the surface force to volume force on the interface in VOF model?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 24, 2016, 21:57
Default How to convert the surface force to volume force on the interface in VOF model?
  #1
Member
 
Peter Aestas
Join Date: Dec 2013
Posts: 64
Rep Power: 12
aestas is on a distinguished road
Hi friends,

I am working on a arc welding problem using VOF model.

I need to convert some surface force (pressure and surface tension) to volume force on the interface and add them on the momentum equations.
In Fluent help, the volume force of surface tension that is added to the momentum equation has been given using the divergence theorem:
1.jpg

But, i do not understand why.

If i want to convert pressure to the volume force using the similar method, how to do it?
aestas is offline   Reply With Quote

Old   November 28, 2016, 02:37
Default
  #2
Member
 
KirMaks
Join Date: Aug 2016
Posts: 34
Rep Power: 9
kirmaks is on a distinguished road
Hallo,

it may be very tricky. As far as I remember from the theory, the force due to the shear is Stress*Area. You can use very thin elements aligned with the boundary and apply this force (divided with density) to the cell centres only in the first layer of the near boundary cells, but it will work if Your boundary is already known and meshed accordingly.

You never have well defined boundary with VOF, so You need to identify the boundary (phase 1 = 0.5), somehow find the cells with the melted material on this boundary and their boundary neighbours, somehow get the tangential stresses on the cells (from Lorentz force or Marangoni stress) and apply them as volumetric sources.

I'm afraid You will not get the working code for such complicated problem here.

Good Luck and regards, Maks.
kirmaks is offline   Reply With Quote

Old   November 29, 2016, 20:48
Default
  #3
Member
 
Peter Aestas
Join Date: Dec 2013
Posts: 64
Rep Power: 12
aestas is on a distinguished road
Thanks for your reply,Maks.

I am trying to use the similar method to convert other surface forces into volumetric surface force by the following equation:
1jpg.jpg

the surface forces multiplied by the gradient of VOF.(the detailed explanation was in Brackbill et al. (1992), which is also referenced by Fluent, but i have not fully understand . )

As to the free boundary, i have successfully identified it by using both the value of VOF((as you said, phase 1 >= a certain value larger than 0)) and the gradient of VOF (at the boundary the absolute value of gradient of VOF must be greater than a certain value.).By using these two conditions, the very first layer on the free boundary could be identified.





Quote:
Originally Posted by kirmaks View Post
Hallo,

it may be very tricky. As far as I remember from the theory, the force due to the shear is Stress*Area. You can use very thin elements aligned with the boundary and apply this force (divided with density) to the cell centres only in the first layer of the near boundary cells, but it will work if Your boundary is already known and meshed accordingly.

You never have well defined boundary with VOF, so You need to identify the boundary (phase 1 = 0.5), somehow find the cells with the melted material on this boundary and their boundary neighbours, somehow get the tangential stresses on the cells (from Lorentz force or Marangoni stress) and apply them as volumetric sources.

I'm afraid You will not get the working code for such complicated problem here.

Good Luck and regards, Maks.
aestas is offline   Reply With Quote

Old   February 14, 2021, 03:42
Default
  #4
New Member
 
ANOOP K UNNI
Join Date: Jun 2017
Posts: 9
Rep Power: 8
anoop.k.unni is on a distinguished road
Quote:
Originally Posted by aestas View Post
Thanks for your reply,Maks.

I am trying to use the similar method to convert other surface forces into volumetric surface force by the following equation:
Attachment 52153

the surface forces multiplied by the gradient of VOF.(the detailed explanation was in Brackbill et al. (1992), which is also referenced by Fluent, but i have not fully understand . )

As to the free boundary, i have successfully identified it by using both the value of VOF((as you said, phase 1 >= a certain value larger than 0)) and the gradient of VOF (at the boundary the absolute value of gradient of VOF must be greater than a certain value.).By using these two conditions, the very first layer on the free boundary could be identified.
Hello,
Did you find a solution for the mentioned problem. I want to know how to convert the surface to volume source term. if you know,please share
anoop.k.unni is offline   Reply With Quote

Old   March 23, 2021, 21:13
Default
  #5
Member
 
Venkat Ganesh
Join Date: May 2020
Location: Cincinnati, Ohio
Posts: 49
Rep Power: 5
Venky_94 is on a distinguished road
Quote:
Originally Posted by anoop.k.unni View Post
Hello,
Did you find a solution for the mentioned problem. I want to know how to convert the surface to volume source term. if you know,please share
Hey I'm facing the similar issue as well. I've written a UDF for the source term but I'm facing issues with handling the scalars and vectors together. Did you figure out a solution?
Venky_94 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other] mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 13 March 7, 2022 17:22
Error - Solar absorber - Solar Thermal Radiation MichaelK CFX 12 September 1, 2016 05:15
Error in Two phase (condensation) modeling adilsyyed CFX 15 June 24, 2015 19:42
On the damBreak4phaseFine cases paean OpenFOAM Running, Solving & CFD 0 November 14, 2008 21:14
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00


All times are GMT -4. The time now is 07:17.