-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Questions about myLusgsFoam solver for simulating low Mach number flow #13
Comments
Questions I had:
In my case, the inlet velocity profile is given based on experimental measurements, and the back pressure is specified. I would like to know whether the myLusgsFoam solver can also be used to handle cases with such boundary conditions. Thanks for professor! |
Hi Prof., Also I found a bug: Using OpenFOAMv2106 and flowRateDirectedInletVelocity boundaries, a uniform velocity direction is specified in the initial field. In the subsequently updated velocity field, the inlet velocity direction, namely "inletDirection" term, becomes a non-uniform vector field, and the information of the "rho" item is also lost, which may affect the convergence of the calculation to some extent. Later, I will upload a low Mach 2D test case for reference. |
Hi Prof., Unfortunately, the convergence of the test case has not been further improved. |
Hi, concerning low Mach flows: the myLusgsFoam does not contain low Mach preconditioning. Therefore, rhoSimpleFoam will be much more efficient ii that case (let say for Ma<0.3). The myLusgsFoam is sutable for transonic or high subsonic flows! The simpleFoam uses completely different formulation. It solves N-S equations for incompressible flows with constant density. The pressure is therefore in m2/s2 and not in Pascals! Moreover, it is legal for simpleFoam to have p=0 (which is not the case for myLusgsFoam) The myLusgsFoam is not compatible with pressureInletVelocity or pressureDirectedInletVelocity. Look at the source code of these conditions and you will probably found the reason :). Therefore, the correct combination of inlet BC is ether totalPressure+totalTemerature+subsonicInletTotal, or flowRateInletVelocity+totalTemperature+zeroGradient for p. Concerning the bug with inletDirection and rho: I will check it... |
Thanks for prof's reply! Previously, the commercial software Fluent or Numeca was commonly used, but without much concern about boundary condition settings. I think it's necessary to learn about them in the future. Thanks again! |
Hi professor Furstj,
I'm curious about the applicability of myLusgsFoam solver to simulate low-speed flow (almost incompressible).
The troubles are as follows:
Previously, simpleFoam solver was used to solve the low Mach compressor cascade, where the Mach number in the inlet was about 0.067. Using SST turbulence model, the results show perfect convergence.
Nowadays, I would like to simulate the same case with myLusgsFoam solver with the following boundary conditions:
inlet: fixed value for velocity and temprature, zero gradient for pressure;
outlet: fixed value for pressure, zero gradient for velocity and temprature.
I found that the results simulated by myLusgsFoam solver is more sensitive to the initial field than the rhoSimpleFoam solver.
The text was updated successfully, but these errors were encountered: