|March 28, 2011, 14:16||
p_rgh in OpenFOAM 1.6
Join Date: Jan 2010
Location: University of Tor Vergata, Rome
Posts: 364Rep Power: 11
Hi all, I'm trying to modify the chtMultiregionFoam solver of OpenFOAM 1.6 adding some of the characteristics of the 1.7.1 version. Apart from the details, I need the 1.6 solver to recognize p_rgh as the new pressure variable for which the solution procedure is performed. I've modified the pEqn.H file in order to reach the goal, but after a seemingly correct compilation when I try to run a test case this is the error message coming out:
Solving for fluid region fluid1
diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCG: Solving for Ux, Initial residual = 1, Final residual = 2.5150392e-08, No Iterations 2
DILUPBiCG: Solving for Uy, Initial residual = 1, Final residual = 9.5553996e-09, No Iterations 2
DILUPBiCG: Solving for Uz, Initial residual = 1, Final residual = 6.502438e-09, No Iterations 2
DILUPBiCG: Solving for h, Initial residual = 1, Final residual = 3.847947e-09, No Iterations 2
Min/max T:300 363
keyword p is undefined in dictionary "/work/alh/vesselin/myMultiRegionCase_4_liquid/system/fluid1/fvSolution::solvers"
file: /work/alh/vesselin/myMultiRegionCase_4_liquid/system/fluid1/fvSolution::solvers from line 21 to line 124.
From function dictionary::subDict(const word& keyword) const
in file db/dictionary/dictionary.C at line 449.
Any suggestion to fix the problem? Is it possible to redefine the keyword for the pressure variable?
Thank you in advance
PS-Please, do not answer: "Switch to OF-1.7.1 instead of breaking your head on how to modify the 1.6 version...". I know this could be the simplest solution bur unfortunately I must do it the above way....
|March 30, 2011, 09:29||
p_rgh in OpenFOAM 1.6
Join Date: Aug 2009
Posts: 322Rep Power: 10
I think you must change the name of the p to p_rgh in your code or p_rgh to p in you solution dictionaty. But if I mistake, you can upload your code for more help.
|Thread||Thread Starter||Forum||Replies||Last Post|
|OpenFOAM 1.6 and 1.7 with interFoam, groovyBC give different strange results||Arnoldinho||OpenFOAM||7||December 9, 2010 17:29|
|kOmegaSST in openfoam 1.6||Gearb0x||OpenFOAM||2||March 3, 2010 07:02|
|Cross-compiling OpenFOAM 1.6 on Linux for Windows 32 and 64bits with Mingw-w64||wyldckat||OpenFOAM Announcements from Other Sources||7||January 19, 2010 16:39|
|OpenFOAM 1.6 package - CentOS 5.3 x86_64||linnemann||OpenFOAM Installation||36||September 2, 2009 12:46|
|OpenFOAM Version 1.6 Released||opencfd||OpenFOAM Announcements from ESI-OpenCFD||0||July 27, 2009 17:55|