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

Inviscid flow

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 24, 2002, 06:15
Default Inviscid flow
  #1
Atit Koonsrisuk
Guest
 
Posts: n/a
I was wondering. How can we set the flow as the inviscid flow? When we define "Fluid Domain", in "Fluid Editor", we will find 'Properties". If I set the "Dynamic Viscosity" in this "Properties" form to zero, are all behaviors of this flow inviscid? Thank you very much.

Atit
  Reply With Quote

Old   December 24, 2002, 12:45
Default Re: Inviscid flow
  #2
Neale
Guest
 
Posts: n/a
Atit,

Yep, that's usually the way, but don't use zero that could be nasty. Just use something really small, say 1.0E-10 or less.

Neale
  Reply With Quote

Old   December 25, 2002, 15:31
Default Re: Inviscid flow
  #3
Atit Koonsrisuk
Guest
 
Posts: n/a
If we just set the boundary condition at the wall as 'No-slip". Is that enough? Thank you very much.

Atit
  Reply With Quote

Old   December 25, 2002, 16:01
Default Re: Inviscid flow
  #4
Jan Rusås
Guest
 
Posts: n/a
I do think that it is necessary to do both thing, else it is meaningless )) Jan
  Reply With Quote

Old   December 25, 2002, 16:40
Default Re: Inviscid flow
  #5
Atit Koonsrisuk
Guest
 
Posts: n/a
Sorry it is the typo. I have to type 'Free Slip', not 'No-Slip.

Atit
  Reply With Quote

Old   December 28, 2002, 00:22
Default Re: Inviscid flow
  #6
Robin
Guest
 
Posts: n/a
It should be enough to set your walls to free slip and select Laminar flow. Don't define your viscosity to be very small or you will have severe convergence problems. Leave the viscosity of the fluid as it should be. As your solution converges, viscous effects will disappear.

I have done this to compare to inviscid airfoil calculations and it works well. Just keep in mind, however, that this is still a viscous code.

Regards, Robin

  Reply With Quote

Old   December 28, 2002, 10:01
Default Re: Inviscid flow
  #7
Atit Koonsrisuk
Guest
 
Posts: n/a
Thank you very much. Your suggestion is invaluable.

Atit.
  Reply With Quote

Old   December 28, 2002, 15:38
Default Re: Inviscid flow
  #8
Jan Rusås
Guest
 
Posts: n/a
I do not completely agree with you Robin, I have used this approach for many years ago, so my memory might be a little rusty, but I do believe that the viscosity should be set to a small value such that the viscous forces are eliminated. A robust solver should not have any problems with that ))). Regards Jan
  Reply With Quote

Old   December 30, 2002, 11:56
Default Re: Inviscid flow
  #9
Robin
Guest
 
Posts: n/a
The problem is not with solver robustness. If you specify a very small viscosity, you will encounter round-off problems when dividing by such a small number. Besides, the viscosity will help converge the solution faster, if anything you should increase it. If you boundary conditions do not introduce any rotational flow, the final solution will be inviscid anyway.

If you still do not agree, try it.

Robin
  Reply With Quote

Old   December 30, 2002, 14:05
Default Re: Inviscid flow
  #10
Jan Rusås
Guest
 
Posts: n/a
))))) I am thinking, if I dare Happy New Year What if the geometry create a rotation of the flow! Jan
  Reply With Quote

Old   December 30, 2002, 17:44
Default Re: Inviscid flow
  #11
Neale
Guest
 
Posts: n/a
You should define the viscosity to be a small number regardless of the boundary conditions. There are other mechanisms for introducing vorticity besides the boundary conditions. For example, a curved shock wave will introduce vorticity.

Neale
  Reply With Quote

Old   December 31, 2002, 15:39
Default Re: Inviscid flow
  #12
Robin
Guest
 
Posts: n/a
Response to both Jan and Neale:

Granted that shock waves and backward facing steps, etc. will introduce viscous effects. But if the flow is not irrotational (inviscid) due to boundary conditions, then you cannot and should not be interested in solving it as an inviscid flow! Sure, if you make your viscosity small you will get the same wrong answer for these as you would expect from and inviscid code!

The problems that arise in the solver due to your small viscosity are purely numerical and have nothing to do with robustness. If you assume there are no viscous effects, there are simplifications which may be made for solving inviscid flows. I don't need to remind you that you are dealing with a viscous flow code, so these optimizations are not done.

All I am suggesting is that if you are setting up a simple inviscid flow problem and want to solve it as such, then you can do so simply by applying the appropriate boundary conditions. At the wall, this means using a free-slip boundary condition.

Quite frankly, this is only of academic interest. Why would you want an inviscid flow solution at the cost of solving a viscous flow?

Enough said.

Happy New Year!

Robin
  Reply With Quote

Old   January 2, 2003, 13:40
Default Re: Inviscid flow
  #13
Atit Koonsrisuk
Guest
 
Posts: n/a
Dear Robin,

I am the newcomer in CFD. I hope that you have a time to give me the explanations of my new questions, occurred from your previous answers. They are:

- You said that if we set viscosity be very small, we will get severe convergence problem. Why sir? I guess that CFX may use the Reynolds number in computation. The Reynolds number approaches infinity when we set viscosity equal zero.

- How can 'shock waves' and 'backward facing steps' have the viscous effects? Are they only the effects in numerical approach or they also have the effects in theoretical approach? What are those effects?

- You said that 'if the flow is not irrotational (inviscid)'. That make me feel like 'irrotational' and 'inviscid' is the same word. But they are not, are they?

- From your latest answer, you say that

'Granted that shock waves and backward facing steps, etc. will introduce viscous effects. But if the flow is not irrotational (inviscid) due to boundary conditions, then you cannot and should not be interested in solving it as an inviscid flow! Sure, if you make your viscosity small you will get the same wrong answer for these as you would expect from and inviscid code! '

I am sorry but I do not understand all sentences except the first sentence. Could you please give me more explanation?

- Because of my very bad English, I do not understand your last comment.

'Why would you want an inviscid flow solution at the cost of solving a viscous flow?'

Did you ask me that why don't I write the inviscid solver to solve my problem? I think that my understanding is wrong. However if that is the real meaning of your question. My answer is 'this is the first step of my computation'. After I get the solution, I will increase the complexity of the problem grudually. Finally this problem will be the viscous flow.

I appreciate your kind and informative previous answers very much.

Atit
  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
modelling inviscid 2D flow at high angle of attack Ferdinando FLUENT 2 October 30, 2007 18:26
Convergence for inviscid flow over sylinder Rjakk Main CFD Forum 2 March 21, 2007 11:53
time step for inviscid supersonic wedge flow. yaseer Main CFD Forum 1 March 8, 2007 10:40
Simulating NACA0012 for inviscid flow. Stan Main CFD Forum 2 May 13, 2005 15:22
Inviscid flow over a forward/backward facing step Abhijit Tilak Main CFD Forum 3 February 16, 2005 10:18


All times are GMT -4. The time now is 14:53.