problem with setting laplacianSchemes
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"nu" is defined in the readTransportProperties.H as:
dimensionedScalar rho0and in transportProperties.H I have the following:
mu mu [1 -1 -1 0 0 0 0] 1e-03;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!
Insert the following in the laplacianSchemes section of your fvSchemes file:
laplacian((mu|rho0),U) Gauss linear corrected;
It worked! Many thanks for the help!
|All times are GMT -4. The time now is 03:12.|