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

Thermocapillary free surface flow

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   April 7, 2009, 06:08
Smile Thermocapillary free surface flow
  #1
New Member
 
Zaki Saldi
Join Date: Mar 2009
Posts: 18
Rep Power: 17
zakifoam is on a distinguished road
Dear all,

I am interested in the VOF simulation of free surface flow driven by surface tension gradient due to surface temperature variation.

To do this, I have tried to add energy equation (temperature-based) in interFoam, in which the thermal conductivity is weighted by volume fraction, just like density and viscosity.

Additionally, at the interface, the smeared surface force has the normal and tangential components of the following form:



where



Here sigma_0 is surfac tension at reference temperature, sigma_T is dsigma/dT, i.e. the temperature gradient of surface tension, and T_0 is the reference temperature.

The first term of the normal force already exists in interFoam, so I need to implement the second term of the surface force and the tangential force.

I ended up with the following in UEqn.H :

surfaceScalarField muf = twoPhaseProperties.muf();

fvVectorMatrix UEqn
(
fvm::ddt(rho, U)
+ fvm::div(rhoPhi, U)
- fvm::laplacian(muf, U)
- (fvc::grad(U) & fvc::grad(muf))
//- fvc::div(muf*(fvc::interpolate(dev(fvc::grad(U))) & mesh.Sf()))
);

if (momentumPredictor)
{
solve
(
UEqn
==
fvc::reconstruct
(
(
fvc::interpolate(interface.sigmaK())*fvc::snGrad(g amma)
+ fvc::interpolate(dsigmadT*(T-T0)*interface.K())*fvc::snGrad(gamma)
+ fst
- ghf*fvc::snGrad(rho)
- fvc::snGrad(pd)
) * mesh.magSf()
)
);
}


and in pEqn.H :

phi = phiU +
(
fvc::interpolate(interface.sigmaK())*fvc::snGrad(g amma)
+ fvc::interpolate(dsigmadT*(T-T0)*interface.K())*fvc::snGrad(gamma)
+ fst
- ghf*fvc::snGrad(rho)
)*rUAf*mesh.magSf();


Here, I have implemented the second term for the normal force (highlighted in blue), but not the whole tangential component of the surface force (in red).

This tangential part is a bit confusing, since in UEqn.H, everything in fvc::reconstruct brackets should be of the type surfaceScalarField. I tried to specify fst as follows:

volVectorField nhat = gradGamma/(mag(gradGamma) + deltaN);

volVectorField fst = dsigmadT*(fvc::grad(T) - nhat*(nhat & fvc::grad(T)))*mag(gradGamma);

Here, fst is a volVectorField, which can not be used in UEqn.H and pEqn.H above.

Could anyone help me with this problem?

Thanks a lot,


Zaki
zakifoam is offline   Reply With Quote

 

Tags
free surface, interfoam, marangoni, thermocapillary


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
free surface flow past cylinder vineet FLUENT 1 February 21, 2011 23:11
free surface flow in non-inertial reference frame Tiedingg FLOW-3D 1 February 26, 2009 19:51
Multiphase flow. Dispersed and free surface model Luis CFX 8 May 29, 2007 18:13
Analytical Solution for a Free Surface Flow Ferreira, VG Main CFD Forum 0 February 25, 2007 04:56
CFX4.3 -build analysis form Chie Min CFX 5 July 12, 2001 23:19


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