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

Problems with cavitatingFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 3, 2015, 04:57
Default Problems with cavitatingFoam
  #1
New Member
 
Join Date: Feb 2015
Posts: 7
Rep Power: 11
d.lagattolla is on a distinguished road
Hi guys! I am using cavitatingFoam to run a 2D simulation of cavitation inside a Venturi duct. The case i am reffering to is in the following link, in particular the Venturi with the angles of 8° and 18° before and after the throat: https://hal.archives-ouvertes.fr/hal-00912579/document
I used the files of the tutorial of cavitatingFoam (RAS-throttle) to set up my case.
I'm imposing velocity (7 m/s) and density (998.2 kg/m3) at the inlet, and static pressure at the outlet (72000 Pa). I am also using the k-omegaSST turbulence model.
At first i didn't change anything in the tutorial files but the boundary initial conditions, the fluid properties and the deltaT (10^-5), but the simulation was very unstable and it gave me this kind of error while iterating:

eltaT = 8.2622e-19
--> FOAM Warning :
From function Time:perator++()
in file db/Time/Time.C at line 1055
Increased the timePrecision from 6 to 7 to distinguish between timeNames at time 1.6997

Anyway I could see in Paraview that the simulation wasn't completely wrong because there was cavitation right after the trhoat in the separation zone where it is supposed to be, which then spread further. The problem is that right from the first iterations there was a thin irregoular layer near the wall far from the separation area,which sometimes becomes bigger during the simulation, where cavitation occurs as well, and i don't understand why!
Moreover the behaviour of the pressure field inside was very strange and it doesn't seem to have sense. I looked at the residuals of pressure during the simulation and the Initial Residuals are much higher than the ones of the other variables.
Than i changend the solver for "p" in the fvSolution file from GAMG to PCG because I read a post written by somebody having the same "FOAM warning" previously mentioned who solved it this way.
p
{
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 1e-05;
}

pFinal
{
$p;
tolerance 1e-08;
relTol 0;
}
Now the simulation goes better, without any warnings and really fast, but I see the same problems in the pressure field and initial residuals, and those cavitating zones close to the walls and far from the throat again.
Does anybody have any advice for me?

Last edited by d.lagattolla; February 4, 2015 at 12:53.
d.lagattolla 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
[ICEM] Problems with coedge curves and surfaces tommymoose ANSYS Meshing & Geometry 6 December 1, 2020 11:12
[mesh manipulation] Problems with rotational cyclic boundaries TReviol OpenFOAM Meshing & Mesh Conversion 8 July 11, 2014 03:45
Needed Benchmark Problems for FSI Mechstud Main CFD Forum 4 July 26, 2011 12:13
Two-phase air water flow problems by activating Wall Lubrication Force challenger85 CFX 5 November 5, 2009 05:44
Help required to solve Hydraulic related problems aero CFX 0 October 30, 2006 11:00


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