CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   QUICK Scheme (https://www.cfd-online.com/Forums/openfoam-solving/70835-quick-scheme.html)

mmahdinia December 7, 2009 14:10

QUICK Scheme
 
Hi Foamers,

I am using the LES solver to solve a variable density problem, which is of course not compressible. Anyway, the point is that when I use the following gradient scheme, I get an error of "segmentation fault":

gradSchemes
{
default Gauss QUICK phi;
grad(p) Gauss QUICK phi;
grad(U) Gauss QUICK phi;
}

Anybody knows what the problem is? Any help would be appreciated.

Maani

linnemann December 9, 2009 09:03

Hi

The error output would be very helpful. And maybe a better description of the physical problem you are solving.

mmahdinia December 9, 2009 16:27

Case under study
 
Quote:

Originally Posted by linnemann (Post 239291)
Hi

The error output would be very helpful. And maybe a better description of the physical problem you are solving.

Hi Linnemann,

Thanks for the reply. The case is that of a density current, in which a fluid of a higher density is released under an another low density fluid. The difference between their densities creates a shear layer between them and this results in a turbulent flow in common interface.

I am using the LES solver (dynamic smagorinsky) plu vanDriest delta, and I have added a code to solve for the variable density there. When I choose the QUICK scheme for the gradient, before the first time step, the code gives:

...

Time=0.01
segmentation fault

and that's all. You might want to try it yourself!? Any help would be appropriated of course.

Yous sincerely,
Maani

mmahdinia December 9, 2009 16:30

A thing
 
Well, I forgot to ask but it would be great if you could give me an idea about the following parameters: 1) max cell expansion ratio in B.L. 2) max cell aspect ratio 3) max Courant number

Yours sincerely,
Mani


All times are GMT -4. The time now is 09:23.