marvelreveal
Guest
Hello, everyone. I am about to write a matlab code for the resolution of incompressible 2d ship stokes, with a mesh staggered to the harlow welsh in a square domain. in my request we require a bc to the dirichlet on what I believe to be the unord wall, function of x, therefore a real function. insertion of this bc generates a row array of nx points.
the problem is that in the mesh staggered u matrix has size (nx x ny-1).
I therefore do not know how to solve, because the size of my bc is incompatible with the matrix in which it should be inserted. Does anyone have any idea?this is what generates me is a problem from the dimensional point of view, and in the calculation of diffuse terms.
the problem is that in the mesh staggered u matrix has size (nx x ny-1).
I therefore do not know how to solve, because the size of my bc is incompatible with the matrix in which it should be inserted. Does anyone have any idea?this is what generates me is a problem from the dimensional point of view, and in the calculation of diffuse terms.