Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

Error report in multiphase flow simulation

    • i.tamunodienye2
      Subscriber

      I have tried so much to make adjustments on the time-step size, solution control etc but nothing seem to work. I started having this problem when i reduced my mesh first cell height to 1e-06. See the attached error for your understanding and please help for solution.

    • Amine Ben Hadj Ali
      Ansys Employee
      Okay that is an error message telling that the global courant number is very large. With that error message we cannot help you: you need to describe the modeling task, your setup, boundaries, mesh quality, etc..
    • i.tamunodienye2
      Subscriber
      Do you mean i should describe the modeling task, setup etc in the comment box and submit here?
    • i.tamunodienye2
      Subscriber
      I reduced the time-step size to 0.0001 and also increased the max iteration/time-step to 50. See below residuals

      Three residuals are not falling below 1e-06 criteria (my setting) . I adjusted few things in the solution control but did not help.
      Pls what do i do

    • i.tamunodienye2
      Subscriber
      Global Courant Number [Explicit VOF Criteria] : 0.163532
      done.
      This is the value of global courant (above) after making the adjustment in my previous message.
    • Rob
      Forum Moderator
      Check the mesh and speed of the flow. The error looks to be as says re the Courant Number. This generally means you're not running a small enough time step: this assumption may also explain the poor convergence. However, we need more information, ie pictures & an explanation of the model and desired information.
    • i.tamunodienye2
      Subscriber
    • i.tamunodienye2
      Subscriber
      I have attached a word document for your attention.
      The attachments are many so the comment section could not support it, hence i have sent through the attached word document.
    • Rob
      Forum Moderator
      Staff aren't permitted to open or download attachments. We don't mind if you take a few posts to provide information.
    • Amine Ben Hadj Ali
      Ansys Employee
      Please share what you have put in the document in this forum: I do not download attachements.
    • i.tamunodienye2
      Subscriber
      The attachments only provided the set-up for the simulation. They are as follows:
      Flow Physics
      Solver: Transient and gravity (-9.81m/s2) turned on
      Operating condition: 2MPa, 303 deg C, 0kg/m3
      Turbulence model: k-omega SST, turbulence damping =10
      Multiphase model: Eulerian-Multi-Fluid VOF, Explicit formulation, sharp interface, interfacial diffusion turned on, 0.25 Courant, 1e-06 volume fraction cutoff, 2 phase (ideal gas and water as materials), Cp-piecewise-polynomial. Drag coefficient - anisotropic-drag, surface tension turned on, surface tension coefficient -1.406, interfacial area - ia-symmetric
      Boundary condition: For Inlet-gas: turbulent intensity-5%, hydraulic diameter-0.21m, mass flow rate-7.620921kg/s, mass-flow inlet
      For Inlet-liquid: turbulent intensity-5%, hydraulic diameter-0.21m, mass flow rate: 276.6256kg/s, volume fraction-1, mass-flow inlet
      For outlet: Pressure-outlet, turbulent intensity-5%, hydraulic diameter-0.21m, backflow volume fraction-0
      For wall: stationary wall, no-slip condition
      Solution methods:




      Solution control: pressure-3, density-1, body forces-1, momentum-0.7, TKE-0.8, SDR-0.8, TV-1, Energy-0.5
      Residuals
      Initialization:
      Firstly, the solution was initialize with the liquid in the domain. A time-step size of 1e-04 to 1e-06 was used to reduce the global courant number further down but the simulation stopped with the error below.
      There are also messages like turbulent viscosity larger than 1.000000.
      However, when i initialized the solution with the gas, the solution converged even in reverse flow condition. Anyway i am not comfortable with initializing the solution from the inlet-gas. I also changed the turbulence multi-phase model to "per phase". Also, the interfacial modelling was changed to sharp/dispersed and the volume fraction formulation to implicit. Lastly, for this case, all the spatial discretization was changed to QUICK. These changes were done when the solution was initialized with gas. However, I want to initialize from the inlet-liquid. In this case the liquid fills the domain at first while gas goes through the center
    • Rob
      Forum Moderator
      Did you patch the flow to be about right or rely on hybrid initialisation? Also how does the mesh look? Just because the cell quality is OK doesn't mean you have enough cells in the right places.
    • i.tamunodienye2
      Subscriber
      I did not patch the flow. The flow is completely filled with liquid at initialization. The mesh was ok with just VOF and also ok when i initialized with gas(but in reverse flow). I try use other meshes and try. This is how the hybrid-initialization comes up
      I varied the solution control several times but this did not go away.

    • Amine Ben Hadj Ali
      Ansys Employee
      Temperature limitations are critical here: what are you doing? Are you using expressions to do some settings?
    • i.tamunodienye2
      Subscriber
      I am not using expression.
      I set Cp(specific heat) to piecewise-polynomial.
      Also inlet and out temperature are the same (303K)
      I also set same temperature value as the operating temperature



      The thermal condition on the wall is "Heat Flux" for all the wall below


    • aitor.amatriain
      Subscriber
      The error messages after the hybrid initialization usually appear when one (or more) thermodynamic variables is zero at one (or more) boundaries.
      Could you please show us some screenshots of the mesh, as well as some contours of the solution after the initialization? If the contours after initialization do not make physical sense, then the simulation is useless.
    • i.tamunodienye2
      Subscriber
      Inlet section of mesh in Fluent

      Outlet section of mesh in Fluent


      Volume fraction of air
      The volume fraction of gas
      The volume fraction of gas is red color instead of blue in this case. I don't know reason for that.
      See attached as you have requested.






    • Rob
      Forum Moderator
      If the walls don't allow heat transfer and there is no other heating effect how much do you expect the density to change? Re the mesh, for multiphase we also need a relatively low aspect ratio, this can be at odds with the text book y+ requirements. Either increase the streamwise resolution or reduce the near wall resolution. I'd also favour a quad pave over O-grid to avoid jumps in cell size.
    • aitor.amatriain
      Subscriber
      We need more information. Where are gas and liquid inlets? Could you please show us contours of pressure and velocity after the initialization?
    • i.tamunodienye2
      Subscriber
      Gas inlet

      Liquid inlet



    • Rob
      Forum Moderator
      What are the flow conditions on the two inlets? Have you patched a region in downstream of the inlet so each boundary is flowing into material of it's own phase?
    • i.tamunodienye2
      Subscriber
      Gas mass flow rate = 7.620921 kg/s
      Liquid mass flow rate = 276.6256 kg/s
      I did not patch anywhere. The whole volume (fluid domain) was initialized with liquid in the first place before running the simulation. So the point is while the liquid fill the fluid domain, the gas will flow through the middle. See a void fraction result of VOF below.
      The fluctuation is the passage of the gas and liquid phases. The gas initially flow from 0 to 0.7 then followed by liquid and so on. This result was obtained with VOF and not multi-Fluid VOF

    • Rob
      Forum Moderator
      If you put your data into a Baker Chart what flow regime are you in?
    • i.tamunodienye2
      Subscriber
      The flow conditions are as follows:
      Gas mass flow rate: 7.620921 kg/s
      Liquid mass flow rate: 276.6256 kg/s
      Note, i did not patch the fluid domain because it was completely filled with liquid (initialized with liquid phase) as show below hence i felt no need for patching.


      It will interest you to know that same mesh gave me a converged solution in VOF simulation as shown below.



    • i.tamunodienye2
      Subscriber
      I constructed my flow map regime based on Taitel and Duckler transition equations for vertical upward flow. The pressure is 2MPa and density of 25kg/m3 for an ideal gas and water, t = 30 deg C, pipe dia = 0.21m. Flow maps with these properties don't exit. See below. The circled triangular in the annular flow regime is what i am using to run the simulation. I believe i didn't obtain full annular because the entrance length wasn't long enough. Though it was annular during the first 10,000 iteration before mixing


    • aitor.amatriain
      Subscriber
      As says, you should create a finer mesh
    • i.tamunodienye2
      Subscriber
      Please note the superficial velocities were converted to mass flow rates before using in ansys fluent
    • i.tamunodienye2
      Subscriber
      Ok i will do another mesh. Honestly it is a huge task doing this kind of mesh.
      See details of my mesh and let me have your comments


      Can you advise on the appropriate values i should mesh to.





    • Rob
      Forum Moderator
      If you use Workbench Meshing or Fluent Meshing it's a few button clicks to remesh. Aim for an aspect ratio near around 1 next to the inlet and for the first few diameters plus at the bends. Patch in the near inlet cell to be the correct phase for the adjacent inlet too.
    • Rob
      Forum Moderator
      To add, what is the inlet velocity for each phase?
    • i.tamunodienye2
      Subscriber
      The superficial velocities are as follows
      Gas superficial velocity = 8.8m/s equivalent of 7.620921 kg/s (mass flow rate)
      Liquid superficial velocity = 8m/s equivalent of 276.6256 kg/s (mass flow rate)
      I used ICEM CFD in this meshing. Never used Fluent meshing before. I did not try workbench meshing with this geometry.
      ...and for the first few diameters plus at the bends. Patch in the near inlet cell to be the correct phase for the adjacent inlet too.
      I am not clear with the above statement. Is there diagram to explain this?

    • Amine Ben Hadj Ali
      Ansys Employee
      So you expect having an annular flow? And you use a core patch? I am not sure if VOF model is the right choice here given the short entrance length where the flow mixes again. This kind of flows are really sensible to initialization and numerics. You need to converge deep every time step.
    • i.tamunodienye2
      Subscriber
      The slug flow regime is more important in my work. The reason i use VOF
Viewing 32 reply threads
  • The topic ‘Error report in multiphase flow simulation’ is closed to new replies.