Numerically solving 2 coupled PDEs

  • Context: Graduate 
  • Thread starter Thread starter niha1794
  • Start date Start date
  • Tags Tags
    Coupled Pdes
Click For Summary
SUMMARY

This discussion focuses on solving a system of two coupled partial differential equations (PDEs) using MATLAB. The user attempted to utilize the MATLAB function pdepe but encountered errors, and when applying the finite difference method, obtained values for f exceeding the valid range of 0 to 1. Key insights include the importance of verifying the coefficients c_i and ensuring the stability of the numerical method by carefully selecting spatial and temporal steps Δz and Δt.

PREREQUISITES
  • Understanding of coupled partial differential equations (PDEs)
  • Proficiency in MATLAB programming, particularly with the pdepe function
  • Knowledge of numerical methods, specifically finite difference methods
  • Familiarity with stability analysis in numerical simulations
NEXT STEPS
  • Explore the MATLAB documentation for pdepe to understand its limitations and proper usage
  • Study the finite difference method for solving PDEs, focusing on stability criteria
  • Research techniques for verifying coefficient values in numerical simulations
  • Learn about alternative numerical methods for solving coupled PDEs, such as the method of lines
USEFUL FOR

Mathematicians, engineers, and researchers involved in numerical analysis and simulations of coupled PDEs, particularly those using MATLAB for their computational work.

niha1794
Messages
1
Reaction score
0
I want to solve a system of 2 coupled pde (in MATLAB) of the format:

c1*(df/dt)+c2*(df/dz)+c3*(f)+c4*(g)=0

(dg/dt)=c5*f+c6*g

with Initial conditions as
f(0,t)=1, g(z,0)=0 and f(z,0)=0

0<f,g,z,t<1

I tried using the MATLAB function pdepe to do this but got errors and if I go for numerical solving by finite difference method I get the value of f>1 which is not possible.

Please help me with this problem!
 
Physics news on Phys.org
If you get values outside of the expected range you better check the values of the coefficients ##c_i## and the stability of the numerical method due to the choosen spatial and temporal steps ##\Delta z## and ##\Delta t##, respectively.
 
  • Like
Likes   Reactions: niha1794

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 3 ·
Replies
3
Views
7K
  • · Replies 6 ·
Replies
6
Views
3K