|
[Sponsors] |
April 10, 2006, 05:41 |
How to solve 1st step of semi implicit mtd
|
#1 |
Guest
Posts: n/a
|
I'm trying to write a ns code using fractional step. I've read that most people use semi-implicit method ie CN2+AB2. AB2 requires info at 2 time steps. But in the beginning, how is the answer to the 1st step obtained?
Thank you |
|
April 10, 2006, 06:47 |
Re: How to solve 1st step of semi implicit mtd
|
#2 |
Guest
Posts: n/a
|
In my very humble opinion...
You can use a 1st order method (forward Euler) in step 1 and then switch over to CN/AB2 in the following steps. But, maybe a better way is to just use an RK method for the whole simulation, (like TVD RK2) which doesn't rely on old time step info, is 2nd order accurate and has better stability properties. Hope this helps |
|
April 15, 2006, 05:44 |
Re: How to solve 1st step of semi implicit mtd
|
#3 |
Guest
Posts: n/a
|
Crank-Nicolson (CN) is for diffusion terms and better numerical statbility. TVD RK2 has worse stability, I do not recommend it for diffusion problems.
|
|
April 15, 2006, 07:51 |
Re: How to solve 1st step of semi implicit mtd
|
#4 |
Guest
Posts: n/a
|
Sorry, I didn't make it very clear in my first post.
You can do an operator split and treat the non-linear terms with TVD RK2 and the viscous terms with CN, because as Versi said you need to treat diffusion implicitly to get accetable stability. There are loads of ways to do the time stepping though, so I'm not trying to say this is the "best" or anything although I would be interested to hear what other people do. Darren |
|
May 3, 2006, 09:46 |
Re: How to solve 1st step of semi implicit mtd
|
#5 |
Guest
Posts: n/a
|
Forward Euler is sufficient for starting a second order multistep method, because local error is second order.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Physical Reason for stability of Implicit Schemes? | radhakrishnan | Main CFD Forum | 26 | October 3, 2023 23:05 |
How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 8 | August 27, 2013 16:33 |
Modeling in micron scale using icoFoam | m9819348 | OpenFOAM Running, Solving & CFD | 7 | October 27, 2007 01:36 |
Doubt on Implicit Methods | analyse In India | Main CFD Forum | 10 | March 9, 2007 04:01 |
Calculating the 1st step of a semi-implicit scheme | zonexo | Main CFD Forum | 0 | September 29, 2005 11:05 |