
[Sponsors] 
December 24, 2002, 06:15 
Inviscid flow

#1 
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 

December 24, 2002, 12:45 
Re: Inviscid flow

#2 
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.0E10 or less. Neale 

December 25, 2002, 15:31 
Re: Inviscid flow

#3 
Guest
Posts: n/a

If we just set the boundary condition at the wall as 'Noslip". Is that enough? Thank you very much.
Atit 

December 25, 2002, 16:01 
Re: Inviscid flow

#4 
Guest
Posts: n/a

I do think that it is necessary to do both thing, else it is meaningless )) Jan


December 25, 2002, 16:40 
Re: Inviscid flow

#5 
Guest
Posts: n/a

Sorry it is the typo. I have to type 'Free Slip', not 'NoSlip.
Atit 

December 28, 2002, 00:22 
Re: Inviscid flow

#6 
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 

December 28, 2002, 10:01 
Re: Inviscid flow

#7 
Guest
Posts: n/a

Thank you very much. Your suggestion is invaluable.
Atit. 

December 28, 2002, 15:38 
Re: Inviscid flow

#8 
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


December 30, 2002, 11:56 
Re: Inviscid flow

#9 
Guest
Posts: n/a

The problem is not with solver robustness. If you specify a very small viscosity, you will encounter roundoff 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 

December 30, 2002, 14:05 
Re: Inviscid flow

#10 
Guest
Posts: n/a

))))) I am thinking, if I dare Happy New Year What if the geometry create a rotation of the flow! Jan


December 30, 2002, 17:44 
Re: Inviscid flow

#11 
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 

December 31, 2002, 15:39 
Re: Inviscid flow

#12 
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 freeslip 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 

January 2, 2003, 13:40 
Re: Inviscid flow

#13 
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 

Thread Tools  
Display Modes  


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 14:22 
Inviscid flow over a forward/backward facing step  Abhijit Tilak  Main CFD Forum  3  February 16, 2005 10:18 