CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Outlet boundary condition in a curved flow

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 18, 2023, 08:56
Post Outlet boundary condition in a curved flow
  #1
Member
 
Join Date: Apr 2022
Posts: 31
Rep Power: 4
AMR96 is on a distinguished road
Hello,

I am trying to simulate air flow in a curved tunnel over a car and have some questions regarding the boundary condition selection. Since the flow in a curved path is not symmetric and the velocity is higher on the outside as a result the pressure distribution at the outlet is not uniform and there is a gradient.

In my first attempts of the simulation I made the assumption that pressure is equal at the atmospheric pressure at the outlet and selected the standard fixedValue BC for the outlet however the pressure residual doesn't decrease below 10^-2 magnitude unless I change the URF in which case the best residual I get is around 10^-3.

I did some digging around the forum and found that maybe the pressureinletoutletVelocity BC could help. This is what I set up as my boundary conditions:

For pressure
Code:
inlet
{
    type zeroGradient;
}

outlet
{
    type totalPressure;
    rho none;
    p0 uniform 0;
    value uniform 0;
}
For U:
Code:
outlet
{
    type pressureInletOutletVelocity;
    value uniform (0 0 0);
}

Another method that I have found was to simulate with fixedValue condition at the outlet and extract the pressure profile of the inlet then plot it as a function of radius and then find the equation that fits the curve. Afterwards, using groovyBC, I would define the outlet pressure boundary condition with the new equation.

Now, the questions:
1. For the method with pressureInletOutletVelocity, I would like to know if this boundary condition can help achieve what I want to do or should I use the method with a custom boundary condition?

2. In the method with the custom boundary condition, the equation for the plot would be a linear equation of the type p(x)=ax+b. In this case would defining the pressure outlet boundary as the following be correct?

Code:
type groovyBC;
variables (''xp=pos(x) .x'');
valueExpression ''a*xp+b'';
value uniform 0;
I have also included a picture of the domain for reference. The flow enters from the nearside and is along the x-axis and z-axis.


Many thanks in advance for any guidance!
Attached Images
File Type: jpg tunnel.JPG (26.8 KB, 1 views)
AMR96 is offline   Reply With Quote

Reply

Tags
boundary condition, pressure b.c, simplefoam pressure bc


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
Phase-Specific and Mixture Condition for mass flow outlet boundary condition dhaya400 Fluent Multiphase 0 November 4, 2020 04:09
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 07:30
volumetric flow rate is fluctuating in outlet boundary condition location oozcan FLUENT 1 November 30, 2016 03:00
Multiphase flow - incorrect velocity on inlet Mike_Tom CFX 6 September 29, 2016 01:27
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 17:44


All times are GMT -4. The time now is 09:12.