I am just new to writing own code to my problem. Initially I am trying with simple cases like flow in rectangular duct etc.
I am stuck and having issues with following two aspects:
1. While dealing with momentum equation using finite difference method, how to implement SIMPLE algorithm in steady state case.
The term del(rho*u*u)/del(x) and so on when discretised using FDM for pressure cell i,j and x momentum i+0.5, j cell will give the aforesaid term as u(i+1.5,j)-u(i-0.5,j) while pressure will be p(i+1,j)-p(i,j).
However, my concern was the main cell, i,j comes no where in this picture in this way.
Can some one please explain where I am going wrong.
2. I decided not to use staggered but collocated finite difference method for which Rhie Chow interpolation has been recommend in literature. However, the expression are mainly for calculating velocities at faces such that neighboring pressure terms are included. However, while writing or discretzing the momentum equations using FDM, there is nothing of sort face etc. Instead the equations del(rho*u*u)/del x has to be disretized. Can some one please commnet how to use Rhie Chow methid in this case.
I tried to club rho*u as flux term (F) so that it becomes del(F*u)/del(x). But how to proceed further remained as issue.
I am concerned with finite difference method.