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

Compressor simulation issue

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 24, 2012, 14:37
Default Compressor simulation issue
  #1
Member
 
Vit Houst
Join Date: Apr 2012
Posts: 35
Rep Power: 14
vitulaaak is on a distinguished road
Hello,

I have a following problem. When running compressor simulation, I cannot get some points to converge. In general this problems occurs in the middle of the measured maps, but at this point the measured speedlines are already falling down or horizontal. it generaly falls on overflow problem.
Is there a way how to change the criterions to prevent the simulation from falling? When i watch the measured parameters etc. evertyhing seems reasonable.

Thanks
Vit
vitulaaak is offline   Reply With Quote

Old   October 24, 2012, 17:29
Default
  #2
Senior Member
 
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 277
Rep Power: 21
brunoc is on a distinguished road
Solver divergence can happen due to a lot of reasons: boundary or initial conditions, solver parameters, equations modeled.

First of all you should take a good look at the best practices:
http://www.cfd-online.com/Wiki/Best_...omachinery_CFD

The CFX documentation also has guidelines that you should check out.

Cheers
brunoc is offline   Reply With Quote

Old   October 25, 2012, 05:49
Default
  #3
Member
 
Vit Houst
Join Date: Apr 2012
Posts: 35
Rep Power: 14
vitulaaak is on a distinguished road
This is not that helpfull. Obviously you follow the general standards. The thing, that is missing is for example how to pick the boundary conditions when simulating compressors. For example using static pressure on the outlet is difficult as if you see some of the maps, they do have 2 solutions. If you use mass flow, then you can select a value in the choke?
vitulaaak is offline   Reply With Quote

Old   October 25, 2012, 06:55
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
There is also turbo machinery best practices guide in the CFX documentation. Have you read that?
ghorrocks is offline   Reply With Quote

Old   October 25, 2012, 07:23
Default
  #5
Member
 
Vit Houst
Join Date: Apr 2012
Posts: 35
Rep Power: 14
vitulaaak is on a distinguished road
I am not sure. Is it possible to find it on ansys customer portal?
vitulaaak is offline   Reply With Quote

Old   October 25, 2012, 09:42
Default
  #6
Senior Member
 
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 277
Rep Power: 21
brunoc is on a distinguished road
Quote:
Originally Posted by vitulaaak View Post
This is not that helpfull. Obviously you follow the general standards. The thing, that is missing is for example how to pick the boundary conditions when simulating compressors. For example using static pressure on the outlet is difficult as if you see some of the maps, they do have 2 solutions. If you use mass flow, then you can select a value in the choke?
I wasn't talking about general standards, I was talking about guidelines for simulating compressors. The link I posted has some general guidelines for turbomachineries, but the CFX documentation has specific best-practices for compressors. That includes boundary conditions on choked flows. The documentation can be found at the menu under 'Help > CFX > Contents'. You shouldn't disregard people's comments before you check out what they advise you to do.

Anyway, something else you can do past choking conditions is work with a corrected mass flow. You set a value for \dot{m}_{corrected} thought a CEL Expression and use that value on a second CEL Expression to set this at the outlet:

\dot{m} = \dot{m}_{corrected} \frac{\delta}{\sqrt{\theta}}

where

\delta = \frac{P_{tot}}{P_{ref}} = \frac{P_{tot}}{1 [atm]}
\theta = \frac{T_{tot}}{T_{ref}} = \frac{T_{tot}}{288.15 [K]}

and T_{tot} and P_{tot} are evaluated at the outlet.

With this approach you should be able to set values of corrected mass flows that go past the choking conditions. The solver should adapt pressure and temperature so that they fit the \dot{m}_{corrected} you set. Still, you should first try what the guidelines at the documentation suggests.

Cheers.
k.vimalakanthan and crevoise like this.
brunoc is offline   Reply With Quote

Old   October 25, 2012, 11:16
Default
  #7
Member
 
Vit Houst
Join Date: Apr 2012
Posts: 35
Rep Power: 14
vitulaaak is on a distinguished road
Hello,

no, my intention was not at all to diregard someones help. I obviously checked the best practices, but I didnt find anything, that would be usefull in this case. The problem is not occuring at choke, but at the middle of the map. I tried various types of boundary conditions, but no success so far. I am using v12.1. The boundary condition, that I would like to have is pressure loss on the outlet, but this is not possible to use for the outlet type. Only for opening.

V.
vitulaaak is offline   Reply With Quote

Old   November 20, 2012, 17:34
Default
  #8
Senior Member
 
