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

Compressible Flow in Ansys CFX

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 23, 2011, 18:11
Default Compressible Flow in Ansys CFX
  #1
New Member
 
Bargav
Join Date: Feb 2011
Posts: 8
Rep Power: 5
bcheruk is on a distinguished road
Hello,

My original problem is FSI simulation but I have a basic problem with CFX compressible flow. I have removed the structure part from my fsi simulation and set up the fluid domain with walls at structural locations to match the static pressure with the matlab code that is close to my experimental results. I am also using flotran to verify that I get similar results from flotran and cfx.

I get same pressure in matlab, flotran and cfx when I use constant air properties at 25C for input velocities as high as 50 m/s and my max velocities are around 100 to 300 m/s. I know that my max velocities are close to speed of sound but I just had to check the static pressures.

To do near compressible flow (which is enough to do my fsi simulation) I gave bulk modulus in flotran and changed material to air ideal gas (total energy option) in cfx. The flotran gives very similar results to that of my matlab code and I am able to notice the difference in pressure due to change in density. In cfx, the problem is that there is a very high change in pressure and density as soon as I shift to air ideal gas. The pressures and densities are 100 times higher than what I get from flotran or cfx with air at 25 C.

I did check my reference pressure which is 1 atm. I could not find what was my mistake and why is there so much difference between cfx results when changing material to air ideal gas. I appreciate any help from you and also will be glad to provide more rinformation if needed.
bcheruk is offline   Reply With Quote

Old   February 24, 2011, 12:02
Default
  #2
New Member
 
Bargav
Join Date: Feb 2011
Posts: 8
Rep Power: 5
bcheruk is on a distinguished road
Waiting for some help from you guys. Thanks.
bcheruk is offline   Reply With Quote

Old   February 24, 2011, 19:09
Default
  #3
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 9,153
Rep Power: 73
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
You have some sort of setup problem. Please post a drawing and boundary condition details.
ghorrocks is offline   Reply With Quote

Old   February 24, 2011, 19:57
Default
  #4
New Member
 
Bargav
Join Date: Feb 2011
Posts: 8
Rep Power: 5
bcheruk is on a distinguished road
Thanks Glenn.

I am interested in the pressure applied on the structure by the fluid flowing from the pipe. I am attaching the pictures to describe my domain. The pipe is 1m*1m*1m (only 1 element thick in z-direction), the fluid is flowing out through the gaps above and below the structure (looks like plate in 3D but is a beam in 2D) modeled as walls for fluid analysis. I place openings far away from the pipe outlet around 15m away.

Domain - Air Ideal Gas Ref Pressure 1 atm Total Energy

Wall - No slip Adiabatic

Inlet - 50 m/s Normal velocity Static Temperature 25C

Opening - 0 Pa Opening Pres. and Drim Flow Normal to Boundary Opening Temp 25 C

Symmetry - In Z direction

The max pressure is around 60000 Pa for air at 25C but when I use Air Ideal Gas the pressure is almost 100 times higher. I tried to refine my mesh but it did not help.

Once again I thank you for your help.
Attached Images
File Type: jpg inlet.jpg (17.4 KB, 60 views)
File Type: jpg opening.jpg (29.3 KB, 50 views)
File Type: jpg sym.jpg (33.2 KB, 57 views)
File Type: jpg wall.jpg (18.0 KB, 46 views)
bcheruk is offline   Reply With Quote

Old   February 24, 2011, 22:00
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 9,153
Rep Power: 73
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
I have no idea what your diagrams are showing. As clear as mud comes to mind. Please label a diagram.
ghorrocks is offline   Reply With Quote

Old   February 24, 2011, 23:24
Default
  #6
New Member
 
Bargav
Join Date: Feb 2011
Posts: 8
Rep Power: 5
bcheruk is on a distinguished road
Sorry for previous images. I am attaching 2D pictures of my setup because I have only 1 element and symmetry conditions in z-direction. Thank you.
Attached Images
File Type: jpg Domain.jpg (20.0 KB, 68 views)
File Type: jpg Pipe.jpg (20.7 KB, 76 views)
bcheruk is offline   Reply With Quote

Old   February 25, 2011, 05:50
Default
  #7
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 9,153
Rep Power: 73
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
The flow has choked in the constrictions. You have not done physically possible boundary conditions. CFX is giving rubbish results because you set up rubbish boundary conditions.

If flotran's compressible solver says this flow is possible then I doubt you have set that up correctly either.
ghorrocks is offline   Reply With Quote

Old   February 25, 2011, 09:37
Default
  #8
New Member
 
Bargav
Join Date: Feb 2011
Posts: 8
Rep Power: 5
bcheruk is on a distinguished road
Could you please explain a little more about which of my boundary conditions are wrong.

In flotran, I did not use compressible flow. I just gave bulk modulus of air.

Are these boundary conditions not possible for compressible or for both compressible and incompressible flow. I get similar pressures (same as my analytical results) when I solve incompressible flow.
bcheruk is offline   Reply With Quote

Old   February 25, 2011, 13:25
Default
  #9
New Member
 
Bargav
Join Date: Feb 2011
Posts: 8
Rep Power: 5
bcheruk is on a distinguished road
I am attaching a drawing of my domain. I am trying to give a clear picture of my problem so that you can help me find my mistake.

I have a pipe with small opening area above and below the structure attached to the end of the pipe. I am interested in solving for pressure and velocity of the fluid.

I model the pipe with small thickness. I am using the boundary conditions as shown in the picture. I do not have any boundary conditions at openings and place outlets far away from the pipe.

I am unable to find which of these boundary conditions are wrong. I have the same setup in my lab. A plate attached to the end of a pipe with small openings to allow fluid flow.

Thank you for your help.
bcheruk is offline   Reply With Quote

Old   February 25, 2011, 13:26
Default
  #10
New Member
 
Bargav
Join Date: Feb 2011
Posts: 8
Rep Power: 5
bcheruk is on a distinguished road
Sorry. I forgot to attach the image.
Attached Images
File Type: png Domain.png (9.9 KB, 56 views)
bcheruk is offline   Reply With Quote

Old   February 26, 2011, 15:43
Default
  #11
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 9,153
Rep Power: 73
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
I already told you what your problem is, your flow is choked and you have exceeded the physically possible flow rate through your little slits.

If you do not know what choked flow is you had better look it up, you won't get far without knowing the basics. It is a compressible flow thing which puts a maximum limit on the flow rate which can go through an cross section as the flow goes sonic.
ghorrocks is offline   Reply With Quote

Old   February 26, 2011, 18:40
Default
  #12
New Member
 
Bargav
Join Date: Feb 2011
Posts: 8
Rep Power: 5
bcheruk is on a distinguished road
Thank you Glenn. I posted those replies only to make sure that I am at least doing it right for incompressible flow and compressible flow within the limits.

I read the choked flow and also the effect of compressibility and understood my problem.

I lowered my input velocities and now I am getting similar results for both compressible flow and incompressible flow in both flotran and cfx.

Thank you once again.
bcheruk is offline   Reply With Quote

Reply

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
Incompressible and compressible flow. Confused student. Main CFD Forum 22 January 30, 2014 06:32
Can 'shock waves' occur in viscous fluid flows? diaw Main CFD Forum 105 November 20, 2009 04:19
Compressible Fluid Flow in COMSOL Multiphysics BBG Main CFD Forum 1 November 19, 2008 14:05
compressible flow in CFX! Ihsan CFX 9 January 15, 2008 18:50
compressible flow computation amv Main CFD Forum 5 June 27, 2003 07:27


All times are GMT -4. The time now is 18:13.