Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

Diverging solution from Pressure-based to Density-based

    • killian153
      Subscriber

      Hello everyone,


      I try to simulate a convergent-divergent nozzle flow based on this subject https://ntrs.nasa.gov/search.jsp?R=19820006179
      Following the method used by these people: https://tfaws.nasa.gov/TFAWS11/Proceedings/TFAWS2011-AE-001.pdf?fbclid=IwAR28cKI5Ghk_hSVQ5ckgZiXs3ibXEyAWBguCsy7cCUrd8aXHURRLa3gRX1E


      The methods used are:


      - Pressure Based Coupled Solver (PBCS) with 1/ 2nd order for all equations OR 2/ PRESTO for Pressure and QUICK for other equations


      - Density Based Solver (DBNS) with 2nd order for all equations


      Input parameters:


      Material: Air (ideal-gas)


      Model: SST k-omega (2 equ.)


      Boundary conditions: 1 pressure inlet (2.5 atm), 1 pressure outlet (1 atm)


      Solution method: ROE-FDS - Least square - 2nd order


      Initialization method: Hybrid or Standard


      I successfully represented the model with the Pressure-based solver both for 2nd order and PRESTO/QUICK as you can see below:



      But as soon as I move to the Density based solver, I get a diverging solution, even if I change the Hybrid initialization to the Standard initialization. It always starts pretty well but diverges after around 250 iterations, when the mach disk appears. As you can see on these pictures (I stopped the simulation right before the divergence):



      I tried to change settings such as turbulent model (going from k-omega to k-epsilon etc.) and also inlet pressure, pseudo transient on/off... but it always diverges. I have the same problem on other projects but here, I don't understand why I have good results with Pressure based solver and not with Density based solver.


      At first, I thought it was related to Mesh quality but I tried on an other project (with good results on density based solver) to move from a good mesh (with a converged solution) to coarse mesh, and the solution still converges. I think the problem is related to the shocks, but I can't verify it.


      Have you any thoughts about from where does the problem comes from?


      Best regards,


      Killian

    • Rahul Kumar
      Ansys Employee

      Hello,


      When you using the Density based approach, can you try running it with AUSM as the flux type? 


      Regards,


      Rahul 

    • killian153
      Subscriber

      Hello Rahkumar,


       


      I already tried to run it with AUSM, nothing worked. But yesterday I found the solution (which is very simple): when I was moving from PBCS to DBNS, Fluent changed the CFL from 1 to 5 (I don't know why) and I didn't noticed, since it was previously set to 1.


      I ran the simulation with CFL=1, Implicit and AUSM and here are the results:




       


      But do you know why I get steeper curves than the paper when talking about the pressure coefficient near the nozzle wall? Is it related to my mesh?


       


      My results:



      Their results:



       

    • Rahul Kumar
      Ansys Employee

      Glad you got it sorted out. 


      Yes, it could be because of your mesh and also, reduce the CFL number further and try with the simulation. 

Viewing 3 reply threads
  • The topic ‘Diverging solution from Pressure-based to Density-based’ is closed to new replies.