|
[Sponsors] |
Is the Crank-Nicolson method for a parabolic pde with source term conditionally stabl |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 2, 2022, 06:19 |
Is the Crank-Nicolson method for a parabolic pde with source term conditionally stabl
|
#1 |
New Member
Ersin
Join Date: Sep 2022
Posts: 6
Rep Power: 4 |
Dear All,
Is the Crank-Nicolson method for a parabolic pde with source term conditionally stable? Our source term is a typical rho*u*(1-u) where rho=0.023 (constant and small); our pde is u_t=a*u_xx+ rho*u*(1-u), u_x(x=0,t)=0, u_x(x=1,t)=0, u(0,t) is given as well. When we try to show the stability of the Crank-Nicolson, first of all we take the linear form of the source term as rho*u. We get the amplification factor as g=(1-2*R sin^2(theta/2)+(1/2)*rho*Delta t)/(1+2*R sin^2(theta/2)-(1/2)*rho*Delta t) where R=(a*Delta t)/(Delta x)^2. To get |g|<=1 we get a conditional stability ???? Is this normal? Today, I have read an article "Stability analysis of Crank–Nicolson and Euler schemes for time-dependent diffusion equations" by Cassio M. Oishi · Jin Y. Yuan · Jose A. Cuminato · David E. Stewart and they say that if the BC is explicit then the Crank-Nicolson is conditionally stable. |
|
September 2, 2022, 09:07 |
|
#2 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73 |
Quote:
Before addressing my opinion, I would be sure of your scheme for the source term. It is explicit or implicit? |
||
September 2, 2022, 10:07 |
source term is treated as implicit ...
|
#3 |
New Member
Ersin
Join Date: Sep 2022
Posts: 6
Rep Power: 4 |
source term is treated as rho*(u_m^n+1 + u_m^n)/2 in Crank-Nicolson.
|
|
September 2, 2022, 10:28 |
|
#4 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73 |
Ok, assuming a convection-diffusion-production equation, you have to produce the stabilty regions like I computed here. If you disregard the convection you have one plane since G_max(alpha,rho) for any theta.
https://www.researchgate.net/publica...extFileContent |
|
September 2, 2022, 10:41 |
|
#5 |
New Member
Ersin
Join Date: Sep 2022
Posts: 6
Rep Power: 4 |
you are not using Crank-Nicolson, your scheme is an explicit one.
|
|
September 2, 2022, 11:57 |
|
#6 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73 |
||
September 2, 2022, 13:42 |
|
#7 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73 |
This is what I found in your case
|
|
September 2, 2022, 13:44 |
|
#8 |
New Member
Ersin
Join Date: Sep 2022
Posts: 6
Rep Power: 4 |
Dear Dr. Denaro,
We get the amplification factor using the Crank-Nicolson method applied to u_t=a*u_xx+ rho*u*(1-u) as g=(1-2*R sin^2(theta/2)+(1/2)*rho*Delta t)/(1+2*R sin^2(theta/2)-(1/2)*rho*Delta t) where R=(a*Delta t)/(Delta x)^2. Can you say that the Crank-Nicolson method is unconditionally stable? |
|
September 2, 2022, 13:48 |
|
#9 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73 |
Quote:
You cannot do that. The classical von Neumann stability analsys applies for the linear case, you cannot use the analsys as-it-is for the non linear case. |
||
September 2, 2022, 13:52 |
|
#10 |
New Member
Ersin
Join Date: Sep 2022
Posts: 6
Rep Power: 4 |
I have stated that I applied it to the linear form in my first post
|
|
September 2, 2022, 13:54 |
|
#11 |
New Member
Ersin
Join Date: Sep 2022
Posts: 6
Rep Power: 4 |
||
September 2, 2022, 14:02 |
|
#12 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73 |
Quote:
You wrote the non linear source term. I wrote in my note the amplification factor for the linear source term, you can deduce the condition for G(alpha, beta) at the worst theta =k*h condition. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[openSmoke] LaminarSMOKE compilation error | mdhfiz | OpenFOAM Community Contributions | 8 | July 2, 2024 11:32 |
[Other] Tabulated thermophysicalProperties library | chriss85 | OpenFOAM Community Contributions | 62 | October 2, 2022 04:50 |
How to add Source term (2) for PYROLYSIS - reactingOneDim | Kummi | OpenFOAM | 10 | April 12, 2021 22:11 |
Source term for EVAPORATION in Energy Equ. - technical difficulty ? | Kummi | OpenFOAM | 1 | September 9, 2019 10:32 |
polynomial BC | srv537 | OpenFOAM Pre-Processing | 4 | December 3, 2016 10:07 |