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

Pressure value too low for water simulation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 26, 2017, 04:19
Default Pressure value too low for water simulation
  #1
Member
 
Join Date: Nov 2014
Posts: 92
Rep Power: 12
hokhay is on a distinguished road
Hi all foamers,

I am a new foamer with only 2 months experience, so please forgive my ignorance.

I am now designing a windsurfing board fin for my own use and I would like simulation the performance difference between each fin shape.

My case is very simple. It is based on the steatdy state cavity tutorial with single phase flow of water. The water is flow from the inlet at 8m/s and the fin is submerged vertically from the top wall of the domain at an angle of 5 degrees. The top wall is a moving wall with 8m/s and the other walls are all freestream outlet.

The simulation finish smoothly with good convergence. However when I calculate the force on the fin using paraview, the lift force is only a few Newtons and the drag force is less than 1 Newton. I then check the pressure at the stagnation point on the fin, it only gives a value of 80Pa. It is far too small for 8.5m/s water which the pressure should be 32000.

It is obvious that the simulation is only doing air simulation. The only thing I know that need to be changed from air to water simulation is the viscosity. Is there something else I miss?

Here is the file for the case

fvScheme
Code:
ddtSchemes
{
    default         steadystate;
}

gradSchemes
{
    default         Gauss linear;
    grad(p)         cellLimited leastSquares 1;
    grad(U)         cellLimited Gauss linear 1;
    grad(nuTilda)   cellLimited Gauss linear 1;
}

divSchemes
{
    default         none;
    div(phi,U)      bounded Gauss linearUpwindV grad(U);
    div(phi,k)      bounded Gauss upwind;
    div(phi,omega)  bounded Gauss upwind;
    div((nuEff*dev2(T(grad(U))))) Gauss linear;
    div(phi,nuTilda) bounded Gauss upwind;
}

laplacianSchemes
{
    default         Gauss linear corrected;
}

interpolationSchemes
{
    default         linear;
}

snGradSchemes
{
    default         corrected;
}

wallDist
{
    method meshWave;
}
fvSolution
Code:
solvers
{
    p
    {
        solver          GAMG;
        tolerance       1e-04;
        relTol          0.1;
        smoother        GaussSeidel;
    nCellsInCoarsestLevel 50;
    nPerSweeps    1;
    nPostSweeps    2;
    nFinestSweeps    3;
    }

    pFinal
    {
        $p;
        tolerance       1e-5;
        relTol          0;
    }

    Phi
    {
        $p;
    }

    "(k|U|nuTilda|omega)"
    {
        solver          smoothSolver;
        smoother        GaussSeidel;
        tolerance       1e-08;
        relTol          0.05;
    }
}

PISO
{
    nNonOrthogonlCorrectors 1;
    pRefValue 0;
    pRefCell 0;
}

SIMPLE
{
    nNonOrthogonlCorrectors 1;
    pRefValue 0;
    pRefCell 0;
}

potentialFlow
{
    nNonOrthogonalCorrectors 10;
    PhiRefCell 0;
    PhiRefValue 0;
}

relaxationFactors
{
    p           0.4;
    k        0.5;
    U           0.4;
    nuTilda     0.6;
    omega    0.6;
}

cache
{
    grad(U);
}
transportProperties
Code:
transportModel  Newtonian;

nu              [0 2 -1 0 0 0 0] 1e-6;
rho             [1 -3 0 0 0 0 0] 1000;
Thank you very much
hokhay is offline   Reply With Quote

Old   July 26, 2017, 08:15
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30
akidess will become famous soon enough
How did you check the pressure? The default unit in Paraview is likely not Pa.
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess is offline   Reply With Quote

Old   July 26, 2017, 12:02
Default
  #3
Member
 
Join Date: Nov 2014
Posts: 92
Rep Power: 12
hokhay is on a distinguished road
By plotting the P value in paraview. The unit should be the same as in OpenFoam, right?

Sent from my LG-H818 using CFD Online Forum mobile app
hokhay is offline   Reply With Quote

Old   July 26, 2017, 14:52
Default
  #4
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30
akidess will become famous soon enough
Yes. OpenFOAM does not always use Pascal though (constant density solvers).
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess is offline   Reply With Quote

Old   July 27, 2017, 01:19
Default
  #5
Member
 
Join Date: Nov 2014
Posts: 92
Rep Power: 12
hokhay is on a distinguished road
Thanks akidess,

I have checked with the unit of p value in my case, it is m^2 s^-2 which I suppose it is dynamic pressure per unit density. Am I right?

In this case, if I would like to calculate the exact force acting on my fin, I just need to integrate the dynamic pressure around the fin and the multiple with the water density. Am I correct?

Thanks a lot

Jason
hokhay is offline   Reply With Quote

Old   July 27, 2017, 06:39
Default
  #6
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30
akidess will become famous soon enough
Yes. And if you get tired of doing it manually in Paraview you can also get it on the fly: http://www.openfoam.com/documentatio...es-forces.html
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess is offline   Reply With Quote

Old   July 27, 2017, 13:37
Default
  #7
Member
 
Join Date: Nov 2014
Posts: 92
Rep Power: 12
hokhay is on a distinguished road
Thanks you very much for your information

Sent from my LG-H818 using CFD Online Forum mobile app
hokhay is offline   Reply With Quote

Reply


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
Periodic flow using Cyclic - comparison with Fluent nusivares OpenFOAM Running, Solving & CFD 30 December 12, 2017 06:35
CFX Solver stopped with error when requested for backup during solver running Mfaizan CFX 40 May 13, 2016 07:50
Packed bed, pressure drop simulation bluebelly FLUENT 0 April 16, 2016 04:58
BC for Actuator Disk - Flow Vel from High Pressure to Low Pressure vinguva OpenFOAM Running, Solving & CFD 2 March 8, 2016 00:46
Low pressure de Laval simulation convergence problem heksel8i FLUENT 3 July 22, 2013 11:28


All times are GMT -4. The time now is 17:19.