CFD Online Logo CFD Online URL
Home > Forums > NUMECA

compressibility and cavitation!!

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

LinkBack Thread Tools Display Modes
Old   March 5, 2005, 22:39
Default compressibility and cavitation!!
Posts: n/a
I have a problem with cavitation. The pressure dependent density description for the liquid works fine as long as I do not activate cavitation. But when activating the cavitation I get NaN for the produced species in the first Iteration (although there is no cavitation at the beginning of the simulation at all).

As I using the cavitation model,density of the heavy fluid just can be set as a constant number.Can I using some method to solve this problem?

  Reply With Quote

Old   March 14, 2005, 14:17
Default Re: compressibility and cavitation!!
khalid sultan
Posts: n/a
hi generally speaking when you get NaN; it means you are dividing by zero ( or a very small number ) or you are trying to take the root of a negative number - of course if we exclude the case that you are using a value without initailization - here are some Hints:

1- try to use a debugger ( i.e. ddd if your code is in

c++ ); this will help you to locate the location of

the problem.

2- If the above does not help, I suggest that you

examine carefully the places where you interpolate

flow variables ( wether the pressure or the

temperature is wrongly negative ).

3- look at the bright side

at least you know that your problem is related to

cavitation, you don't have to search anywhere else!

Go directly to the place that handles this term.

4- when you find the place where the error occurs,

try to put =>some kind of a limiter<= to avoid the

( non-positivity ).

Hoping it would help . . . good luck

  Reply With Quote

Old   June 27, 2005, 17:16
Default Re: compressibility and cavitation!!
Posts: n/a
hi, i'll like to know more about cavitation
  Reply With Quote


Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
compressibility and cavitation!! xhliu1 CD-adapco 11 March 16, 2005 08:19
HELP!! Calculation cavitation and compressibility xhliu1 CD-adapco 0 December 3, 2004 22:54
Compressibility In The Cavity Region In Cavitation Roozbeh FLUENT 2 July 12, 2003 02:02
Compressibility rhydar CFX 0 December 10, 2002 05:55
Compressibility in CFX 5.5.1 Cujo CFX 11 September 23, 2002 13:20

All times are GMT -4. The time now is 01:04.