|
[Sponsors] |
April 27, 2014, 09:57 |
Simulation of drop with interFoam
|
#1 |
New Member
abdessamad
Join Date: Apr 2014
Posts: 9
Rep Power: 12 |
Hi everybody!
i'm a beginner in openFoam. i have a problème in my simulation. i want to simulate a drop with a solver interFoam. but my drop moves to the right or left, but i want it remains in the middle.this image can explain more the situation. |
|
April 27, 2014, 14:54 |
|
#2 | |
Senior Member
Andrew Somorjai
Join Date: May 2013
Posts: 175
Rep Power: 13 |
Quote:
Code:
phase2 { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1.48e-05; rho rho [ 1 -3 0 0 0 0 0 ] 1; CrossPowerLawCoeffs { nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; m m [ 0 0 1 0 0 0 0 ] 1; n n [ 0 0 0 0 0 0 0 ] 0; } BirdCarreauCoeffs { nu0 nu0 [ 0 2 -1 0 0 0 0 ] 0.0142515; nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; k k [ 0 0 1 0 0 0 0 ] 99.6; n n [ 0 0 0 0 0 0 0 ] 0.1003; } } http://www.princeton.edu/~asmits/Bic...tionflows.html Last edited by massive_turbulence; April 27, 2014 at 14:56. Reason: added details |
||
April 27, 2014, 20:53 |
|
#3 |
New Member
abdessamad
Join Date: Apr 2014
Posts: 9
Rep Power: 12 |
Thank you Andrew Somorjai for your reply. i have the same file of transportpropreties like that:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // phases (water air); water { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1e-06; rho rho [ 1 -3 0 0 0 0 0 ] 1000; CrossPowerLawCoeffs { nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; m m [ 0 0 1 0 0 0 0 ] 1; n n [ 0 0 0 0 0 0 0 ] 0; } BirdCarreauCoeffs { nu0 nu0 [ 0 2 -1 0 0 0 0 ] 0.0142515; nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; k k [ 0 0 1 0 0 0 0 ] 99.6; n n [ 0 0 0 0 0 0 0 ] 0.1003; } } air { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1.48e-05; rho rho [ 1 -3 0 0 0 0 0 ] 1; CrossPowerLawCoeffs { nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; m m [ 0 0 1 0 0 0 0 ] 1; n n [ 0 0 0 0 0 0 0 ] 0; } BirdCarreauCoeffs { nu0 nu0 [ 0 2 -1 0 0 0 0 ] 0.0142515; nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; k k [ 0 0 1 0 0 0 0 ] 99.6; n n [ 0 0 0 0 0 0 0 ] 0.1003; } } sigma sigma [ 1 0 -2 0 0 0 0 ] 0.07; // ************************************************** *********************** // but i think the probleme is a "slip condition" but i dont knew how to add it in boundary condition. please if you have any ideas tell me about. thank u very much. |
|
April 27, 2014, 21:21 |
|
#4 | |
Senior Member
Andrew Somorjai
Join Date: May 2013
Posts: 175
Rep Power: 13 |
Quote:
http://www.cfd-online.com/Forums/ope...lawcoeffs.html he says that the CrossPowerLawCoeffs and BirdCarreauCoeffs are for non-Newtonian viscosity models. So that might be one thing to think about. As for boundary conditions those would be in your 0 folder within the U file for the surface but I'm not sure what definition you would change for the type (if at all, maybe zeroGradient would work). Here's a nice tutorial. http://www.tfd.chalmers.se/~hani/kur...Hemida_VOF.pdf |
||
April 28, 2014, 14:30 |
|
#5 |
New Member
abdessamad
Join Date: Apr 2014
Posts: 9
Rep Power: 12 |
it does not work yet
|
|
April 29, 2014, 18:51 |
|
#6 |
Senior Member
Andrew Somorjai
Join Date: May 2013
Posts: 175
Rep Power: 13 |
Have you tried fixedGradient for the surface? What about zeroGradient. It might be easier for someone to help you if you upload your project.
http://www.cfd-online.com/Forums/ope...ogradient.html |
|
April 29, 2014, 20:16 |
this is my project
|
#7 |
New Member
abdessamad
Join Date: Apr 2014
Posts: 9
Rep Power: 12 |
thanks Andrew for your time.this is my project .project_drop.tar.gz
|
|
April 29, 2014, 20:28 |
|
#8 |
New Member
abdessamad
Join Date: Apr 2014
Posts: 9
Rep Power: 12 |
I deleted the folder polymesh because it has a large capacity
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
simulation of mass transfer of liquid drop in openfoam | salman189 | OpenFOAM Running, Solving & CFD | 6 | March 22, 2023 14:34 |
interFoam simulation yields inconsistent results for alpha1 surface | Ralinus | OpenFOAM Running, Solving & CFD | 8 | January 13, 2014 09:54 |
Convergence of jet flow simulation | MiraLisa | FLUENT | 0 | August 15, 2013 05:44 |
Rigid body motion error when restarting a terminated FSI simulation | lingdeer | ANSYS | 1 | May 19, 2013 02:40 |
Interfoam... free surface simulation urgent | lostin4ever | Main CFD Forum | 4 | October 12, 2010 09:29 |