CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

Laplacian term in SimpleFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   December 5, 2012, 15:11
Default Laplacian term in SimpleFoam
New Member
Oscar Urbina
Join Date: Nov 2011
Location: Montréal
Posts: 16
Rep Power: 8
oscar_urri is on a distinguished road
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_urri is offline   Reply With Quote

Old   December 5, 2012, 18:26
Senior Member
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 217
Blog Entries: 1
Rep Power: 11
fumiya is on a distinguished road

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 is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Laplacian term in N-S equation DiegoNaval OpenFOAM 9 July 20, 2012 14: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 10:57
Laplacian term missing in simpleFoam - UEqn.H Balakrshnan Ramakrishnan OpenFOAM 2 April 5, 2011 10:58
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 15:45

All times are GMT -4. The time now is 07:38.