I’m trying to solve supersonic cavity flow case at Mach 2.0 using PyFR 1.6.0. The attached files are mesh files and case setup file for the simulation. I would like to set zero velocity inside cavity region (Y <= 0), and uniform velocity (2.366431913, 0) with smooth velocity transition from non-slip wall in upper cavity region (Y > 0).
How can we set the velocity distribution in [soln-ics] section of ini file?
I set the initial velocity distribution using hyperbolic tangent function, and could run the case.
Current issues are shock wave generation from bottom of inlet as shown in the attached figure and termination of simulation job with an error message “RuntimeError: Minimum sized time step rejected”. I’m trying to solve the issue.
I set the initial velocity distribution using hyperbolic tangent function, and could run the case.
Great!
Current issues are shock wave generation from bottom of inlet as shown in the attached figure and termination of simulation job with an error message “RuntimeError: Minimum sized time step rejected”. I’m trying to solve the issue.
May require some tuning of the artificial viscosity parameters - which can be a bit fiddly.
I could extend total simulation time by adjusting the artificial viscosity parameter, velocity distribution of initial condition and inlet boundary condition, although I have still got the same error message “RuntimeError: Minimum sized time step rejected”. It seems that unphysical pressure or density distribution at the bottom right corner of cavity at the last time step is cause of the error. I will try to make the mesh at the region finer.