CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Surface tension field depends on tempreature (https://www.cfd-online.com/Forums/openfoam-solving/128548-surface-tension-field-depends-tempreature.html)

openfoam1 January 15, 2014 09:29

Surface tension field depends on tempreature
 
Dear fellow Foamers,

I want to solve a 2 phase laminar flow with changeable surface tension coefficient (Sigma) along the interface due to temperature change. i.e Sigma (S) is a scalar field function of the coordinates (x,y,z) ant the temperature (T).

S = f(x,y,z,T)

I know that there exist a 3D solver for laminar 2 phase flows which is the interFoam solver. But I need to insert the temperature and the surface tension coefficient as fields. Any Foamer knows if there is any way or solver for my case? Thanks

Regards

kmooney January 15, 2014 17:09

Howdy!

I can' see any reason why it can't be done. I'm sure someone out there has adapted the interFoam solver to handle varing surface tensions at some point.

You'll have to edit some code, most likely the sigmaK() function in the interfaceProperties class (/src/transportModels/interfaceProperties) to change the dimensionedScalar treatment of sigma to a volScalarField.

Also there will be extra terms in NS which will fall out from the chain rule i.e. marangioni effects (grad(sigma)) or something to that nature. Make sure you get the momentum equation right so do some homework on it.

Hope that helps! This would be a nifty medium difficulty programming tutorial if you manage to get it working.

Cheers!
Kyle


All times are GMT -4. The time now is 18:38.