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

problem with setting laplacianSchemes

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 15, 2009, 07:31
Default problem with setting laplacianSchemes
  #1
Bob
New Member
 
Bob De Clercq
Join Date: Apr 2009
Location: Belgium
Posts: 17
Rep Power: 8
Bob is on a distinguished road
Dear all,

After successfully compiling boussinesqBuoyantFoam, I obtain the following message:

keyword laplacian((mu|rho0),U) is undefined in dictionary "/home/bob/OpenFOAM/bob-1.5/run/LockExchange/system/fvSchemes::laplacianSchemes"

file: /home/bob/OpenFOAM/bob-1.5/run/LockExchange/system/fvSchemes::laplacianSchemes from line 37 to line 40.

From function dictionary::lookupEntry(const word& keyword) const
in file db/dictionary/dictionary.C at line 213.

The fvSchemes file looks like:
laplacianSchemes
{
default none;
laplacian(nu,U) Gauss linear corrected;
laplacian((1|A(U)),p) Gauss linear corrected;
laplacian(DT,T) Gauss linear corrected;
}
"nu" is defined in the readTransportProperties.H as:
dimensionedScalar rho0
(
transportProperties.lookup("rho0")
);
dimensionedScalar nu

(
dimensionedScalar(transportProperties.lookup("mu") )/rho0
);
and in transportProperties.H I have the following:
mu mu [1 -1 -1 0 0 0 0] 1e-03;
rho0 rho0 [1 -3 0 0 0 0 0] 998.2; //density at 20C
The bizar thing is that when I change the default in the laplacianSchemes to "Gauss linear corrected", the case runs well.

Does anyone know the cause of this error, and how to solve this?

Many thanks in advance!
Cheers,
Bob
Bob is offline   Reply With Quote

Old   April 15, 2009, 10:10
Default
  #2
Senior Member
 
santos's Avatar
 
Jose Luis Santos
Join Date: Mar 2009
Location: Portugal
Posts: 213
Rep Power: 9
santos is on a distinguished road
Send a message via Skype™ to santos
Hi,

Insert the following in the laplacianSchemes section of your fvSchemes file:

laplacian((mu|rho0),U) Gauss linear corrected;

Regards,
Jose Santos
santos is offline   Reply With Quote

Old   April 15, 2009, 15:17
Default
  #3
Bob
New Member
 
Bob De Clercq
Join Date: Apr 2009
Location: Belgium
Posts: 17
Rep Power: 8
Bob is on a distinguished road
Hi,

It worked! Many thanks for the help!

Cheers,
Bob
Bob is offline   Reply With Quote

Reply

Tags
fvschemes, laplacianschemes, undefined

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
Problem setting C_MU_T with DEFINE_ADJUST Andy FLUENT 2 July 30, 2014 05:05
HELP!: swimming pool flow problem Tee FLUENT 1 September 8, 2005 08:29
Problem setting AV Marko CFX 0 March 18, 2005 09:06
Problem setting C_MU_T with DEFINE_ADJUST sarah_ron FLUENT 1 February 24, 2005 13:11
Help setting up combustor problem Tom FLUENT 0 February 5, 2005 02:20


All times are GMT -4. The time now is 03:12.