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

problem with setting laplacianSchemes

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 15, 2009, 08:31
Default problem with setting laplacianSchemes
  #1
Bob
New Member
 
Bob De Clercq
Join Date: Apr 2009
Location: Belgium
Posts: 17
Rep Power: 17
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 20°C
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, 11:10
Default
  #2
Senior Member
 
santos's Avatar
 
Jose Luis Santos
Join Date: Mar 2009
Location: Portugal
Posts: 215
Rep Power: 18
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, 16:17
Default
  #3
Bob
New Member
 
Bob De Clercq
Join Date: Apr 2009
Location: Belgium
Posts: 17
Rep Power: 17
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


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
Problem setting C_MU_T with DEFINE_ADJUST Andy FLUENT 3 June 22, 2018 03:53
HELP!: swimming pool flow problem Tee FLUENT 1 September 8, 2005 09: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:41.