CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   rhoSimpleFoam OF1.6 (https://www.cfd-online.com/Forums/openfoam/68015-rhosimplefoam-of1-6-a.html)

sheintz September 3, 2009 05:33

rhoSimpleFoam OF1.6
 
Hi,
i'm a french student, i have posted something yesterday but my question was not understood.
I work with RedHat 5 and OpenFOAM 1.6 (i have too the version 1.5).
I'm searching a "subsonic-turbulent-compressible" solver also i have chose the "rhoSimpleFoam" solver.
How i process, I have a geometry in a .ccm file and I convert this file with the "ccm26ToFoam" converter (it works only on OpenFOAM 1.6, i must use the "star4ToFoam" converter of OpenFOAM 1.5, ccm26ToFoam is better).
All my files work of OpenFOAM 1.50 but not oh OpenFOAM 1.6.
I have the following error :
"
keyword div(U,p) is undefined in dictionary "/nfs/fnx107_vol1/disk_f142/et_disk4/estdipl3/Heintz/OpenFOAM/Unilateral_ccm26ToFoam/system/fvSchemes::divSchemes"
file: /nfs/fnx107_vol1/disk_f142/et_disk4/estdipl3/Heintz/OpenFOAM/Unilateral_ccm26ToFoam/system/fvSchemes::divSchemes from line 33 to line 38.
From function dictionary::lookupEntry(const word&, bool, bool) const
in file db/dictionary/dictionary.C at line 388.
"
My files are in this link : http://www.megaupload.com/?d=EXSZIZY0
Best regards
Simon ;)

l_r_mcglashan September 3, 2009 06:33

I told you what the problem was in the other thread, you need to define div(U,p) in fvSchemes. I downloaded your files, did that and your case runs.

sheintz September 3, 2009 07:28

I have added this line :
"
interpolationSchemes
{
default linear;
interpolate(U) linear;
div(U,p) linear;
}
"
But there is the same error ?!
Thank you
Simon

l_r_mcglashan September 3, 2009 07:30

You need to put it in divSchemes, not interpolationSchemes.

sheintz September 3, 2009 07:41

I thank you !
I have more understood how the new version works.
There were again a lot of errors in my files. Why there are no the same errors in 1.5 and in 1.6 ?
Best wishes !
Best regards.
Simon


All times are GMT -4. The time now is 15:36.