photo

Mostafa Kassoum


Last seen: 4 maanden ago Active since 2023

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


I wrote code on MATLAB to solve Stokes equations using Bramble and Pasciak method but I got strange values of error for pressure p
%Define problem parameters mu = 1.0; % viscosity %f = [1; 0; 1; 2]; % forcing term for velocity %g = [2; 1]; % f...

7 maanden ago | 0 answers | 0

0

answers

Question


Error using horzcat Dimensions of arrays being concatenated are not consistent. Error in MKstokes (line 52) StokesMatrix = [A, B_transpose; B, sparse_M_M];
% Define problem parameters mu = 1.0; % viscosity f = [0; 0]; % forcing term for velocity g = 0; % forcing term ...

8 maanden ago | 1 answer | 0

1

answer

Question


Why i got this error?
Unrecognized function or variable 'sqrmesh'. Error in MainFunction (line 6) [node,elem] = sqrmesh([-1,1,-1,1],h);

12 maanden ago | 1 answer | 0

1

answer