# Waves in simple channel

 Register Blogs Members List Search Today's Posts Mark Forums Read

July 17, 2009, 06:59
Waves in simple channel
#1
New Member

Join Date: Jul 2009
Posts: 4
Rep Power: 8
Hello, forum!
I'm starting to learn the OpenFOAM and have a newbie question.
I would like to simulate the flow in very simple geometry:
a 2-phase parallelepiped with air-water interface. Without walls and bodies.
The OF version 1.5, the solver - interFoam. maxCo=0.3

The problem is as follows: at leading edge of free surface (at inlet)
raises the high value of velocity, which lead to raising of waves.

Boundary conditions:

gamma:
in_air uniform 0;
in_water uniform 1;
top slip;
bottom slip;
side slip;

pd:
top slip;
bottom slip;
side slip;

U:
in_air uniform (1 0 0);
in_water uniform (1 0 0);
top slip;
bottom slip;
side slip;

================================================
fvSolvers:
solvers
{
pcorr PCG
{
preconditioner DIC;
tolerance 1e-10;
relTol 0;
};
pd PCG
{
preconditioner DIC;
tolerance 1e-7;
relTol 0.05;
};
pdFinal PCG
{
preconditioner DIC;
tolerance 1e-7;
relTol 0;
};
k PBiCG
{
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
};
omega PBiCG
{
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
};
U PBiCG
{
preconditioner DILU;
tolerance 1e-06;
relTol 0;
};
}

PISO
{
momentumPredictor no;
nCorrectors 3;
nNonOrthogonalCorrectors 0;
nGammaCorr 1;
nGammaSubCycles 2;
cGamma 1;

pdRefCell 1;
pRefCell 1;

pRefValue 1;
pdRefValue 0;
}
===============================================
fvSchemes:
ddtSchemes
{
default Euler;
}

{
default Gauss linear;
}

divSchemes
{
div(rho*phi,U) Gauss limitedLinearV 1;
div(phi,gamma) Gauss vanLeer;
div(phirb,gamma) Gauss interfaceCompression;
div(phi,omega) Gauss upwind;
div(phi,k) Gauss upwind;
}

laplacianSchemes
{
default Gauss linear corrected;
}

interpolationSchemes
{
default linear;
}

{
default corrected;
}

fluxRequired
{
default no;
pd;
pcorr;
gamma;
}

Andrey
Attached Images
 forum1.png (41.0 KB, 26 views) forum2.png (52.7 KB, 28 views)

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post xiuying OpenFOAM Running, Solving & CFD 12 March 2, 2009 08:58 Leo Lau FLUENT 4 October 14, 2007 05:23 ao Main CFD Forum 0 April 6, 2004 16:21 Abhi Main CFD Forum 12 July 8, 2002 09:11 Jonathan Castro Main CFD Forum 3 December 10, 1999 05:59

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