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

Outflow condition CfX-Fluent

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By fek66
  • 1 Post By ghorrocks

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 6, 2011, 05:16
Default Outflow condition CfX-Fluent
  #1
Member
 
anonymous
Join Date: Jan 2011
Posts: 42
Rep Power: 15
fek66 is on a distinguished road
Hi All ;
till now no response about the equivalent of outflow condition to setup a BC in CFX Pre witch means ( a zero first derivative of all variables flow ). this conditition is used in fluent.

this is the post of a CFD user .

I'm moving from Fluent to CFX. There is this boundary condition in Fluent named outfow where the solver sets the normal derivative of flow variables to zero for that boundary edge. How is it possible to use this boundary condition in CFX. As far as I've understood there is only INLET, OUTLET, OPENING, WALL and SYMMETRY boundary conditions in CFX. Any help is really appreciated.

many thanks.
rgd likes this.
fek66 is offline   Reply With Quote

Old   March 6, 2011, 17:14
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Incompressible or compressible flow? If compressible, sub-sonic or supersonic?
ghorrocks is offline   Reply With Quote

Old   March 7, 2011, 04:57
Default
  #3
Member
 
anonymous
Join Date: Jan 2011
Posts: 42
Rep Power: 15
fek66 is on a distinguished road
incompressible and sub-sonic flow.
fek66 is offline   Reply With Quote

Old   March 7, 2011, 18:57
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The outlet in CFX is similar. It can be set up to use zero gradient on all parameters except pressure which needs to be defined.
ghorrocks is offline   Reply With Quote

Old   March 8, 2011, 06:02
Default
  #5
Member
 
anonymous
Join Date: Jan 2011
Posts: 42
Rep Power: 15
fek66 is on a distinguished road
how can I set up CFX outlet to use a zero gradient on all parameters ?
more details please.
fek66 is offline   Reply With Quote

Old   March 8, 2011, 17:01
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
That is a symmetry plane.

You have to define at least one parameter at an outlet.
ghorrocks is offline   Reply With Quote

Old   June 10, 2011, 16:05
Default
  #7
New Member
 
Joseph Tipton
Join Date: Jun 2010
Posts: 27
Rep Power: 15
jtipton2 is on a distinguished road
Dr. Horrocks,

I'm a little confused by your statement here regarding a symmetry plane BC in CFX. I don't see how it could be used as an outlet BC since it requires zero normal velocity at the symmetry plane in addition to zero normal gradients of all variables.

It is my understanding that, in Fluent, you can specify a "outflow" boundary condition which specifies a zero diffusion flux for all flow variables along with an overall mass balance correction. From the Fluent User's Guide, Section 7.3.2:
Quote:
Outflow boundary conditions are used to model flow exits where the details of the flow velocity and pressure are not known prior to solution of the flow problem. They are appropriate where the exit flow is close to a fully developed condition, as the outflow boundary condition assumes a zero streamwise gradient for all flow variables except pressure. They are not appropriate for compressible flow calculations.
The CFX documentation I have read does not seem to address how this could be implimented. Do you have any insight that you could share?
jtipton2 is offline   Reply With Quote

Old   June 10, 2011, 16:21
Default
  #8
New Member
 
Joseph Tipton
Join Date: Jun 2010
Posts: 27
Rep Power: 15
jtipton2 is on a distinguished road
I'll add that this question also relates to a previous topic:

http://www.cfd-online.com/Forums/cfx...w-b-c-cfx.html

This issue is that, when modeling pipe flow, I often don't know the pressure. How is it possible to specify a velocity or mass flow rate at the inlet along with zero gradients in all variables at the outlet?
jtipton2 is offline   Reply With Quote

Old   June 11, 2011, 07:40
Default
  #9
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Quote:
I'm a little confused by your statement here regarding a symmetry plane BC in CFX. I don't see how it could be used as an outlet BC since it requires zero normal velocity at the symmetry plane in addition to zero normal gradients of all variables.
The comment was "zero gradient on all parameters". That is a symmetry plane, but I guess the symmetry plane has the additional constraint of no flow normal to it. I guess a bit cheeky of me to change the subject like that but the question was not very specific.

Quote:
This issue is that, when modeling pipe flow, I often don't know the pressure. How is it possible to specify a velocity or mass flow rate at the inlet along with zero gradients in all variables at the outlet?
No, you need to specify pressure at the outlet in your case. But for incompressible flows the pressure is relative anyway, so the outlet just becomes a reference pressure. You obviously need to be more careful in compressible flows.
ghorrocks is offline   Reply With Quote

Old   December 22, 2014, 09:54
Default
  #10
New Member
 
saleh
Join Date: Nov 2014
Posts: 16
Rep Power: 11
sfallah is on a distinguished road
Dear All
What is the best outlet boundary condition for transonic(subsonic inlet and outlet but transonic passage) compressor and in general transonic turbomachines? why?
I would like to have specified inlet mass flow rate. I use total pressure(because of more stable and better convergence behavior than inlet mass flow rate) at inlet but by applying static pressure at outlet, desired mass flow rate is not be obtained.

Last edited by sfallah; December 23, 2014 at 00:11.
sfallah is offline   Reply With Quote

Old   June 4, 2019, 17:09
Default
  #11
Member
 
Soumitra Vadnerkar
Join Date: Aug 2018
Posts: 70
Rep Power: 7
soumitra2102 is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
No, you need to specify pressure at the outlet in your case. But for incompressible flows the pressure is relative anyway, so the outlet just becomes a reference pressure. You obviously need to be more careful in compressible flows.
For a multiphase-phase change (condensation) flow (compressible flow) inside a tube, I know pressure, temperature and mass flow rate (initially all gas) at inlet only.
What should I use as an outlet boundary condition?

