Community Profile

photo

oun alsharif


Last seen: más de 1 año hace Con actividad desde 2021

Followers: 0   Following: 0

Estadísticas

  • Explorer
  • Thankful Level 1

Ver insignias

Feeds

Ver por

Pregunta


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

más de 2 años hace | 1 respuesta | 1

1

respuesta

Pregunta


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

más de 2 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

más de 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


finite deference for computational hydraulics

más de 2 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta