Community Profile

photo

Pulok Deb


Active since 2017

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


Please help me to rewrite the following codes
%% Calculation of phi and f a11 = ai(1); a12 = ((ai(1)*ai(2))^0.5)*(1-bin_PR(1,2)); a13 = ((ai(1)*ai(3))^0.5)...

5 years ago | 1 answer | 0

1

answer

Question


Is it the correct code for characteristics equation using method of characteristics
%Characteristic equation for Buckley Leverett n=20; dt=5; sw_initial = 0.10; swl = 0.7; for a = 1:2...

6 years ago | 0 answers | 0

0

answers

Question


The error looks like "Index exceeds matrix dimensions.". Also I can't set the boundary conditions and initial conditions, which I wrote here.
clc clear all close all T_final = 10; del_t = 0.01; %Seconds n_time = T_final/del_t; del_x = 0.5; ...

6 years ago | 1 answer | 0

1

answer