P.S I have experimentally determined pressure drop too.
soumitra2102 is offline   Reply With Quote

Old   June 4, 2019, 19:56
Default
  #12
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Then you know the exit pressure, so use that for the exit pressure boundary and see if the simulation gets the correct pressure drop as a validation of the simulation.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   June 4, 2019, 21:42
Default
  #13
Member
 
Soumitra Vadnerkar
Join Date: Aug 2018
Posts: 70
Rep Power: 7
soumitra2102 is on a distinguished road
I would like to explain my case with you.

I have a multiphase (liquid water-vapor) fluid flow through a tube.
The inlet conditions are 3.02MPa, 0.210Kg/s @ 240.47K (saturated vapor).

The tube outer surface is surrounded by 100C water at 1 atm (saturated liquid water) which I am not simulating for now. I simply put the tube wall temperature and the solid domain to be isothermal @ 100C.

The outlet conditions of the tube are actually required part of solution. But I have the experimental pressure drop across the tube to be of magnitude 7.25KPa.


I am trying to transient simulate the condensation of the flow using CFX and IAPWS water database. (water liq. and water vap. are defined for appropriate range along with their homogenous mxtr.)

Tube fluid domain reference pressure is put as 3.02MPa.
Now, my question is, should I use pressure inlet with 0MPa static relative pressure and pressure outlet with -7.25KPa static relative pressure?
Domain will be initialized with 0MPa relative static pressure.

If so, how can I validate the pressure drop if I am supplying the same information to CFX by myself? Also, how will CFX know about the mass flow rate information available for inlet?

Thank You in advance for you guidance.
soumitra2102 is offline   Reply With Quote

Old   June 4, 2019, 21:59
Default
  #14
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Sorry, I did not explain fully. Use a mass flow rate boundary for your inlet and a pressure boundary for your outlet. Then the pressure drop can be compared against your experimental results as a validation.
soumitra2102 likes this.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   June 4, 2019, 22:23
Default
  #15
Member
 
Soumitra Vadnerkar
Join Date: Aug 2018
Posts: 70
Rep Power: 7
soumitra2102 is on a distinguished road
Thank You for your response.

But can you please comment on pressure initialization in the flow domain?

If I initialize the domain with static relative pressure 0MPa (reference pressure already set as 3.02MPa), am I fixing the pressure drop making the problem over-constraint?
soumitra2102 is offline   Reply With Quote

Old   June 4, 2019, 23:33
Default
  #16
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Your experiment has the inlet pressure 3.02MPa so your outlet is about 3.013MPa.

If you use 3.02MPa as the reference pressure then your outlet pressure boundary should be -7.25kPa and your inlet mass flow rate should be 0.210kg/s @ 240.47K (saturated vapor). Using 0Pa everywhere as your initial condition would make sense.

No this is not over constraining the pressure. From your initial guess the inlet pressure will vary until it reaches the inlet pressure it predicts from the flow rate you specify. If your simulation is accurate the inlet pressure (relative) should be 0Pa. But any simulation error or inaccuracy will result in that inlet pressure deviating from 0Pa, so it is not over constrained.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   June 4, 2019, 23:40
Default
  #17
Member
 
Soumitra Vadnerkar
Join Date: Aug 2018
Posts: 70
Rep Power: 7
soumitra2102 is on a distinguished road
Thank You for your response
soumitra2102 is offline   Reply With Quote

Old   June 5, 2019, 07:01
Default
  #18
Member
 
Soumitra Vadnerkar
Join Date: Aug 2018
Posts: 70
Rep Power: 7
soumitra2102 is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
No this is not over constraining the pressure. From your initial guess the inlet pressure will vary until it reaches the inlet pressure it predicts from the flow rate you specify. If your simulation is accurate the inlet pressure (relative) should be 0Pa. But any simulation error or inaccuracy will result in that inlet pressure deviating from 0Pa, so it is not over constrained.
So do you mean that the inlet pressure will adjust itself (starting from initial guess) throughout the transient simulation time until I stop the simulation (as soon as required pressure drop is achieved)?

If I put the guess value exactly equal to the required pressure drop, then I am getting error just after 1st iteration (momentum terms are crazy (of the order of 10^19)).

What do you think, should I use little higher or lower guess value than real (3.02MPa abs i.e. 0MPa relative) pressure?
soumitra2102 is offline   Reply With Quote

Old   June 5, 2019, 19:28
Default
  #19
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The initial condition is just that, it is just an initial condition. The solver will then adjust the variables available to what it thinks will happen.

Small changes in the initial conditions sometimes have an affect on the result. Fluid mechanics is full of examples where small changes in initial conditions makes big changes in the resulting flow field - look at the butterfly effect, turbulence, chaos theory etc.

If your momentum terms are so large then you are having problems with numerical stability. See the FAQ which discusses numerical stability for convergence problems: https://www.cfd-online.com/Wiki/Ansy...gence_criteria
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks 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
CFX vs. Fluent George FLUENT 43 May 15, 2012 23:42
High Resolution (CFX) vs 2nd Order Upwind (Fluent) gravis ANSYS 3 March 24, 2011 02:43
Wall function formulation in CFX and Fluent gravis ANSYS 0 May 4, 2010 11:03
Gradient Discretization CFX vs Fluent Scott Nordsen FLUENT 1 December 3, 2009 18:50
Fluent and CFX Ale Main CFD Forum 7 July 30, 2008 21:14


All times are GMT -4. The time now is 05:02.