photo

Mostafa Kassoum


Last seen: 4ヶ月 前 2023 年からアクティブ

Followers: 0   Following: 0

統計

Feeds

表示方法

質問


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ヶ月 前 | 0 件の回答 | 0

0

回答

質問


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ヶ月 前 | 1 件の回答 | 0

1

回答

質問


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

12ヶ月 前 | 1 件の回答 | 0

1

回答