|
[Sponsors] |
April 1, 2012, 08:06 |
Problem computing divergence field
|
#1 |
New Member
Gilles De Neyer
Join Date: Nov 2011
Posts: 18
Rep Power: 15 |
Hello,
I'm actually trying to compute the divergence field for a laminar compressible flow on a cylinder and I got weird results around the cylinder. I have a zero divergence field inside the structured grid around cylinder and then some fluctuation in the non structured grid. The code I used for this was just this at the end of my timeloop volScalarField divField ( IOobject ( "divU", mesh.time().timeName(), mesh, IOobject::NO_READ IOobject::AUTO_WRITE ), fvc::div(U) ); Note: the flow is laminar with low Mach number 0.05 using rhoPimpleFoam, in attachment the divergence field with and without the mesh |
|
April 2, 2012, 03:34 |
|
#2 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
There are a good number of posts explaining that what should be computed is
fvc::div(phi) and not fvc::div(U). Best regards,
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Multiphase phase (gas-solid) flow using Eulerian-Granular medel ( divergence problem) | jessie | FLUENT | 3 | May 29, 2014 12:05 |
Divergence problem for species transport model | MY | FLUENT | 3 | January 11, 2014 05:46 |
Problem while running in Highperformance computing environment | Phanipavan | STAR-CD | 1 | September 11, 2013 07:42 |
problem during my computing | oliver | FLUENT | 0 | May 31, 2007 09:35 |
Divergence Free on the Magnetic Field | Valdemir | Main CFD Forum | 1 | March 19, 2003 19:33 |