CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Acoustic boundary condition with pressure perturbation at inlet (https://www.cfd-online.com/Forums/cfx/203514-acoustic-boundary-condition-pressure-perturbation-inlet.html)

hand90 June 29, 2018 11:06

Acoustic boundary condition with pressure perturbation at inlet
 
Hello everyone

In my 2D simulation I am interested how pressure waves convect through a duct (later on through a 3D turbine stage). For this I need non-reflective boundary conditions. As mentioned in other posts this is a Beta setting in CFX and requires an Opening as boundary condition at the inlet and outlet. As I don't want any reflection I have set the Reflection Factor at the inlet and outlet to 0.

About the simulation:

Inlet: Opening Pressure and Direction, the pressure is a set to a mean pressure with a 300Hz perturbation of 1.9kPa. Relative pressure =140[kPa]+1.9[kPa]*sin(2*pi*300[Hz]*t)
Outlet: Static Pressure and Direction
Upper and lower domain boundaries are set as wall while the side walls are set as symmetry

The simulation is initiated with steady state simulation which converged very quick (no pressure perturbation modeled).
When moving to the transient simulation I get the following error:
ERROR #004100018 has occurred in subroutine FINMES.
Message:
Fatal overflow in linear solver.

However, I have ran the exact same simulation with a pressure perturbation without the acoustic boundary condition and an inlet and outlet instead of an opening and that worked with no problem.

My question is, what are the correct boundary conditions for an acoustic simulation with no reflection at the inlet and outlet, and where did I go wrong in my setup?

ghorrocks June 30, 2018 05:56

That is the problem with beta features. They are not always stable or reliable. That is why it is not a released feature. So try the normal things for numerical instability: smaller time step, double precision numerics, improved mesh quality and better initial conditions.

There are other ways you can do non-reflecting boundary conditions. One method is by grossly coarsening the grid at the boundary, probably using a GGI boundary. When the pressure wave hits the coarse grid it will be attenuated due to numerical dissipation. Another method is to have really long inlet and outlet duct such that the reflections don't get back to the region of interest within the simulation time. Finally you can put physical features which attenuate the waves - like a muffler - on the duct.

hand90 August 10, 2018 07:36

Thank you very much for your help!

As you mentioned the acoustic feature within CFX are very unstable and I will have to see if I will be successful with them at a later stage. However in the mean time I was able to get a converged solution by decreasing the time step (1e-5s). I have also tried using a long buffer zone with a coarse mesh. This definitely is an option, however it also introduces a lot of numerical noise.


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