Counterflow CFD Simulation within a Canal, ANSYS Fluent Training

Rated 0 out of 5
(be the first to review)


The present problem simulates a counterflow in a canal using ANSYS Fluent software.

This ANSYS Fluent project includes CFD simulation files and a training movie.

There are some free products to check our service quality.

To order your ANSYS Fluent project (CFD simulation and training), contact our experts via [email protected], online support, or WhatsApp.


Project Description

The present problem simulates a counterflow in a canal using ANSYS Fluent software. The purpose of this work is to investigate the type of fluid flow behavior when exposed to a flow in the opposite direction. In this simulation, water flows from the canal into a rectangular section horizontally, and at the same time another flow of water from a pipe lying on the floor of the same canal, horizontally but in the opposite direction of the initial flow into the canal.

The inlet water flow velocity from the rectangular section of the channel is defined as 0.3 m.s-1 and the inlet water flow velocity to the pipe is defined as 2 m.s-1. Also, the spaces above this canal are considered as special spaces for open air flow; So that the boundary condition of inlet pressure with relative pressure equal to zero is used. Therefore, since in the computational domain of the present model, two different types of fluids including water and air are used, the multi phase VOF model is used for the current simulation.

Canal Geometry & Mesh

The present model is designed in three dimensions using Design Modeler software. The geometry of the model consists of a channel with a rectangular cross section that has a length of 8 m and a rectangular cross section with a length and width of 3 m and 1 m. At the bottom of the canal, a 4 m long pipe and 0.05 m in diameter is lying down.


The meshing of the model has been done using ANSYS Meshing software and the mesh type is unstructured. The element number is 256899. The following figure shows the mesh.


Counterflow CFD Simulation

To simulate the present model, several assumptions are considered:

  • We perform a pressure-based solver.
  • The simulation is steady.
  • The gravity effect on the fluid is ignored.

A summary of the defining steps of the problem and its solution is given in the following table:

Viscous   k-epsilon
  k-epsilon model standard
  near-wall treatment standard wall function
Multi phase Model   VOF
  formulation implicit
  interface modeling type sharp
  number of Eulerian phase 2 (air & water)
Boundary conditions
Inlet-Channel-Down   Velocity Inlet
  velocity magnitude 0.3 m.s-1
  water volume fraction 1
Inlet-Channel-Up   Pressure Inlet
  gauge pressure 0 Pascal
  air volume fraction 1
Inlet-Pipe   Velocity Inlet
  velocity magnitude 2 m.s-1
  water volume fraction 1
Inlet-Above Channel   Pressure Inlet
  gauge pressure 0 Pascal
  air volume fraction 1
Outlet-Channel   Pressure Outlet
  gauge pressure 0 Pascal
Wall-Pipe   Wall
  wall motion stationary wall
Pressure-velocity coupling   Coupled
  pressure PRESTO
  momentum second order upwind
  turbulent kinetic energy first order upwind
  turbulent dissipation rate first order upwind
  volume fraction compressive
Initialization methods   Standard
  gauge pressure 0 Pascal
  velocity 0 m.s-1
  water volume fraction 0

Results of Counterflow in a Canal

At the end of the solution process, two-dimensional and three-dimensional contours related to the pressure, velocity, and volume fraction of each of the air and water phases are obtained.

All files, including Geometry, Mesh, Case & Data, are available in Simulation File. By the way, Training File presents how to solve the problem and extract all desired results.


There are no reviews yet.

Leave a customer review

Your email address will not be published. Required fields are marked *

Back To Top

Refund Reason

you tube
Call On WhatsApp