CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Semi-Implicit and Semi-explicit time discretization

Register Blogs Community New Posts Updated Threads Search

Like Tree11Likes
  • 5 Post By mprinkey
  • 2 Post By FMDenaro
  • 2 Post By kaya
  • 2 Post By adrin

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 9, 2015, 08:20
Default Semi-Implicit and Semi-explicit time discretization
  #1
Member
 
Mihir Makwana
Join Date: May 2015
Posts: 79
Rep Power: 11
mihirmakwana6 is on a distinguished road
what is the difference between a semi-explicit and a semi-implicit time discretization scheme.



What is it that is different in both these time discretization scheme ?

Also what will be advantages and disadvantages of them.

suggest examples if any.

Please help.
mihirmakwana6 is offline   Reply With Quote

Old   October 9, 2015, 10:23
Default
  #2
Senior Member
 
Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 363
Rep Power: 25
mprinkey will become famous soon enough
I have been doing this a long time and I have never heard of "semi-explicit" schemes. Can you provide a reference?

The transient CFD methods I know exist on a spectrum with fully explicit schemes on one side and fully Implicit schemes on the other.

Explicit schemes start with a state of the flow fields (phi) at some time (and maybe a few previous times) and compute the fields at some future time. Everything is phi(n+1) = F(phi(n),phi(n-1)...) The differential operations are all applied through F and only involve known data. In particular, any element of phi(n+1) is not dependent on any other element of phi(n+1).

Implicit schemes are much more varied and include both pressure and density-based solvers. But, they ultimately solve a system that looks like G(phi(n+1)) = 0 where G is some huge nonlinear operator and will involve terms from phi(n), phi(n-1),... There are many ways that this nonlinear operator can be inverted and solved for phi(n+1), but in principle, they all will give the same answer. And the crucial difference is that EVERY element of phi(n+1) depends on all of the others.

Semi-implicit schemes live somewhere in the middle on that specturm. They arise from the realization that some terms in the fluid equations are just fine to treat explicitly (like convection). While other terms (like the pressure in incompressible flows) *must* be treated implicitly. So, you can trade off some of the absolute solution consistency of implicit schemes and pick up some of the performance of the explicit methods and have the best of both world...a scheme that is much more stable and allows larger timesteps than fully-explicit methods but is significantly faster than full implicit methods. A common example of semi-implicit time integration methods are fractional-step or projection methods. Convection is usually treated explicitly. Diffusion is either treated implicitly or explicitly or split directionally. Pressure is always treated implicitly.

I hope this helps.

Last edited by mprinkey; October 9, 2015 at 11:43.
mprinkey is offline   Reply With Quote

Old   October 9, 2015, 10:54
Default
  #3
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
I agree. Just to give a simple example, consider an equation like

d phi /dt + Div F = 0

and integrate between tn and tn+1:

phi(tn+1) - phi(tn) + Int [tn, tn+1] Div F dt = 0

Now look at the integral that must be discretized (and of course apporximated):

1) approximation based only on values at tn -> fully explicit of any accuracy order
2) approximation based only on values at tn+1 -> fully implicit of any accuracy order
3) approximation based on values both at tn and tn+1 -> semi-implicit of any accuracy order
LuckyTran and rezaeimahdi like this.
FMDenaro is offline   Reply With Quote

Old   October 9, 2015, 19:11
Default
  #4
Member
 
Kaya Onur Dag
Join Date: Apr 2013
Posts: 94
Rep Power: 13
kaya is on a distinguished road
nothing to add but in different words

say :
\frac{\partial u}{\partial t}-\frac{\partial u}{\partial x}=0

an explicit:
\frac{u_{new}-u_{old}}{\Delta t} =\frac{\partial u_{old}}{\partial x}
you time step with your field data that you have


an implicit:
\frac{u_{new}-u_{old}}{\Delta t} =\frac{\partial u_{new}}{\partial x}
you time step with solving the equation system since u_new doesn't exist yet