Saima
Join Date: Apr 2009
Location: Canada
Posts: 185
Rep Power: 16
Saima is an unknown quantity at this point
I wanted to impose same boundary condition, my question is that I know Wabs, but Ptout and Ttout would be updated in every iteration?
So i need to write expression to update it in every iteration?

Regards,
Saima

Quote:
Originally Posted by vitulaaak View Post
Hello,

no, my intention was not at all to diregard someones help. I obviously checked the best practices, but I didnt find anything, that would be usefull in this case. The problem is not occuring at choke, but at the middle of the map. I tried various types of boundary conditions, but no success so far. I am using v12.1. The boundary condition, that I would like to have is pressure loss on the outlet, but this is not possible to use for the outlet type. Only for opening.

V.
__________________
Best Redards,
Saima
Saima is offline   Reply With Quote

Old   November 20, 2012, 17:55
Default
  #9
Senior Member
 
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 277
Rep Power: 21
brunoc is on a distinguished road
P_{t_{out}} and T_{t_{out}} are calculated by the solver. You can create an expression to take their values either locally or by using an average at you outlet condition.
brunoc is offline   Reply With Quote

Old   November 20, 2012, 18:14
Default
  #10
Senior Member
 
Saima
Join Date: Apr 2009
Location: Canada
Posts: 185
Rep Power: 16
Saima is an unknown quantity at this point
So this expression would be enough:

