how to write this boundary conditions in matlab code

2 Ansichten (letzte 30 Tage)
Naveen Krish
Naveen Krish am 3 Apr. 2022
Kommentiert: Torsten am 3 Apr. 2022
This is my boundary condition i need to use explicit ftcs numerical difference scheme
𝐶|𝑥=0 = 1 mg/L, 𝑑𝐶 𝑑𝑥 |𝑥=𝐿 = 0, 𝐶|𝑡=0 = 1 mg/L
  1 Kommentar
Torsten
Torsten am 3 Apr. 2022
No need to use a difference scheme.
Solution is C = 1 mg/L for all x and all t.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Communications Toolbox finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by