|
[Sponsors] |
March 14, 2012, 00:13 |
1D burgers equation - first order derivative
|
#1 |
Senior Member
Join Date: Nov 2009
Location: Michigan
Posts: 135
Rep Power: 16 |
How can I implement the first order derivative in OF? For eg 1D burger's equation:
du/dt+u du/dx = nu d2u/dx2 |
|
March 14, 2012, 02:42 |
|
#2 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29 |
Does this work?
Code:
fvm::ddt(U)+U*fvm::grad(U)=fvm::laplacian(nu,U)
__________________
*On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
2nd order upwind vs 2nd order upwind!!! | Far | Main CFD Forum | 7 | March 14, 2013 12:29 |
Exact solution of Burgers equation | mcaro | Main CFD Forum | 3 | January 25, 2011 06:46 |
Constant velocity of the material | Sas | CFX | 15 | July 13, 2010 08:56 |
exact solution of burger's equation | sajar | Main CFD Forum | 9 | March 4, 2004 04:55 |
Diffusion Equation | izardy amiruddin | Main CFD Forum | 2 | July 4, 2002 08:14 |