CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

volume conservation and accurate interface shape

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By mihaipruna
  • 1 Post By ybapat
  • 1 Post By micpage18

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 7, 2015, 09:59
Default volume conservation and accurate interface shape
  #1
Member
 
Join Date: Feb 2014
Posts: 34
Rep Power: 12
Prosper is on a distinguished road
Hi All,

I am trying to solve a multiphase problem in which a spherical (3D) drop deforms in a surrounding fluid under certain body&interface forces. I am using interDyMFoam to solve this problem.

To get an accurate interface shape, I let the program ran for a few steps and the interface looks OK to me. (see attached)

However, the problem is that I got none-zero velocity magnitude on the interface, even though no external forces are present. (as shown in attached plot) I don't know why this is the case. I think the interface shape is smooth enough not to induce interface tension driven velocities.

Another problem I found is that, when I run the simulation with certain body force and check the interface deformation after some time, I found that the volume of the sphere seem to be shrinking. I wonder if this is caused by the interface not being accurately captured, or some other errors?

I appreciate any comments and suggestions. Thank you!

-P
Attached Images
File Type: jpg p_ZY_t=0.5.jpg (65.3 KB, 33 views)
File Type: jpg Umagn_XY_t=0.5.jpg (17.9 KB, 30 views)
Prosper is offline   Reply With Quote

Old   May 7, 2015, 19:21
Default
  #2
Member
 
Join Date: Feb 2014
Posts: 34
Rep Power: 12
Prosper is on a distinguished road
Just want to mention that the volume change is not really large, but my calculations require much higher accuracy.
Prosper is offline   Reply With Quote

Old   May 12, 2015, 08:05
Default
  #3
Senior Member
 
Mihai Pruna
Join Date: Apr 2010
Location: Boston
Posts: 195
Rep Power: 16
mihaipruna is on a distinguished road
VOF methods suffer from interface smearing.

Check out this paper and follow the references for the interface sharpening model.
http://www.djs.si/proc/nene2011/pdf/802.pdf
Prosper likes this.
__________________
Mihai Pruna's Bio
mihaipruna is offline   Reply With Quote

Old   May 12, 2015, 09:18
Default
  #4
Senior Member
 
Yogesh Bapat
Join Date: Oct 2010
Posts: 102
Rep Power: 15
ybapat is on a distinguished road
Hello ,

If you are using surface tension these velocities can appear as a result of parasitic current. You can read about it, as it is well reported phenomenon with VOF model.

Regards,
-Yogesh
Prosper likes this.
ybapat is offline   Reply With Quote

Old   May 12, 2015, 21:59
Default
  #5
Member
 
Michael Page
Join Date: Mar 2009
Location: Quebec, Canada
Posts: 36
Rep Power: 17
micpage18 is on a distinguished road
Hi,
I had a problem similar than yours. It was with a very slow velocity at the interface and spurious currents were appearing after a some seconds. I succeed to resolve my problem by changing default schemes to linear schemes.

But, it'll probably not be sufficient for your case. Recently, they add a face-based momentum equation to help with this problem. You can give a try with the last development version via GIT.

https://github.com/OpenFOAM/OpenFOAM...777bb10a3e1dda

Good luck
Prosper likes this.
__________________
Michael Page
michael.page@simu-k.com
Simu-K inc.
www.simu-k.com
micpage18 is offline   Reply With Quote

Old   May 13, 2015, 09:42
Default
  #6
Member
 
Join Date: Feb 2014
Posts: 34
Rep Power: 12
Prosper is on a distinguished road
Quote:
Originally Posted by micpage18 View Post
Hi,
I had a problem similar than yours. It was with a very slow velocity at the interface and spurious currents were appearing after a some seconds. I succeed to resolve my problem by changing default schemes to linear schemes.

But, it'll probably not be sufficient for your case. Recently, they add a face-based momentum equation to help with this problem. You can give a try with the last development version via GIT.

