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

interFoam: hydrostatic pressure drives flow in non-orthogonal mesh

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   May 11, 2010, 05:23
Default interFoam: hydrostatic pressure drives flow in non-orthogonal mesh
  #1
New Member
 
Kasper Kærgaard
Join Date: May 2010
Posts: 5
Rep Power: 16
kaergaard is on a distinguished road
Dear Forum.
I have a problem wiith interFoam. With a plane water surface and no flow trough any boundaries I get a flow along the bottom boundary when the mesh elements near the boundary are non-orthogonal. I expected zero velocity everywhere.
The flow velocity increases as time goes and ends up blowing up the computation. I have attatched an image showing the same simulation with slightly different meshes the top one has a maximum non-orthogonality of 65, the middle 35 and the bottom 15 (mesh is made using snappyMesh). The shown time is 0.01 s.
I would like to be able to run the simulaiton with a larger non-orthogonality since this will describe my bottom better. I have tried
nOrthoCorrectors = 5, with no improvement, I have also tried different combinations of schemes for laplace (MUSCL uncorrected, corrected linear, upwind), and div (MUSCL, upwind, linear). Any ideas are most welcome.

Best regards Kasper


My fvSolution file is:
solvers
{
pcorr PCG
{
preconditioner DIC;
tolerance 1e-10;
relTol 0;
};
p PCG
{
preconditioner DIC;
tolerance 1e-10;
relTol 0;
};
pFinal PCG
{
preconditioner DIC;
tolerance 1e-10;
relTol 0;
};
U PBiCG
{
preconditioner DILU;
tolerance 1e-10;
relTol 0;
};
}

PISO
{
pdRefCell 0;
pdRefValue 0;
momentumPredictor yes;
nCorrectors 3;
nNonOrthogonalCorrectors 5;
nAlphaCorr 1;
nAlphaSubCycles 1;
cAlpha 1;
}
fvSchemes:
ddtSchemes
{
default Euler;
}

gradSchemes
{
default Gauss linear;
grad(U) Gauss linear;
grad(alpha) Gauss linear;
}

divSchemes
{
default Gauss linear;
// div(rho*phi,U) Gauss MUSCL;
// div(phi,alpha) Gauss vanLeer;
// div(phirb,alpha) Gauss interfaceCompression;
}

laplacianSchemes
{
default Gauss upwind phi corrected;
}

interpolationSchemes
{
default linear;
}

snGradSchemes
{
default corrected;
}

fluxRequired
{
default yes;
p;
pcorr;
alpha;
}
Attached Images
File Type: jpg image.jpg (23.3 KB, 126 views)
kaergaard is offline   Reply With Quote

 

Tags
hydrostatic, interfoam, non-orthogonal


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
mesh file for flow over a circular cylinder Ardalan Main CFD Forum 7 December 15, 2020 13:06
simple model, difficult outlet Eric CFX 7 May 23, 2014 08:13
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 18:10
Gas pressure question Dan Moskal Main CFD Forum 0 October 24, 2002 22:02
Hydrostatic pressure in 2-phase flow modeling (CFX4.2) HB &DS CFX 0 January 9, 2000 13:19


All times are GMT -4. The time now is 16:15.