|
[Sponsors] |
February 10, 2008, 12:09 |
Hi, All!
Please, answer my
|
#1 |
New Member
Dmitry Kovtunov
Join Date: Mar 2009
Location: Yekaterinburg, Ural, Russia
Posts: 8
Rep Power: 17 |
Hi, All!
Please, answer my question. Is it possible to solve the convection-diffusion equation with OpenFOAM when convection is dominated? |
|
February 10, 2008, 12:22 |
Yes - in fact, it is quite eas
|
#2 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,905
Rep Power: 33 |
Yes - in fact, it is quite easy.
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
February 10, 2008, 12:58 |
Thanks for the answer. But cou
|
#3 |
New Member
Dmitry Kovtunov
Join Date: Mar 2009
Location: Yekaterinburg, Ural, Russia
Posts: 8
Rep Power: 17 |
Thanks for the answer. But could you point to my mistake? I was doing so:
solve(- fvm::laplacian(T) + (u & fvc::grad(T)) == f); where T - temperature u - predefined analytical velocity field with multiplier alpha, so u = alpha*b, where b - some vector field with div b = 0 f - source term calculated from the equation by substitution some analytical function theta satisfying boundary condition for T so when alpha is small enough (<< 1) residual = T - theta is tolerable, but when alpha is >> 1, i obtain something wrong solution which differs from theta very much. Be glad to hear any suggestions from you. Thanks. |
|
February 10, 2008, 15:33 |
Did you every look at scalarTr
|
#4 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,905
Rep Power: 33 |
Did you every look at scalarTransportFoam? This is where you should start from:
solve ( fvm::ddt(T) + fvm::div(phi, T) - fvm::laplacian(DT, T) ); Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
February 10, 2008, 17:37 |
I've tested your suggestion. I
|
#5 |
New Member
Dmitry Kovtunov
Join Date: Mar 2009
Location: Yekaterinburg, Ural, Russia
Posts: 8
Rep Power: 17 |
I've tested your suggestion. It has improved my solution but not enough. I've two problems now:
1) it is not clear how small deltaT need to be choosen to obtain stationary solution; 2) while modeling the solution become unstable on some time step i.e. after some time step an absolute residual become growing up. Any ideas? And what is the best interpolation scheme for my case? I've noticed filteredLiear to be better than limitedLinear. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
TVD-schemes | NewBee | Main CFD Forum | 4 | August 5, 2008 07:03 |
TVD schemes | Shuo | Main CFD Forum | 3 | July 3, 2007 22:04 |
TVD Schemes | Ritesh | Main CFD Forum | 4 | June 16, 2005 10:12 |
ENO schemes | Vinod Venugopalan | Main CFD Forum | 4 | December 10, 2003 00:48 |
ENO schemes. | J. K | Main CFD Forum | 12 | June 28, 2002 11:16 |