|
[Sponsors] |
December 5, 2012, 15:11 |
Laplacian term in SimpleFoam
|
#1 |
New Member
Oscar Urbina
Join Date: Nov 2011
Location: Montréal
Posts: 16
Rep Power: 15 |
hi everyone,
i'm trying to introduce a source term directly in the pressure equation in simpleFoam, fvm::laplacian(rAU, p) + rAU*lap == fvc::div(phi) it seems to work, the pressure results are correct but when it comes to the velocity it seems to explode, i think it might be because the laplacian term uses linear schemes by default, laplacian((1|A(U)),p) Gauss linear corrected; i tried to use the upwind schemes laplacian((1|A(U)),p) Gauss upwind corrected; but i doesn't work, so my question is, does the laplacian term only accepts the linear schemes? thanks in advance Oscar |
|
December 5, 2012, 18:26 |
|
#2 |
Senior Member
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 266
Blog Entries: 1
Rep Power: 19 |
Hi,
You might want to have a try the following: laplacian((1|A(U)),p) Gauss upwind phi corrected; The interpolation scheme specified in laplacian is used to interpolate 1|A(U) from the cell centers to the cell faces, and the upwind interpolation scheme needs phi to determine the upwind direction. Hope that helps, fumiya |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Laplacian term in N-S equation | DiegoNaval | OpenFOAM | 9 | July 20, 2012 15:32 |
laplacian term in turbulent model | chai | OpenFOAM Running, Solving & CFD | 4 | March 8, 2012 10:28 |
Source term problem in UEqn of simpleFoam | fisch | OpenFOAM Programming & Development | 1 | June 17, 2011 11:57 |
Laplacian term missing in simpleFoam - UEqn.H | Balakrshnan Ramakrishnan | OpenFOAM | 2 | April 5, 2011 11:58 |
ATTENTION! Reliability problems in CFX 5.7 | Joseph | CFX | 14 | April 20, 2010 16:45 |