a semi-implicit:
\frac{u_{new}-u_{old}}{\Delta t} =\frac{1}{2}\big(\frac{\partial u_{new}}{\partial x}+\frac{\partial u_{old}}{\partial x}\big)


With explicit time stepping, you transfer the information from past to march in time or in other words you satisfy the equation system in the current time(explicit Euler-first example).

With implicit time stepping you satisfy your equation on a future time. You seek for a field that will be the exact solution of your equation/s. And yes, its more expensive.

If you're solving a stiff system, usually its better to use an implicit or a semi-implicit treatment then you can catch the sudden peaks in the system with less effort.

Also implicit schemes are more stable thus you can take bigger time steps.

An example would be; for a low Re flow, you would use implicit or semi-implicit on your diffusive terms. Because if you treat them explicitly you'll need to go quite low delta t values.
LuckyTran and rezaeimahdi like this.
kaya is offline   Reply With Quote

Old   October 11, 2015, 19:49
Default
  #5
Senior Member
 
adrin
Join Date: Mar 2009
Posts: 115
Rep Power: 17
adrin is on a distinguished road
The mathematical differences between purely explicit, purely implicit and "semi-implicit" have already been provided by others, so I'll give a slightly different point of view. Semi-implicit is the standard term that is used in the field. However, this is really a matter of terminology and nothing more. "semi" is a Latin prefix meaning half, at least in this context. So, semi-implicit means half (or partially) implicit, which by default implies half-explicit (for the other "half"). In other words, semi-implicit and semi-explicit (would) have _identical_ meaning. On a lighter note, it's like asking what the difference between a half-full and half-empty glass is!

adrin
FMDenaro and rezaeimahdi like this.
adrin is offline   Reply With Quote

Old   October 20, 2015, 02:43
Default
  #6
Member
 
Mihir Makwana
Join Date: May 2015
Posts: 79
Rep Power: 11
mihirmakwana6 is on a distinguished road
Thankyou all for the answers.

I have been reading this paper

http://onlinelibrary.wiley.com/doi/1.../fld.1032/epdf

In section 3 SEMI-IMPLICIT TEMPORAL DISCRETIZATION of the paper, they discretize terms from which speed of sound arises in an implicit manner. So how does this help in converting equation (17) to equation (18) i.e why using implicit advancement for pressure terms leads to larger time stepping.

Thanks in advance.
mihirmakwana6 is offline   Reply With Quote

Old   October 20, 2015, 15:56
Default
  #7
Member
 
Mihir Makwana
Join Date: May 2015
Posts: 79
Rep Power: 11
mihirmakwana6 is on a distinguished road
can anyone help me with this ???
mihirmakwana6 is offline   Reply With Quote

Old   October 20, 2015, 15:57
Default
  #8
Member
 
Mihir Makwana
Join Date: May 2015
Posts: 79
Rep Power: 11
mihirmakwana6 is on a distinguished road
Quote:
Originally Posted by mihirmakwana6 View Post
Thankyou all for the answers.

I have been reading this paper

http://onlinelibrary.wiley.com/doi/1.../fld.1032/epdf

In section 3 SEMI-IMPLICIT TEMPORAL DISCRETIZATION of the paper, they discretize terms from which speed of sound arises in an implicit manner. So how does this help in converting equation (17) to equation (18) i.e why using implicit advancement for pressure terms leads to larger time stepping.

Thanks in advance.
can anyone help me with this ??
mihirmakwana6 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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
Semi Implicit Method for Pressure Linked Equations ibs Main CFD Forum 0 December 14, 2013 17:02
exact meaning of semi implicit in SIMPLE algorithm venkataramana Main CFD Forum 0 April 14, 2011 22:08
Semi Implicit method mnabi Main CFD Forum 0 August 21, 2009 17:53
How to solve 1st step of semi implicit mtd newbie Main CFD Forum 4 May 3, 2006 09:46


All times are GMT -4. The time now is 14:10.