|
[Sponsors] |
What is Zero Gradient for Opening bound condition? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 13, 2020, 16:51 |
|
#21 |
Senior Member
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33 |
If you expect the flow to leave the domain on that boundary (right most boundary in Domain 2), the flow must be extremely slow to impose a Dirichlet condition.
If the mass flow is leaving the domain, what in the physics can force the outlet value? I do not think the boundary conditions on that boundary, pressure specified with outflow plus fixed additional variable is an ill-posed problem unless the Reynolds number is very small, say ~1 If that is the case, I would use an outlet boundary condition, and manually add the BC you want for the Additional Variable, the UI will warn you but you can try and see if the solver accepts the setup. Then, verify the solution makes sense for you. ADDITIONAL VARIABLE: MyVar Option = Value Additional Variable Value = <real> END |
|
January 14, 2020, 05:45 |
|
#22 | |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,928
Rep Power: 28 |
Quote:
Given the uncommon physics, I would opt for somehting like Comsol, which is better equipped for this than CFX. |
||
February 4, 2020, 14:38 |
|
#23 |
Member
katty parker
Join Date: May 2018
Posts: 37
Rep Power: 8 |
Dear Opaque,
Thanks for letting me know about this approach. Although it works in some cases, there are cases that using this approach will end up with an error "segmentation violation". Now I have three questions: 1- There must be a reason that ANSYS did not consider "zero flux" option for the additional variable in the "opening" boundary conditions. May I ask you to please share your thoughts on this. 2- When I use "Outlet" boundary condition, CFX just requires the outlet pressure and do not ask any information regarding the value of additional variable for this boundary condition. Based on my knowledge there must a boundary condition defined on this boundary otherwise we would not be able to solve the transport equation numerically. How the "Outlet" boundary condition handle the additional variable? 3- I know we can force the values of velocity vector components to be equal to a specific value at a location using the general momentum source term. Is it possible to do the same with the pressure value? I mean can we set the value of pressure to be a specific value at a specific location inside our computational domain? Many thanks in advance. |
|
February 4, 2020, 15:59 |
|
#24 | |
Senior Member
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33 |
Quote:
1 - Flux = mdot * Additional Variable 2 - Flux = - DiffCoeff * grad (Additional Variable).Normal 3 - Flux = mdot * Additional Variable + DifCoeff * grad (Additional Variable).Normal I am not certain which of three would you expect, nor which one will make sense for you. [QUOTE] 2- When I use "Outlet" boundary condition, CFX just requires the outlet pressure and do not ask any information regarding the value of additional variable for this boundary condition. Based on my knowledge there must a boundary condition defined on this boundary otherwise we would not be able to solve the transport equation numerically. How the "Outlet" boundary condition handle the additional variable? [\QUOTE] I agree with you on the need for a boundary condition at every boundary. However, the software provides us with a built-in treatment for outlets where no user input is required. Which treatment is used? The software assumes that diffusion is negligible; therefore, is advection dominated at the outlet (recall is also subsonic); therefore, the solution at the boundary MUST come from the interior. [QUOTE] 3- I know we can force the values of velocity vector components to be equal to a specific value at a location using the general momentum source term. Is it possible to do the same with the pressure value? I mean can we set the value of pressure to be a specific value at a specific location inside our computational domain? [\QUOTE] Though the software may allow you to force a value anywhere, it is not necessarily correct to do so. The Navier-Stokes equations, and the advection transport equations do not support multi-value boundary conditions at the same boundary. Either you know the value exactly, the gradient, or combination of both (Robins condition), but not both separately. Many thanks in advance.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. Last edited by Opaque; February 4, 2020 at 18:52. Reason: Typo |
||
February 4, 2020, 16:58 |
|
#25 | |||
Member
katty parker
Join Date: May 2018
Posts: 37
Rep Power: 8 |
Thanks for the reply.
Quote:
Quote:
Quote:
Last edited by katty17; February 4, 2020 at 17:00. Reason: typos |
||||
February 4, 2020, 18:23 |
|
#26 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144 |
Many boundary conditions can be validly applied to the inlets and outlets of domains. If you do a sensitivity study of how close the boundary can be to the region of interest you will find that boundary conditions which more closely match the actual conditions can be placed a lot closer than ones which do not match well. In other words, the error from the boundary condition fades out over distance; and boundaries with more error take longer to fade out.
This means that the CFX applied boundary condition where the boundary value is convected from the flow is a better boundary than the zero flux boundary for cases where the flow is dominated by convection. So a sensitivity analysis will show that the CFX default convected boundary will be OK closer to the area of interest than the zero flux boundary. This means the simulation will be smaller for a given accuracy with the convected boundary compared to the zero flux boundary. Regarding your last paragraph - If you think this was a good approach don't you think it would already be in the software by default? CFX does not do your described approach as it is not a recommended method.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Periodic boundary condition | Arif | FLUENT | 3 | March 9, 2017 02:18 |
zero-diffusion (constant gradient) boundary condition | thomas99 | OpenFOAM | 4 | July 29, 2011 05:59 |
Calculation of pressure gradient in periodic boundary condition | ksaat | FLUENT | 7 | May 16, 2011 04:59 |
CFX Solver : Sudden crash | Hervé | CFX | 2 | June 16, 2008 07:40 |
How to compute gradient for non-orthogonal grids? | Paul Hsieh | Main CFD Forum | 3 | November 11, 2003 05:52 |