CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Simple Algorithm for flow between parallel plates

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   April 10, 2020, 12:14
Default Simple Algorithm for flow between parallel plates
  #1
New Member
 
Vaibhav
Join Date: Feb 2020
Posts: 5
Rep Power: 6
vaibhavkhanna is on a distinguished road
Hey, I am quite new to CFD programming and was writing my own Matlab code for flow between parallel plates to get more familiar with the simple algorithm which I will be using for my thesis. I am trying to simulate the entrance development region which results in the parabolic velocity profile.
So I am getting NaN values after about 50 iterations of my solver. I have given constant velocity at inlet and u=0 at the walls along with zero pressure correction at the outlet. My guess is that it is related to some fundamental mistakes regarding the coefficients in the momentum equations since I am getting a centreline velocity greater than inlet before solving the pressure correction (continuity) equation but have been unsuccessful in finding that mistake.
Attached Files
File Type: txt salgo1.txt (14.9 KB, 18 views)
File Type: txt gauss_seidel1.txt (789 Bytes, 11 views)
vaibhavkhanna is offline   Reply With Quote

 

Tags
cfd, nan error, parallel plate flow, simple algorithm


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Finite Volume -- SIMPLE Algorithm Roger Main CFD Forum 9 September 25, 2023 12:04
SIMPLE algorithm Fernando Herrera Main CFD Forum 5 July 17, 2016 04:06
simpleFoam parallel AndrewMortimer OpenFOAM Running, Solving & CFD 12 August 7, 2015 18:45
Injection between parallel plates, homogenous mode Terje CFX 7 September 7, 2008 19:51
About Phase Coupled SIMPLE (PC-SIMPLE) algorithm Yan Kai Main CFD Forum 0 April 18, 2007 03:48


All times are GMT -4. The time now is 14:04.