Réponse apportée
Gas-Solid Reaction Modeling with Random Pore Model. Pdepe: Spatial discretization has failed. Discretization supports only parabolic and elliptic equations, with flux term involving spatial derivative.
Your right-end boundary conditions are invalid. Possibly you want: pr=[ur(1)-1 0]'; qr =[0 1]' ;

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
How to define a step function as input BC in pdepe?
Here is the way you want to define such a BC: if(t>=50) pl = [ul(1);0]; else pl = [ul(1)-10;0]; end One thing you ha...

plus de 4 ans il y a | 0

Réponse apportée
PDE with time-dependent boundary conditions
I do not believe it is possible to solve this problem with pdepe. However I have written a one-dimensional PDE solver which i...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Problem about mixture of ode-pde
I have developed a PDE solver, pde1dM, that Ibelieve can solve your coupled PDE/ODE system. The solver runs in MATLAB and is s...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
Solve heat equation with source term
T and m are referred to as dependent variables, not independent; x and t are the independent variables. This Example shows how t...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Unable to meet integration tolerances
Your equations have a fundamental error. Just calculate the "s" term along the length at the initial temperature and the problem...

plus de 4 ans il y a | 0

Réponse apportée
How to solve PDE problem
Your PDE can replaced by these two PDE which is a form acceptable to pdepe. However, pdepe, or in fact any numerical method,...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
Solving second order PDE
The reason that pdepe imposes a boundary condition of the flux equal zero at the center is that this is required for the proble...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
PDEPE: Unable to meet integration tolerances without reducing the step size below the smallest value allowed at time t.
You are trying to solve a system of ODE which is something pdepe is not designed for. Specifically, the pdepe documentation says...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
1D Fourier equation with temperature dependent thermal properties
function [c,f,s] = pdex1pde(x,t,T,dudx,diffr,Tfront) diffr=3.34E-10*T^4 - 9.37E-07*T^3 + 9.38E-04*T^2 - 4.80E-01*T + 2.09E+02; ...

plus de 4 ans il y a | 0

Réponse apportée
how can I code a system of 2 pdes and an ode for modelling a packed bed
I did some experimentation with your code. Here are a couple of comments related to the changes I made: Because the equations a...

plus de 4 ans il y a | 0

Réponse apportée
PDE system - pdepe system example - error or incomplete description on Matlab website?
Looks like you have found an error in this documentation page. If you look at equation 3 in the referenced paper you will see th...

presque 5 ans il y a | 0

| A accepté

Réponse apportée
Pdepe: Spatial discretization has failed. Discretization supports only parabolic and elliptic equations, with flux term involving spatial derivative.
Your boundary conditions (BC) are specified incorrectly; a qr(i) value of zero and pr(i)=constant is not a valid BC. Since you ...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
PDEPE: Unable to meet integration tolerances for large values of Ra
The convergence problem you are seeing is due to the strong boundary layer effect near , i.e. the solution is undergoing a shar...

environ 5 ans il y a | 0

Réponse apportée
How to define stepchanges, variable BC for different timeintervalls using pdepe?
The reason that your code didn't show a change in the BC with time is due to the programming error that Torsten pointed out. If ...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
Euler-Bernoulli's beam ODE or PDE
Take a look at this example: beam dynamics with pdepe

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Solving advection diffusion pde
The only problem I see with your code is in the boundary conditions. I corrected your bcfun function and have attached my versio...

presque 6 ans il y a | 1

Réponse apportée
Moving boundary problem with Stefan condition (modeling mass and heat transfer for sublimation front)
I think you may be able to solve this problem using the |pdepe| function. The idea is that you model both phases as a single re...

plus de 6 ans il y a | 0

Réponse apportée
Error using pdepe - Spatial discretization has failed. Discretization supports only parabolic and elliptic equations, with flux term involving spatial derivative.
The fundamental cause of your problem is that your initial conditions are inconsistent with your boundary condition at |x=0|. M...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
How to rewrite a PDE equation and set the parameters for solving the temperature changes?
I think you can use |pdepe| to solve this but you need to include both the equation for Ts and the one for Tg; in your pde funct...

plus de 6 ans il y a | 0

Réponse apportée
How do I solve fourth order PDE numerically?
I have created an example, which might be of help, showing how to use the |pdepe| function to solve the beam equation : <https:...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
How to speed up LU decomposition in ode15s solver?
You didn't provide any details of exactly how you are using |ode15s| but I suspect you can substantially improve the performance...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
what is wrong in my pdepe code ?
The problem you have described is ill-posed. The source term must be prescribed over some finite length of the domain, not simp...

plus de 6 ans il y a | 1

Réponse apportée
Error in using MATLAB PDEPE function - incorrect matrix sizing
The line f = [DuDx-Pe.*u(1); 0]; is creating a variable |f| with three rows rather than the correct two rows because |Du...

plus de 6 ans il y a | 0

Réponse apportée
Implicit formulation of finite difference with ode15s
I am still unclear on many aspects of your problem. And I am unable to access the paper you reference so that is of no help to...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
issue with pdepe: "Spatial discretization has failed."
Beyond the problems already mentioned by Torsten, the reason for the error message is that you have listed the returned argumen...

plus de 6 ans il y a | 0

Réponse apportée
Step Function as Input Boundary Condition to MATLAB PDEPE solver
I suggest you smooth the sharp corners in your boundary condition profile using a Heaviside function similar to the code below. ...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
Error in solving system of two reaction-diffusion equations?
The flux term in your pdex4pde function doesn't match the equations you show in your attached pdf. Assuming the pdf is correct,...

environ 7 ans il y a | 0

Réponse apportée
How can I solve an ODE when F(x0)=F'(x0)=0 is given at an unknown point x=x0 using bvp5c?
You have a second order ODE so you need two boundary conditions. The term "boundary condition" implies that you know the locatio...

plus de 7 ans il y a | 0

Réponse apportée
Lack of Boundary Conditions to solve PDE (using pdepe function)
In your original code, set your boundary condition function to this: pl = [ul(1); 0]; ql = [0;1]; pr = [pi*exp(-t); 0...

plus de 7 ans il y a | 0

Charger plus