Skip to content

Commit 251e4c2

Browse files
committed
updated README
1 parent bbb0558 commit 251e4c2

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,19 @@
1-
# fractionalPorousMedia
1+
# fractionalPorousMedia
2+
3+
Python code for solving fractional porous media equation using finite difference method and product-integration rule.
4+
5+
## Connected paper
6+
Berardi, Garrappa, Icardi, Nuca
7+
Basset-type fractional models for heterogeneous porous media: model derivation, analysis and numerical simulations
8+
9+
## Instructions
10+
The main code to reproduce the results of the paper is `main_BassetEqn.py`. The code is written in Python 3.7 and requires the following packages:
11+
- numpy
12+
- matplotlib
13+
14+
Other extra files in python and MATLAB are only for testing and comparison purposes.
15+
16+
17+
## Authors
18+
- Matteo Icardi
19+
- Roberto Nuca

matlab/eigenvalue.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
%% Setup
2-
b = 1;
2+
b = -1;
33
x=chebfun('x',[0,1]);
44
y=chebfun('y',[-b.^2/4+1e-5,100]);
55

@@ -27,7 +27,7 @@
2727

2828
%% Eigenvalues with chebfun
2929

30-
L=chebop(@(u) -diff(u,2) + b*diff(u),[0,1]);
30+
L=chebop(@(u) diff(u,2) + b*diff(u),[0,1]);
3131
L.lbc='dirichlet';
3232
L.rbc='neumann';
3333

0 commit comments

Comments
 (0)