T02=massFlowAve(Ttotstn)@R1 Outlet
P02=massFlowAve(ptotstn)@R1 Outlet
Wabs = 1.517 [kg s^-1] ;
massflow= Wabs*((sqrt(T02 /288.15 [K])/(P02/101325 [Pa]))

Then i'll choose outlet boundary condition this expression under mass flow. I found another option below that which is "Update Mass Flow", do i need to check on that too? If yes then under which option constant flux?

Thanks in advance!!!



Quote:
Originally Posted by brunoc View Post
P_{t_{out}} and T_{t_{out}} are calculated by the solver. You can create an expression to take their values either locally or by using an average at you outlet condition.
__________________
Best Redards,
Saima
Saima is offline   Reply With Quote

Old   November 20, 2012, 18:23
Default
  #11
Senior Member
 
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 277
Rep Power: 21
brunoc is on a distinguished road
Quote:
Originally Posted by Saima View Post
SI found another option below that which is "Update Mass Flow", do i need to check on that too?
You should, since your boundary condition is not linear. I think it does it by default, but enable it just to be safe.

I don't recall the options for it, so you should check the documentation to see which one to use.
brunoc is offline   Reply With Quote

Old   November 21, 2012, 14:39
Default
  #12
Senior Member
 
Saima
Join Date: Apr 2009
Location: Canada
Posts: 185
Rep Power: 16
Saima is an unknown quantity at this point
Yes, you are right by default it is enable.

I am running fan optimization by assigning corrected mass flow on exit boundary condition, in every evaluation geometry is changes and I want to assure to have same corrected mass flow. If i re-calculate exit corrected mass flow at the end of solution, i noticed it is not constant. It varies. I want to understand it.

I am not getting the reason how by assigning the corrected mass flows that go past the choking conditions? What is the physical significance?

Thanks in advance!!!

Quote:
Originally Posted by brunoc View Post
You should, since your boundary condition is not linear. I think it does it by default, but enable it just to be safe.

I don't recall the options for it, so you should check the documentation to see which one to use.
__________________
Best Redards,
Saima
Saima is offline   Reply With Quote

Old   November 21, 2012, 19:54
Default
  #13
Senior Member
 
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 277
Rep Power: 21
brunoc is on a distinguished road
Once you reach choke, mass flow can no longer be increased. But the corrected mass flow also takes local pressure and temperature into account, so even though your actual mass flow is fixed, by varying local temperature and pressure you corrected mass flow can still increase.

That's what I meant.
brunoc is offline   Reply With Quote

Old   November 23, 2012, 16:16
Default
  #14
Member
 
Vit Houst
Join Date: Apr 2012
Posts: 35
Rep Power: 14
vitulaaak is on a distinguished road
Hello brunoc,

Choke is not my concern.i use either static pressure or pressure loss at outlet condition . The problem happens approx.in the middle of the measured map where speedline has more or less horizontal direction.
vitulaaak is offline   Reply With Quote

Old   November 26, 2012, 07:25
Default
  #15
Senior Member
 
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 277
Rep Power: 21
brunoc is on a distinguished road
Hi Vit,

That probably means that for a small change in pressure you can have a large difference in mass flow. If that is the case, you should consider setting a mass flow at your outlet region. That will make your case more robust.

Cheers
brunoc is offline   Reply With Quote

Old   November 27, 2012, 05:52
Default
  #16
Member
 
Vit Houst
Join Date: Apr 2012
Posts: 35
Rep Power: 14
vitulaaak is on a distinguished road
Hello Brunoc,

no matter what BC I use ( pressure, mass flow etc.) the issue is following:
the simulation runs ok to some iteration - 200-300 and then when all the residuals are already quite low, the momentum in one direction starts to increase and after few iterations, the simulation stops.

V.
vitulaaak is offline   Reply With Quote

Old   November 27, 2012, 06:18
Default
  #17
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
This usually means the flow has progressed enough so some tricky flow feature has reached a critical point. This could be a separation reaching an outlet or the inlet fluid first reaching the outlet.

I would save a few intermediate results files leading up to the crash to find out what flow feature is causing it. The fix will almost certainly be to move the outlet boundary further downstream.
ghorrocks is offline   Reply With Quote

Old   November 28, 2012, 16:05
Default
  #18
Senior Member
 
Saima
Join Date: Apr 2009
Location: Canada
Posts: 185
Rep Power: 16
Saima is an unknown quantity at this point
Hello,

I have updated this boundary condition & have few blades with same exit corrected mass flow, even though there abs mass is varied.

I have two basic queries:

1. What is forced CFX to keep same exit corrected, I really don't get what is going on behind, how can it is ending up with same exit corrected mass flow only by imposing a simple expression?

2. When I get the blade with exit corrected mass flow, I run the speed line for that by varying P2 at outlet but I have not found the same efficiency that was with exit corrected mass flow boundary. There is a small difference for example it varies from 0.9118 to 0.9109. Can you tell me why is that?

Thank you very much for comments!!!

Quote:
Originally Posted by brunoc View Post
Hi Vit,

That probably means that for a small change in pressure you can have a large difference in mass flow. If that is the case, you should consider setting a mass flow at your outlet region. That will make your case more robust.

Cheers
__________________
Best Redards,
Saima
Saima is offline   Reply With Quote

Old   November 28, 2012, 16:21
Default
  #19
Senior Member
 
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 277
Rep Power: 21
brunoc is on a distinguished road
1. You are prescribing an outlet mass flow that is a function of a constant corrected mass flow and varying outlet pressure and temperature. If outlet pressure and/or outlet temperature changes, you get a change in mass flow, even though the corrected mass flow value did not change.

2. I'm not sure I understand what you meant when you said "varying P2 at the outlet". Does it mean you are using a pressure outlet to see ir the results match against the one with a mass flow outlet? If so, remember that on the mass flow outlet result you probably have a non-constant pressure field, so using a constant outlet pressure on another case would give you a different result. You should export both pressure and temperature fields and use those as boundary conditions. Ideally this should give you the same results as the one with the mass flow outlet.
brunoc is offline   Reply With Quote

Old   November 28, 2012, 16:50
Default
  #20
Senior Member
 
Saima
Join Date: Apr 2009
Location: Canada
Posts: 185
Rep Power: 16
Saima is an unknown quantity at this point
Yes, right. I wanted to draw speed line for that blade. That means now I have to take mass-flow on the exit if i want get back same efficiency on speed-line?


Quote:
Originally Posted by brunoc View Post
1. You are prescribing an outlet mass flow that is a function of a constant corrected mass flow and varying outlet pressure and temperature. If outlet pressure and/or outlet temperature changes, you get a change in mass flow, even though the corrected mass flow value did not change.

2. I'm not sure I understand what you meant when you said "varying P2 at the outlet". Does it mean you are using a pressure outlet to see ir the results match against the one with a mass flow outlet? If so, remember that on the mass flow outlet result you probably have a non-constant pressure field, so using a constant outlet pressure on another case would give you a different result. You should export both pressure and temperature fields and use those as boundary conditions. Ideally this should give you the same results as the one with the mass flow outlet.
__________________
Best Redards,
Saima
Saima is offline   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
convergence issue with multiphaseInterFoam sachinlb OpenFOAM Running, Solving & CFD 2 October 12, 2012 12:45
Pressure boundary condition issue Vijay FLUENT 0 April 6, 2012 14:35
Meshing related issue in Flow EFD appu FloEFD, FloWorks & FloTHERM 1 May 22, 2011 09:27
Issue Involving Paraview MechE OpenFOAM 22 October 31, 2010 09:29
Memory issue - Suse 10 - Opterons Andy R FLUENT 1 June 23, 2008 15:44


All times are GMT -4. The time now is 17:57.