Menu

Executive Programs

Workshops

Projects

Blogs

Careers

Placements

Student Reviews


For Business


More

Academic Training

Informative Articles

Find Jobs

We are Hiring!


All Courses

Choose a category

Loading...

All Courses

All Courses

logo

Loading...
Executive Programs
Workshops
For Business

Success Stories

Placements

Student Reviews

More

Projects

Blogs

Academic Training

Find Jobs

Informative Articles

We're Hiring!

phone+91 9342691281Log in
  1. Home/
  2. Dushyanth Srinivasan/
  3. Week 1: Channel flow simulation using CONVERGE CFD

Week 1: Channel flow simulation using CONVERGE CFD

In this report, I will be simulating a channel flow in a domain of the dimensions: 0.1m long, 0.1m tall and the wideness of the domain is infinity (the flow does not vary across the z axis) for 3 different mesh sizes. Geometry Creation 1. Create Tool - using the create tool, a cuboidal geometry is created of l_x = 0.1m,…

    • Dushyanth Srinivasan

      updated on 10 Feb 2022

    In this report, I will be simulating a channel flow in a domain of the dimensions: 0.1m long, 0.1m tall and the wideness of the domain is infinity (the flow does not vary across the z axis) for 3 different mesh sizes.

    Geometry Creation

    1. Create Tool - using the create tool, a cuboidal geometry is created of l_x = 0.1m, l_y = 0.01m and l_z = 0.01m

    2. Boundaries - using the select triangles tool, multiple triangles are selected and given user defined names

    3. Normals were made visible, the normals should be pointing into the flow/domain

    4. Transform - this tool was used modify normal options

    5. Diagnosis - a final diagnosis was done to ensure no errors are presented in the geometry

     

    This is the final geometry seen in converge

    Case Setup

    Now, on to the case setup tab:

    Application Type

    Materials: Gas Simulation and Global Transport Parameters were set to default. In species, O2 and N2 were added.

    Simulation Parameters

    Boundary Conditions

    Inlet: 10001 Pa

    Outlet: 10000 Pa

    Top and Bottom walls: No-Slip, Temperature = 300K

    Front and Back: TWO_D

    Initial Conditions

    Physical Models

    Turbulence was unchecked as pressure in this case is too small to cause turbulent flow.

    Grid Control

    This is the step were sizes of each element is provided. 3 sizes were used in this analysis, they are:

     

    •  dx = 2e-4m,              dy = 2e-4m,       dz = 2e-4m
    •  dx = 1.5e-4m,           dy = 1.5e-4m,    dz = 1.5e-4m
    •  dx =  1.0e-4m,          dy = 1.0e-4m,    dz = 1.0e-4m

     

    Output/Post Processing

    Again, since flow will be laminar - all turbulent variables were unchecked.

    Now, our case setup is complete. The files will be exported into a folder using the Files Export tool (File -> Export->Export input files)

    In total 10 files were exported, these are:

    These files contain all the necessary information for the simulation.

    Running the Simulation

    1. Open cygwin

    2. Navigate to directory where case files were exported

    3. Run the following command

    mpiexec.exe -n 4 "C:\Program Files\Convergent_Science\CONVERGE\3.0.16\bin\intelmpi\converge.exe" restricted </dev/null> logfile.txt &

    This will take a while, you can view the progress in task manager. CPU usage is usually maxed out.

    Once CPU usage drops from 100%, the output files are generated. To view them in paraview, we must export them to a format which is supported by paraview.

    Go to 3D-post processing in converge,

    Post-Processing

    In Paraview

    Import these files into paraview

    The required plots/animation are generated

    In converge

    Go to Line plotting, select the case folder and plots can be viewed

     

    Outputs and Plots for each Case

    Case 1: dx = 2e-4m, dy = 2e-4m, dz = 2e-4m

    This is the Grid Control values used for this case

    1. Velocity and Pressure Contours

    These were taken in paraview.

    Inlet Pressure is higher as expected (and from the boundary condition) and pressure gradually decreases across the domain as the flow stabilises.

    Velocity plot is as expected for a developing laminar flow towards the left of the domain and eventually becomes laminar flow. The Velocity plot at the end of the domain across the section shows the distinct velocity plot expected for laminar flow. The flow is the lowest near the walls (due to boundary layer effect) and increases gradually, the maximum value of velocity is seen at the center of the domain (around 3.3 m/s).

    2. Mesh

    This was taken in paraview.

    The mesh is less fine as grid spacing is relatively high for this case.

    3. Velocity, Pressure, MassFlowRate and Cell Count Plots

    This was taken in converge -> Line plotting

    Velocity at the inlet is negative since flow enters the domain is considered negative, while velocity at the outlet is positive. Both velocities' abosolute values are roughly the same throughout the simulation showing that mass conservation is followed (since density is constant). The velocities initially start from 0 and slowly approach the true value as the solution nears the true value.

    Pressure at the inlet stays constant because of the boundary condition, and outlet pressure actually increases slightly to compensate for mass conservation.

    Mass flow rate at the inlet is negative since flow enters the domain is considered negative, while velocity at the outlet is positive. Both masses' abosolute values are roughly the same throughout the simulation showing that mass conservation is followed. The masses initially start from 0 and slowly approach the true value as the solution nears the true value.

    Cellcount, all values remain constant as expected, the total cell count is around 25000, and number of cells solved by each core is also seen.

    5. Animation

    https://youtu.be/C6k2Fi_kJVg

    In this animation, we can see flow developing and eventually stabilising

    Case 2: dx = 1.5e-4m, dy = 1.5e-4m, dz = 1.5e-4m

    This is the Grid Control values used for this case

    1. Velocity and Pressure Contours

    These were taken in paraview.

    Inlet Pressure is higher as expected (and from the boundary condition) and pressure gradually decreases across the domain as the flow stabilises.

     

    Velocity plot is as expected for a developing laminar flow towards the left of the domain and eventually becomes laminar flow. The Velocity plot at the end of the domain across the section shows the distinct velocity plot expected for laminar flow. The flow is the lowest near the walls (due to boundary layer effect) and increases gradually, the maximum value of velocity is seen at the center of the domain (around 3.1 m/s).

    2. Mesh

    This was taken in paraview.

    The mesh is more fine as grid spacing is relatively medium for this case.

    3. Velocity, Pressure, MassFlowRate and Cell Count Plots

    This was taken in converge -> Line plotting

    Velocity at the inlet is negative since flow enters the domain is considered negative, while velocity at the outlet is positive. Both velocities' abosolute values are roughly the same throughout the simulation showing that mass conservation is followed (since density is constant). The velocities initially start from 0 and slowly approach the true value as the solution nears the true value.

    Pressure at the inlet stays constant because of the boundary condition, and outlet pressure actually increases slightly to compensate for mass conservation.

     

    Mass flow rate at the inlet is negative since flow enters the domain is considered negative, while velocity at the outlet is positive. Both masses' abosolute values are roughly the same throughout the simulation showing that mass conservation is followed. The masses initially start from 0 and slowly approach the true value as the solution nears the true value.

     

    Cellcount, all values remain constant as expected, the total cell count is around 45000, and number of cells solved by each core is also seen.

    5. Animation

    https://youtu.be/1v2pBxTHzcg

    In this animation, we can see flow developing and eventually stabilising

    Case 3: dx = 1e-4m, dy = 1e-4m, dz = 1e-4m

    This is the Grid Control values used for this case

    1. Velocity and Pressure Contours

    These were taken in paraview.

    Inlet Pressure is higher as expected (and from the boundary condition) and pressure gradually decreases across the domain as the flow stabilises.

    Velocity plot is as expected for a developing laminar flow towards the left of the domain and eventually becomes laminar flow. The Velocity plot at the end of the domain across the section shows the distinct velocity plot expected for laminar flow. The flow is the lowest near the walls (due to boundary layer effect) and increases gradually, the maximum value of velocity is seen at the center of the domain (around 3.05 m/s).

    2. Mesh

    This was taken in paraview.

    The mesh is most fine as grid spacing is relatively low for this case.

    3. Velocity, Pressure, MassFlowRate and Cell Count Plots

    This was taken in converge -> Line plotting

    Velocity at the inlet is negative since flow enters the domain is considered negative, while velocity at the outlet is positive. Both velocities' abosolute values are roughly the same throughout the simulation showing that mass conservation is followed (since density is constant). The velocities initially start from 0 and slowly approach the true value as the solution nears the true value.

    Pressure at the inlet stays constant because of the boundary condition, and outlet pressure actually increases slightly to ensure mass conservation.

    Mass flow rate at the inlet is negative since flow enters the domain is considered negative, while velocity at the outlet is positive. Both masses' abosolute values are roughly the same throughout the simulation showing that mass conservation is followed. The masses initially start from 0 and slowly approach the true value as the solution nears the true value.

    Cellcount, all values remain constant as expected, the total cell count is around 100000, and number of cells solved by each core is also seen.

    5. Animation

    https://youtu.be/z5ZvyrFkjwQ

    In this animation, we can see flow developing and eventually stabilising.

    Leave a comment

    Thanks for choosing to leave a comment. Please keep in mind that all the comments are moderated as per our comment policy, and your email will not be published for privacy reasons. Please leave a personal & meaningful conversation.

    Please  login to add a comment

    Other comments...

    No comments yet!
    Be the first to add a comment

    Read more Projects by Dushyanth Srinivasan (45)

    Project 2 - Rankine cycle Simulator

    Objective:

      In this project, I will be writing code in MATLAB to simulate a Rankine Cycle for the given parameters. A Rankine Cycle is an ideal thermodynamic heat cycle where mechanical work is extracted from the working fluid as it passes between a heat source and heat sink. This cycle or its derivatives is used in steam engines…

    calendar

    04 Sep 2022 12:52 PM IST

    • MATLAB
    Read more

    Project 1 - Parsing NASA thermodynamic data

    Objective:

    In this project, I will be parsing a data file prepared by NASA. The contents of the data file can be used to generated thermodynamic properties such as Specific Heat at Constant Pressure 'C_p' (`J//(kg.K)`), Enthalpy `H or Q` (`J`) and Entropy `S` (`J//(kg.mol)`) at various temperatures. The files will be parsed in MATLAB…

    calendar

    31 Aug 2022 01:07 PM IST

    • MATLAB
    Read more

    Week 5 - Genetic Algorithm

    Objective:

    In this project, I will be generating a stalagmite function in MATLAB and find the global maxima of the function using Genetic Algorithm. A stalagmite function is a function which generates Stalactites, which are named after a natural phenomenon where rocks rise up from the floor of due to accumulation of droppings of…

    calendar

    29 Aug 2022 07:55 AM IST

    • MATLAB
    Read more

    Week 4.1 - Solving second order ODEs

    Objective:

    In this project, I will be writing code in MATLAB to solve the motion of a simple pendulum. A simple pendulum motion's depends on Newton's Second Law. The equation which governs the motion of a simple pendulum is (with damping) `(d^2theta)/(dt^2) + b/m(d theta)/(dt) + g/L sin theta = 0` Where, `theta` is the angular displacement…

    calendar

    23 Aug 2022 08:06 AM IST

    • MATLAB
    Read more

    Schedule a counselling session

    Please enter your name
    Please enter a valid email
    Please enter a valid number

    Related Courses

    coursecardcoursetype

    Accelerated Career Program in Embedded Systems (On-Campus) - Powered by NASSCOM

    Recently launched

    0 Hours of Content

    coursecard

    5G Protocol and Testing

    Recently launched

    4 Hours of Content

    coursecard

    Automotive Cybersecurity

    Recently launched

    9 Hours of Content

    coursecardcoursetype

    Pre-Graduate Program in Bioengineering and Medical Devices

    Recently launched

    90 Hours of Content

    coursecardcoursetype

    Pre-Graduate Program in 5G Design and Development

    Recently launched

    49 Hours of Content

    Schedule a counselling session

    Please enter your name
    Please enter a valid email
    Please enter a valid number

    phoneCall Us

                Do You Want To Showcase Your Technical Skills?
                Sign-Up for our projects.