photo

oun alsharif


Last seen: presque 2 ans il y a Actif depuis 2021

Followers: 0   Following: 0

Statistiques

  • Explorer
  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

Question


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

plus de 2 ans il y a | 1 réponse | 1

1

réponse

Question


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

plus de 2 ans il y a | 1 réponse | 0

0

réponse

Question


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

plus de 2 ans il y a | 2 réponses | 0

2

réponses

Question


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

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


finite deference for computational hydraulics

plus de 2 ans il y a | 1 réponse | 0

0

réponse

Question


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

presque 3 ans il y a | 1 réponse | 0

1

réponse