Community Profile

# oun alsharif

Last seen: 23日 前 2021 以来アクティブ

バッジを表示

#### 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 ...

### 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

% 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...

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