Community Profile

photo

oun alsharif


Last seen: 1年以上 前 2021 年からアクティブ

統計

  • Explorer
  • Thankful Level 1

バッジを表示

Content Feed

表示方法

質問


The function "solver" was closed with an 'end', but at least one other function definition was not. All functions in a script must be closed with an 'end'.
%FVM1D - FOR WET BED PROBLEMS ONLY %by Brett F. Sanders (and pieces of code from Scott F. Bradford) % %This is a very simple ...

2年以上 前 | 1 件の回答 | 1

1

回答

質問


qustion: i need matlab to generate the eqn1,2,...etc based on boundary condition using the equation: Ui,j=1/4[Ui+1,j+Ui-1,j+Ui,j+1+Ui,j-1]
% SOLVE EXAM % A=U23 , B=U33 , C=U43 , D=U22 , E=U32 , F=U42 syms A B C D E F eqn1= A - 0.25*E == 6.25; eqn2=B-0.25*F-0.25...

2年以上 前 | 0 件の回答 | 0

0

回答

質問


question about result in matlab
% SOLVE EXAM % A=U23 , B=U33 , C=U43 , D=U22 , E=U32 , F=U42 syms A B C D E F eqn1= A - 0.25*E == 6.25; eqn2=B-0.25*F-0.25...

2年以上 前 | 2 件の回答 | 0

2

回答

質問


Warning: Matrix is singular to working precision
a=[1, 0, 0, 0, -0.25, 0; 0, 1, 0, -0.25, 0, -0.25; 1, 0, 0, 0, -0.25, 0; 0, -0.25 0, 1, 0, 0; -0.25, 0, -0.25, 0, 1, 0; 0,-0.25,...

2年以上 前 | 1 件の回答 | 0

1

回答

質問


finite deference for computational hydraulics

2年以上 前 | 0 件の回答 | 0

0

回答

質問


give me invalid use of operator at U, why?
Nx = 50; x = linspace(0,1,Nx+1); dx = 1/Nx; xmid = 0.5*(x(1:Nx) + x(2:Nx+1)); u = 1; tfinal = 1; CFL = 0.5; dt = CFL*dx/a...

2年以上 前 | 1 件の回答 | 0

1

回答