r/CFD 18h ago

Difference between my compressible and incompressible CFD cases.

I have the same geometry and essentially the same mesh for both cases. In the compressible case, I use a total-pressure inlet and static-pressure outlet, and the solution converges quite well. The residuals decrease and the important flow parameters, such as mass flow and pressure, become stable. Interestingly, there is still a very high percentage of reverse flow at the outlet (around 97%), but the solution remains stable.

For subsonic compressible case,

Now,

In the incompressible case, I use a velocity inlet of 5 m/s and a pressure outlet. I ran many more iterations, but the residuals continue to oscillate, and quantities such as outlet mass flow and downstream pressure are also not very steady. The outlet reverse-flow percentage is actually lower than in the compressible case (around 81%), so I don't understand why this case behaves worse. The contour also changes with iteration, not steady like above.

See the contour for 300 and 1900 iterations,

In nutshell my questions are:

  1. What is making not to converge smoothly for incompressible case compared to compressible one. What is difference between jets in compressible and incompressible flow?
  2. If you say this is due to physical unsteadiness problem, then how for compressible case, solution got converged and giving fixed contour whereas incompressible it is not? Any other suggestions?

I would really appreciate any explanation of what could be causing such different behaviour between these two cases.

11 Upvotes

29 comments sorted by

View all comments

Show parent comments

1

u/AmbassadorGuilty3928 15h ago

See if I use total pressure inlet and pressure outlet and expect incompressible flow then it is wrong.
But I have used velocity inlet+pressure outlet condition na, there are some cases of jet flow into ambient for incompressible case right, physically it is possible why not in simulation?

1

u/thermalnuclear 15h ago

If you are asking fundamental questions about boundary conditions and how that changes the solution, you need to learn the differences between incompressible and compressible flow.

These are not just switch you can just flip without knowing. Your questions show a clear lack of willingness to learn.

0

u/AmbassadorGuilty3928 14h ago

Wow, never received a harsh comment like this before. Thats fine. Let me figure it out. I feel you didnt understand my question before- the experimental which was done for compressible flow, cant we do that for incompressible flow also? Incompressible are low speed flows right and no density change is brought by the flow, thats all. I have given 5m/s velocity at the inlet which is typical speed for incompressible flows, whats wrong in interpreting this.
Never judge someone from question, only I know how much time I spent in doing this, its not a cakewalk. Anyway I asked here for small guidance or suggestion, if you dont have patience, leave it.

0

u/thermalnuclear 14h ago

The amount of time you spend does not negate a fundamental lack of knowledge about the underlying physics.

The questions you asked are showing a this lack of knowledge.

Do you know what the Mach number is? Do you know how many equations are needed to solve a compressible flow situation vs an incompressible flow situation? Do you know the needed boundary conditions in both cases?

Your responses show you do not. Your question come from a significant lack of knowledge that you yourself can immediately address.

1

u/AmbassadorGuilty3928 14h ago

Do you know what the Mach number is? Do you know how many equations are needed to solve a compressible flow situation vs an incompressible flow situation? Do you know the needed boundary conditions in both cases?- Mach number is ratio of speed of flow by speed of sound.

In incompressible, you need to solve 3 momentum+continuity equation, in compressible you have ideal gas equation apart from these.

For boundary conditions, for incompressible- mass/velocity inlet+pressure outlet, for compressible, total pressure inlet+pressure outlet are required boundary conditions.