CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Laplacian term in SimpleFoam

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

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

Old   December 5, 2012, 18:26
Default
  #2
Senior Member
 
fumiya's Avatar
 
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 266
Blog Entries: 1
Rep Power: 18
fumiya is on a distinguished road
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
fumiya is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
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 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


All times are GMT -4. The time now is 00:41.