|
[Sponsors] |
Solving a non linear equation using finite difference |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 28, 2016, 10:42 |
Solving a non linear equation using finite difference
|
#1 |
New Member
Niranjan
Join Date: Sep 2016
Posts: 1
Rep Power: 0 |
Consider a non linear differential equation,
y' + y^(2) = 0 where y' = dy/dx Boundary condition: @x=0, y=1 We could solve this equation through analytical means and get a solution of the form, y= 1/(x+1) But I wanted to build a numerical technique to solve this equation, like a finite difference approach. Is there a way out? |
|
September 28, 2016, 11:04 |
|
#2 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73 |
It is a simple exercise you can find in any texbook about numerical solution of the ODE.
|
|
Tags |
finite difference method, nonlinear equation |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with chtMultiregionFoam radiation boundary condition | baran_foam | OpenFOAM Running, Solving & CFD | 10 | December 17, 2019 18:36 |
problem with Min/max rho | tH3f0rC3 | OpenFOAM | 8 | July 31, 2019 10:48 |
Extrusion with OpenFoam problem No. Iterations 0 | Lord Kelvin | OpenFOAM Running, Solving & CFD | 8 | March 28, 2016 12:08 |
twoPhaseEulerFoam fvOptions for alpha | lavdwall | OpenFOAM Running, Solving & CFD | 8 | October 19, 2015 10:57 |
calculation stops after few time steps | sivakumar | OpenFOAM Running, Solving & CFD | 7 | March 17, 2013 07:37 |