|
[Sponsors] |
October 21, 2021, 13:33 |
Line term in the Navier - Stokes equation.
|
#1 |
New Member
Vladimir
Join Date: Oct 2021
Posts: 2
Rep Power: 0 |
Hi!
I am new in fluid dynamics. In my scientific study required to introduce a linear term to the Navier Stokes equation. It means that on the right-hand side I have , where is constant. I found that OpenFOAM can solve this type of equation. I chose icoFoam solver for it and added line term in the next way: fvVectorMatrix UEqn ( fvm::ddt(U) + fvm::div(phi, U) - fvm::laplacian(nu, U) + fvm::Sp(tauI, U) ); Then I did some calculations, it seems to work. The only question left is, did I add the linear term correctly? Can I add it in another way to speed up the calculation? I have been looking for answers to my questions in the Internet for a long time, but for this I need to immerse myself in fluid dynamics with the right textbooks. Can you please tell me if I am on the right path? or a simple mistake? Many thank for the help! |
|
October 26, 2021, 09:58 |
|
#2 |
Member
David GISEN
Join Date: Jul 2009
Location: Germany
Posts: 70
Rep Power: 17 |
The use of fvm::Sp seems correct to me, also the positive sign. But are you really sure that tauI is correct and not 1/tauI?
Regards, David Sources: https://openfoamwiki.net/index.php/H...sport_equation https://openfoamwiki.net/index.php/IcoFoam |
|
October 26, 2021, 10:07 |
|
#3 |
New Member
Vladimir
Join Date: Oct 2021
Posts: 2
Rep Power: 0 |
Dear David,
thank you for your answer, this is important to me. Whenever you see an easy solution to your problem, it seems that there is a catch somewhere. For me, tauI is inverse tau, namely tauI=1/tau. Best regards, Vova. |
|
Tags |
line term, navier stoke solver, solver |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] Compiling hacFoam (Ubuntu 10.04)(OF2.0.0)(LAMMPS13Jul2010)) | Henrik_E | OpenFOAM Installation | 3 | September 29, 2016 17:16 |
Derivative of velocity and mean velocity | hiuluom | OpenFOAM Post-Processing | 1 | May 30, 2015 00:42 |
1.7.x Environment Variables on Linux 10.04 | rasma | OpenFOAM Installation | 9 | July 30, 2010 05:43 |
Regarding FoamX running Kindly help out | hariya03 | OpenFOAM Pre-Processing | 0 | April 18, 2008 05:26 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 15:00 |