Question
Asked 4th Jan, 2016

# What is the difference between implicit and explicit solutions of the numerical solutions?

In CFD, we found Implicit and explicit solutions for the numerical methods. how to differentiate the both.

## Most recent answer

Explicit and implicit methods are approaches used in numerical analysis for obtaining numerical approximations to the solutions of time-dependent ordinary and partial differential equations, as is required in computer simulations of physical processes. Explicit methods calculate the state of a system at a later time from the state of the system at the current time, while implicit methods find a solution by solving an equation involving both the current state of the system and the later one.
1 Recommendation

## Popular Answers (1)

In the explicit solution, parameters are calculated based on previous levels *(e.g.time level):
x(n+1) = x(n)+ z(n)
In the implicit scheme, parameters are dependent on each other at the same time level:
x(n+1) = x(n)+z(n+1)
Implicit methods are more complicated to use but usually much more stable. And so larger time steps can be implemented.
34 Recommendations

## All Answers (28)

An explicit solution results from a method that is independent of other values (for the same level), a single equation is used to evaluate new nodal variables for a single time step.
An implicit solution contains information obtained from solving simultaneous equations for the full grid for each time step. This is computationally more demanding but allows for larger time steps and better stability.
16 Recommendations
In the explicit solution, parameters are calculated based on previous levels *(e.g.time level):
x(n+1) = x(n)+ z(n)
In the implicit scheme, parameters are dependent on each other at the same time level:
x(n+1) = x(n)+z(n+1)
Implicit methods are more complicated to use but usually much more stable. And so larger time steps can be implemented.
34 Recommendations
5th Jan, 2016
Rajeev KUMAR
Texas A&M University - Corpus Christi
Hi Hari,
Let me explain implicit /explicit stuff with a simple heat equation.
Tt = Txx  ............................................................................…(1)
(without mentioning the boundary conditions to keep it simple)
Explicit Scheme:  Is one in which the differential equation is discretized in such a way that there is only one unknown (at new time level n+1) on the left hand side (LHS) of the difference equation and it is computed in terms of all other terms on the RHS which are known (at previous time level n+1). Let us write an Explicit Scheme for eqn (1):
Discretizing time derivative using forward difference and the second order derivative using central difference we get:
(Tjn+1 - Tjn )/ ∆t =  (Tj+1n – 2 Tjn + Tj-1n) / ∆x2
This can be simplified as:
Tjn+1 = (1-2r) Tjn + r(Tj-1n + Tj+1n) ………………………………………..(2)
where r = ∆t/ ∆x2
This is an explicit scheme called FTCS (Forward differencing in Time and Central differencing in Space at time level n) for solving a 1-D heat equation. Explicit as we see one unknown on LHS (Tjn+1) being calculated in terms on all the term on RHS which are known as they are at previous time level n.
Explicit Schemes have to satisfy stability conditions in order for solution to converge. For example above Explicit Scheme in eqn (2) will be stable if  r ≤ ½.
Implicit Scheme:  Is one in which the differential equation is discretized in such a way that there are multiple unknowns at n+1 time level on the LHS of the equation and the terms on RHS are known ones at n time level. Let us write Implicit Scheme for eqn (1):
(Tjn+1 - Tjn )/ ∆t =  (Tj+1n+1 – 2 Tjn+1 + Tj-1n+1) / ∆x2
(discretizing 2nd order derivative at time level n+1 unlike Explicit Scheme where we discretized it at level). We simplify it to:
(1+2rTjn+1 - rTj-1n+1 - rTj+1n+1 = Tjn   …………………………………..(3)
Here we discretized time derivative term in backward differencing (Backward in Time) and discretized 2nd order term in Central differencing in Space both at time level n+1. Therefore this implicit scheme is called BTCS scheme.
Implicit Schemes result in multiple simultaneous algebraic equations (here we’ll have 3 equations corresponding to 3 unknowns at time n+1 level) that need to be solved as a system of equations of the form [K]{T}n+1 = {F}n. In Our simple case here we have [K]3x3 {T}3n+1 = {F}3n.
Good thing about Implicit Schemes is that they don’t have to satisfy any stability conditions. They are unconditionally stable. But they are computationally expensive as you need more storage space for [K] matrix and need sophisticated algorithms to solve.
11 Recommendations
6th Jan, 2016
Krishna Chandran
Indian Institute of Technology Kanpur
Explicit solution occurs when nodal points do not have any dependencies. If you have n-nodal points or grid points then each equation is solved explicitly. For example the unsteady heat equation can be solved explicitly. Implicit solution occurs when the nodal point has other nodal dependencies. For example when you solve a laplacian equation.  In general both these descretisations form a system of equations Ax=b but in explicit solution A is transformed to an identity matrix I (as there are no node-node dependencies) and hence no matrix inversion is required. Implicit methods are known to be more stable hence they are more popular in industrial application problems in CFD. However, implicit methods are more time consuming (computationally expensive) than explicit methods in general.
4 Recommendations
Instead of answering this question, that has been already answered couple of times in this thread, I would strongly suggest you to start reading this book: "Fundamentals of Engineering Numerical Analysis", from Parviz Moin (CTR Director at Stanford).
Is a very easy to go through book, giving you a first taste of numerical methods often used in CFD.
5 Recommendations
Implicit method - to get answer after inverting the matrix.
Explicit method - advancing the algorithm (no matrix)
2 Recommendations
8th Jan, 2016
Manoj Kumar Nellore
Sri Chandrasekharendra Saraswathi Viswa Mahavidyalaya University
Implicit and explicit functions
The explicit function is a function in which the dependent variable has been given “explicitly” in terms of the independent variable. Or it is a function in which the dependent variable is expressed in terms of some independent variables.
It is denoted by:
y=f(x)
Examples of Explicit functions are:
y=axn+bx where a , n and b are constant.
y=5x3-3
The Implicit function is a function in which the dependent variable has not been given “explicitly” in terms of the independent variable. Or it is a function in which the dependent variable is not expressed in terms of some independent variables.
It is denoted by:
R(x,y) = 0
Some examples of Implicit Functions are:
x2 + y2 – 1 = 0
y4 + x3 +17 = 0
Although you can convert a Implicit function into Explicit function it is generally not done because after conversion the new explicit function becomes very complex and some times also gives two different function branch.
For example you can convert the first implicit function example above to a Explicit function but after conversion it gives the following function:
And in the new function there are two branches of “y” one the positive branch and another the negative branch.
2 Recommendations
8th Jan, 2016
Alastair Barnett
HYDRA Software Ltd, New Zealand, Hamilton
The comments to date on implicit solutions relate only to the simplest systems of equations. In more mathematically challenging hyperbolic problems such as fluid dynamics, implicit solutions are no longer unconditionally stable.
Stability fundamentally relates to the propagation of waves of information through the solution. Dynamic waves result from a balance between gravity and inertia, while kinematic waves result from a balance between gravity and resistance.
1. Where kinematic waves travel faster than dynamic waves, the problems will be inherently unstable at microscopic level (hydrodynamic instability). Under these conditions both implicit and explicit solutions have been shown to be unstable.
2. Otherwise numerical stability depends on the relative scales of the control element chosen for analyis. In the most general case this is a 4-dimensional finite hypervolume or CELL, following the locus of a finite volume over a finite lifetime. The distance travelled by a wave during the control element lifetime then relates to a spatial dimension of the CELL by a ratio known as the Courant Number.
3. Boundary conditions can be viewed relativistically as a timewise extension of initial conditions. This means that the spacewise direction in which the equations are solved becomes important.
4. Explicit solutions for each CELL use information only from within that CELL. This means they are stable only for Courant Numbers <1.
5. Implicit solutions solve simultaneously for groups of CELLS, so they are generally still stable for Courant Numbers >1. However they may be unstable at low Courant Numbers if they are solved in the wrong direction from the boundaries.
6. Stability is no guarantee of accuracy, which depends on a balance of influence between boundary and initial conditions, reached at Courant Number = 1. Here both explicit and implicit schemes are generally most accurate.
7. However there are as many Courant Numbers as there are wave types and spatial dimensions, so solution schemes which perform well over a range of Courant Numbers are needed. Here implicit solutions are much to be preferred, especially as they can also be coded to run far faster than explicit solutions.
7 Recommendations
9th Jan, 2016
Vijay Raghavan
Indian Institute of Technology Madras
@Hariprasad, I see many good answers here. They are very useful to a person with a good knowledge of mathematical/numerical analysis. I have given below a really simple, physical explanation of the explicit and implicit methods which my students have found to be very enlightening before embarking on deeper study. I have attached it as a word file.
I begin from the simple countercurrent and co-current (often termed parallel flow) heat exchangers. The known quantities are the two inlet temperatures, flow rates and heat transfer coefficients (from the Nusselt number correlation). The unknowns are outlet temperatures which are required to be determined by a numerical approach. The flow passage is discretized into a number of elements. The figure makes it clear.
(Please see attached file for figure)
In the above coflow example, we have three unknowns, Tout, tout and hear flow q. We have the following three equations:
(please see attachment for equations)
This is easily solvable explicitly and we can “march” from cell 1 to cell 2…. Till we reach the last cell.
The “out” temperatures from the first cell are the ‘known’ “in” temperatures in the next cell.
(please see the second figure in the attached file)
In the counterflow example, in cell 1 we have the same three equations but four unknowns. This is not solvable if we consider the first cell alone.
If we take that the heat exchanger is divided into two cells and take them together, we have six unknowns. We also have three equations for each cell, thus six in all.
So this is solvable, but not explicitly. That is why we call this as implicit method.
Let us say there are 10 cells in the heat exchanger. If we write the equations for all 10 cells, we have 30 equations and 30 unknowns and we get a solvable system. Here we cannot “march” from cell to cell but have to solve all cells simultaneously. To solve a large number of simultaneous equations, we can use matrix methods.
I hope that the above example gives a physical feel to explicit and implicit approaches and eases the understanding of the other answers given.
1 Recommendation
10th Jan, 2016
Santosh Kumar Rana
University of Texas at Dallas
Rajeev KUMAR has explained your answer very nicely. I will suggest you to follow implicit scheme more often (if possible for the particular problem) because it is always consistent and most of the time implicit methods are stable.
4 Recommendations
The explicit formulation needs the values from other nodes at a previous instant of time to determine the node value of the present one, the computational calculation method is very simple. However, the time step has to be really small in order to maintain the stability of this approach, so it will require a huge number of iterations that could increase significantly the calculation time.
The implicit formulation is much less time-consuming once that it does not need to verify any stabilization criteria for the time step. Because the calculation of a node value at a present instant depends on the values of neighbouring nodes at the same time. All the nodes are calculated simultaneously.
1 Recommendation
@Joao_OLiveira I disagree. Explicit solvers are the simplest, and you can determine the stability region of your scheme (eigenvalues) --a priori-- to compute at each step the required time step once the CFL is fixed. The number of computations to achieve a solution at each time step is O(N) using a LU decomposition that can be computed, once for all, if use an explicit scheme (further advantage can be taken if the linear system of equations can be represented by a tridiagonal matrix, which reduces the total number of computations to Nt=45*N for a NxN matrix). http://goo.gl/VNO3Jw
If for some specific direction the physic of your problem imposes a time step that is going to be "very small", then you can switch to an implicit algorithm to evolve those terms. However, to solve for the implicit terms you must assemble a new matrix (a dense matrix) and invert it, or to use some sort of iterative algorithm. In both cases the number of computations are much higher than in the explicit case.
Since the original question is related to CFD numerics, I would suggest you to anyone to read the paper attached that discuss with terms in the Direct Numerical Simulation (DNS) of the NS equations can be treated explicitly, and which should be treated implicitly (wall-normal strong gradients at the near-wall boundaries) once the spatial discretization resolution is chosen. Because of the huge cost of solving such implicit system, approximation are taken and the incurred errors quantified, so one can evaluate the global spatial-temporal accuracy of the solver.
Correct me if wrong.
1 Recommendation
@Juan A. Sillero That's right. Even if the implicit method is unconditionally stable (depending on the time step and the problem), it is very costly compared to the explicit formulation. However, when I said that the implicit method can be less time-consuming it was because it can use large time steps and get the solution in a shorter time than explicit approach (for some terms) with a reasonable accuracy. That's the main goal, results with low computer costs and sufficient accuracy. It was a general explanation.
Regarding to your last paragraph, that's why the CFD software usually uses a semi-implicit approach.
Best regards
1 Recommendation
Explicit schemes have been popular in areas like computational aeroacoustics because the resolution requirement on the time step is generally severer than the stability requirements, so there is no time saving for using implicit schemes.
1 Recommendation
That depends on the numerical solution scheme. It could be implicit or explicit. Each one has advantages and disadvantages and the choice depends on the requirements of the problem at hand.
1 Recommendation
7th Apr, 2017
Sisay Debele
University of Surrey, Guildford, United Kingdom
In explicit integration methods information is used that already exists, particularly concerning the derivatives: to calculate yt +dt you do use the derivative at point t but not at t+dt.
In implicit methods you estimate derivatives which are not already calculated (cost considerably more calculation time). Implicit methods are difficult to implement .Many models consisting of partial differential equations can only be solved with implicit methods because of stability demands. Although implicit methods often have to be employed in many simulation models.
25th Apr, 2019
Harsh Vardhan Singh
Indian Institute of Technology Jammu
Here is the difference between the Implicit and Explicit Schem:-
Explicit Scheme
• It uses forward and central difference
• Quite easy method.
• Grid sizes in this scheme can't be chosen freely, we have to satisfy the stability of the solution
• Order of Error is O( Δ t, Δ x^2)
• Finer the grid size more accurate we get the solution.
Implicit Scheme
• It uses Backward and Central Difference
• Grids sizes can be chosen freely, no stability condition needed
• It involves less errors than explicit scheme.
• Order of Error is O( Δ t, Δ x^2) same as explicit scheme.
5 Recommendations
"With an implicit solver, the unknown quantities to be calculated at each time increment are expressed through the parameters that are also unknown at the beginning of this increment. Therefore, iteration algorithms are necessary to achieve a numerical solution. Plus in the implicit computational procedure, the stiffness matrix has to be inverted, which requires substantial computational resources. While the implicit solution is assumed to be attained at relatively large time increments, the iteration procedure and calculations of the inverse stiffness matrix make the computations rather expensive in terms of memory, disk space, and computational time. Any kind of nonlinearity additionally increases the number of iterations necessary to distinguish the features of nonlinear phenomena to a proper accuracy.
In the explicit schemes, the unknown quantities appearing in the PDEs are
expressed through the parameters known from the previous time step. The explicit solution requires neither iterations nor inversion of the stiffness matrix, which substantially reduces the computational costs for each time increment. The drawback of the explicit schemes is their conditional stability. While each increment of the explicit time integration is much less computationally consuming than that of the implicit calculations, the time step providing the stability of the explicit scheme is too small for the simulations of long-time processes to be practical". I cite the paper "Microstructure-based simulations of quasistatic deformation using an explicit dynamic approach" here.
Thus, the choice between explicit and implicit schemes depends on the type and size of the problem.
You can read more in the paper "Microstructure-based simulations of quasistatic deformation using an explicit dynamic approach" (http://casopisi.junis.ni.ac.rs/index.php/FUMechEng/article/view/5108/3093 ).
Hope it helps.
2 Recommendations
30th Jan, 2020
Institute of Space Technology Islamabad
Read some books finite volume method you will get it
31st Jan, 2020
Hexagon Manufacturing Intelligence
I explain with a simple ODE example, it will be similar for PDE's we have in CFD.
Consider y'(t) = g(y) as a simple ODE with the initial condition y(0) = y0. To solve it numerically you need to do integration of course. So you need to know the value of the function g between 0 and the time of interest, which is not possible as g depends on y and you do not have y yet!
So, you take one small step, called dt, in time and wonder to compute y(dt) when dt is small (so that you can assume that y does not change that much in this period of time, and can be approximated well by a constant value)
Then, you have two options:
• EXPLICIT method: you use the known y0 (beginning of time interval) as the value of y in this period. Very simple method but not very stable.
• IMPLICIT method: you use y(dt) (end of time interval) as the value of y in this period. Of course, you do not have it but you can solve a non-linear equation to find it, So, it is more expensive but more stable.
3 Recommendations
The explicit FDM is very easy and simple in computation, and computational cost is very less over the FDM with semi-implicit/fully implicit scheme .
2 Recommendations
Numerical solution schemes are often referred to as being explicit or implicit. When a direct computation of the dependent variables can be made in terms of known quantities, the computation is said to be explicit. When the dependent variables are defined by coupled sets of equations, and either a matrix or iterative technique is needed to obtain the solution, the numerical method is said to be implicit.
1 Recommendation
Than you.
1 Recommendation

## Related Publications

Conference Paper
A Reynolds-Averaged Navier-Stokes (RANS) method has been employed in conjunction with an overlapping moving grid approach to provide accurate resolution of four-quadrant propeller flows under both the design and off-design conditions. It is well known that some off-design propeller flow phenomena are dominated by viscous effects and cannot be accur...
Article
Liquid distributor is a very import internal for distillation columns. Pre-distributor is usually set on the top of distributor for initial distribution. Fluid flow in pre-distributor is a complex system of variable mass flow with many orifices and sub-branches. Consequently, the two phase modeling of pre-distributors was carried out and the homoge...
Conference Paper
Full-text available
Dans cet article, on présente un modèle numérique de type CFD d’un entrefer très étroit de machine synchrone à aimants permanents intérieurs sans écoulement axial. L’effet de la température moyenne de l’entrefer et la vitesse de rotation de la machine sur l’évolution des coefficients d’échange par convection a été étudié. La structure de l’écouleme...
Got a technical question?
Get high-quality answers from experts.