All Courses
All Courses
Courses by Software
Courses by Semester
Courses by Domain
Tool-focused Courses
Machine learning
POPULAR COURSES
Success Stories
Objective: To setup up a channel flow tutorial that is provided by Convergent Science. To show for all 3 different meshes 1. Velocity and Pressure contour for all given mesh size.2. Surface with edges for all base mesh size.3. Plots for velocity, pressure, mass flow rate and total cell count for all 3 base mesh sizes.…
GAURAV KHARWADE
updated on 18 Dec 2019
Objective: To setup up a channel flow tutorial that is provided by Convergent Science.
To show for all 3 different meshes
1. Velocity and Pressure contour for all given mesh size.
2. Surface with edges for all base mesh size.
3. Plots for velocity, pressure, mass flow rate and total cell count for all 3 base mesh sizes.
Given:
Different mesh sizes are:
1. dx= 2e-4 m, dy= 2e-4 m, dz= 2e-4 m
2. dx= 1.5e-4 m, dy= 1.5e-4, dz= 1.5e-4
3. dx= 1.0e-4 m, dy= 1.0e-4, dz= 1.0e-4
Theory:
Here, we are going to setup a case of channel flow. In this tutorial we are going to use bunch of softwares that will helps us to pre and post- process the flow, simulate the flow.
List of Softwares are:
1. Converge studio →To pre-process the data needs to simulate the case. It plays an important role in generating the necessary input file only using GUI. It does not run simulation directly it creates input files which then can be used to run the simulation.
2. Cygwin → Cygwin is a collection of GNU and open-source tools that provide functionality similar to Linux distribution on windows.
3. Converge-2.3.26_msmpi_64 → As we got input files from converge studio we need to process or run these files we use converge-2.3.exe. To run simulation parallelly using nos. of processor we use mpiexec.exe
4. Post convert.exe →It convert all output files which are processed by converge-2.3.exe into the file which will be readable for post-processing in ParaView.
5. Paraview → This is used for post-processing our obtained results. It is an open-source, multi-platform data analysis and visualization application.
CASE SETUP:
In this case, we are going to set up a simulation of laminar flow through the channel using CONVERGE CFD.
All the case setup of channel flow simulation has been done the same as shown in the lecture the only changes we need to do are in the simulation time parameter. We know finner the mesh size longer will the simulation time as it requires more time to solve governing equations on all mesh elements. so we made changes in the simulation time parameter accordingly which is required for convergence.
3D Post-Processing Data ParaView:
1. Mesh comparison:
A key ingredient in the implementation of the finite volume method is setting up the geometrical support framework for the problem at hand. This process starts with mesh generation, which replaces the continuous domain by a discrete one formed of a contiguous set of nonoverlapping elements or cells delimited by a set of faces, and the defining of the physical boundaries through the marking of the boundary faces.
We will be looking here on a computational mesh on which the governing equations are subsequently solved
Case-1: dx=2e-4, dy=2e-4, dz=2e-4
Case-2: dx=1.5e-4, dy=1.5e-4, dz=1.5e-4
Case-3: dx=1.2e-4, dy=1.2e-4, dz=1.2e-4
Closer look comparison
Case-1:dx=2e-4, dy=2e-4, dz=2e-4
Case-2:dx=1.5e-4, dy=1.5e-4, dz=1.5e-4
Case-3:dx=1.2e-4, dy=1.2e-4, dz=1.2e-4
The above figures represent, complete domain discretized using a uniform grid system where we discretized along all axis of the domain (0.1*0.001*0.001) with different mesh sizes. As we can see case 1 is much coarse than other cases because we defined mesh size as 0.0002 along all dimensions of the domain.
2. Velocity and Pressure contour comparison:
As we are interested to see the velocity profile inside the computational domain where the flow of fluid takes place at a particular length of the domain from the start of the channel. As the flow taking place inside the channel is LAMINAR it is expected to have a parabolic velocity profile along the Y-axis of the domain and pressure variation along the length of the pipe according to Hagen-Poiseuille Equation.
Case-1: dx=2e-4, dy=2e-4, dz=2e-4
Case-2: dx=1.5e-4, dy=1.5e-4, dz=1.5e-4
Case-3: dx=1.2e-4, dy=1.2e-4, dz=1.2e-4
Here we have Velocity and pressure plots for all mesh sizes. All plots look very much similar to each other as we have already performed simulations for its convergence since we are dealing with different mesh sizes, simulation time plays a major role as we know finner the mesh larger will be the computational time as governing equations are solved for all computational mesh elements.
Computational Time for all different mesh sizes is as:
mesh size: 2e-4
mesh size: 1.5e-4
mesh size: 1.2e-4
From the above data, we can clearly say that Finner the mesh element higher will be the computational time as all governing equations and transport equations are being solved for each and every mesh element of the complete domain.
3. Velocity, Pressure, Mass Flow rate & Total cell count
Here we can see the rate of convergence to the exact solution in every cycle of computation at both boundaries i.e. inflow and outflow.
Based on the size of the mesh element, a certain amount of cycles for computation needed to reach exact solutions.
Case-1: mesh size 2e-4 (15000 cycles)
Average Velocity:
Total Pressure:
Average Mass Flow Rate:
Total Cell Count:
Case-2: mesh size 1.5e-4 (32000 cycles)
Average Velocity:
Total Pressure:
Average Mass Flow Rate:
Total Cell Count:
Case-3: mesh size 1.2e-4 (40000 cycles)
Average Velocity:
Total Pressure:
Average Mass Flow Rate:
Total Cell Count:
Simulations for all Mesh elements:
Case-1: dx=2e-4, dy=2e-4, dz=2e-4
Simulation clip:
Case-2: dx=1.5e-4, dy=1.5e-4, dz=1.5e-4
Simulation clip:
Case-3: dx=1.2e-4, dy=1.2e-4, dz=1.2e-4
Simulation clip:
All the above images are to show to end results of simulation after running the case for a certain amount of cycles(in order to achieve converged solution).
In the simulation, we can see the completely spurious results and a higher rate of convergence until certain time steps achieve. Once we attain that time step we started getting most likely outcomes till the last time step. And in the end time step, we got a converged solution from that we can draw all possible exact outcomes like velocity, pressure, species information, etc.
Conclusion:
1. From all the above graphs, we can say that finner the mesh higher will be the computational time as all the governing equations are being solved for all computational mesh.
2. Although computational time is higher for finner mesh, we surly expect greater accuracy in the end results. As we all know the higher the order of the error the faster it will decrease with mesh refinement.
3. Memory usage and memory storage increase with a decrease in mesh size.
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.
Other comments...
Week 9 - Senstivity Analysis Assignment
Objective: To write the code which will take entire reactions of GRI mechanism 3.0 and take out the most sensitive top 10 reactions. The main parameters are as follows: Write code to list out the top 10 most sensitive reactions from a list of all reactions from the GRI mechanism. The sensitivity parameters should be with…
04 Jan 2021 05:51 PM IST
Auto ignition analysis of combustible mixture methane under different conditions using Cantera and Python
Objective: To study auto-ignition using Cantera. Following are the tasks to perform using Cantera: Plot the variation of Auto Ignition time of Methane with a constant temperature of 1250K and pressure varying from 1 to 5 atm. Plot the variation of Auto Ignition time…
06 Dec 2020 04:55 AM IST
Week 6 - Multivariate Newton Rhapson Solver
Objective: To solve a given set of Ordinary Differential equations using the Multi-Variate Newton Raphson Method. Given: The set of ODE's are given below: dy1dt=−0.04⋅y1+104⋅y2⋅y3 dy2dt=0.04⋅y1−104⋅y2⋅y3−3⋅107⋅y22 dy3dt=3⋅107⋅y22 The jacobian should be estimated numerically and not analytically.…
01 Nov 2020 03:50 AM IST
Week 5 - Literature review: ODE Stability
Objective: To review the literature about ODE and to write the python program to substantiate our results. Theory: …
20 Oct 2020 03:52 PM IST
Related Courses
Skill-Lync offers industry relevant advanced engineering courses for engineering students by partnering with industry experts.
© 2025 Skill-Lync Inc. All Rights Reserved.