https://github.com/OpenFOAM/OpenFOAM...777bb10a3e1dda

Good luck
Hi Michael,

Thanks for your reply!

I will try Weller's new method, it looks promising. I would also like to try your ways of using the linear schemes. I think most of the schemes I am using now are different forms of linear schemes . Here is my fvSchemes file (same as default):
Code:
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

ddtSchemes
{
    default         Euler;
}

gradSchemes
{
    default         Gauss linear;
}

divSchemes
{
    div(rhoPhi,U)   Gauss upwind;
    div(phi,alpha)  Gauss vanLeer;
    div(phirb,alpha) Gauss linear;
    div((muEff*dev(T(grad(U))))) Gauss linear;
}

laplacianSchemes
{
    default         Gauss linear corrected;
}

interpolationSchemes
{
    default         linear;
}

snGradSchemes
{
    default         corrected;
}

fluxRequired
{
    default         no;
    p_rgh;
    pcorr;
}
Looks like the only one that is not linear is 'snGradSchemes'. Can you tell me if you made any other changes? Thanks!

-P
Prosper is offline   Reply With Quote

Old   May 13, 2015, 09:48
Default
  #7
Member
 
Join Date: Feb 2014
Posts: 34
Rep Power: 12
Prosper is on a distinguished road
Quote:
Originally Posted by ybapat View Post
Hello ,

If you are using surface tension these velocities can appear as a result of parasitic current. You can read about it, as it is well reported phenomenon with VOF model.

Regards,
-Yogesh
Hi Yogesh,

Thanks for your reply!

I did some search and found that this is has been a problem in many simulations... Looks like I need some special treatment for the interface.

Best,
-P
Prosper is offline   Reply With Quote

Old   May 13, 2015, 09:51
Default
  #8
Member
 
Join Date: Feb 2014
Posts: 34
Rep Power: 12
Prosper is on a distinguished road
Quote:
Originally Posted by mihaipruna View Post
VOF methods suffer from interface smearing.

Check out this paper and follow the references for the interface sharpening model.
http://www.djs.si/proc/nene2011/pdf/802.pdf
Hi Mihai,
Thanks for your link!
The two references they cited showed very good results of volume conservation. I may need to do some work to implement that. Thanks!

-P
Prosper is offline   Reply With Quote

Old   May 13, 2015, 10:04
Default
  #9
Member
 
Michael Page
Join Date: Mar 2009
Location: Quebec, Canada
Posts: 36
Rep Power: 17
micpage18 is on a distinguished road
Hi Prosper,

You can try theses change

div(rhoPhi,U) Gauss linear;
div(phi,alpha) Gauss vanLeer01;
div(phirb,alpha) Gauss interfaceCompression;

Best regards,
__________________
Michael Page
michael.page@simu-k.com
Simu-K inc.
www.simu-k.com
micpage18 is offline   Reply With Quote

Old   May 14, 2015, 09:47
Default
  #10
Member
 
Join Date: Feb 2014
Posts: 34
Rep Power: 12
Prosper is on a distinguished road
Quote:
Originally Posted by micpage18 View Post
Hi Prosper,

You can try theses change

div(rhoPhi,U) Gauss linear;
div(phi,alpha) Gauss vanLeer01;
div(phirb,alpha) Gauss interfaceCompression;

Best regards,
Hi Michael,

Thanks for your help!

I tried this and found that the interface velocity has a smaller magnitude than before. But I would still get a nonsmooth interface shape after some time.

Also, I still observed the total volume of the sphere expanding after certain time. Even where the velocity is almost zero, the interface could still be moving. Don't know exactly why. I'll try other ways that can possibly preserve the volume. Thanks.

-P
Prosper 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
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 06:27
Finite Difference Vs. Finite Volume elankov Main CFD Forum 43 December 18, 2010 16:30
finite volume daniel Main CFD Forum 17 April 11, 2005 20:36


All times are GMT -4. The time now is 01:48.