Way from OfenFoam 1.5 to 1.6
Hi,
I'm a french student and i'm new in the CFD domain. I have installed OF1.6 without problem, I had too OF1.5. I have build the rhoSimpleFoam files of OF1.5 and it was good. But now the same files don't work with OF1.6. Why ? Is ti normal that i don't have the rhoSimpleFoam tutorial after the installation ? Does someone have this rhoSimpleFoam files for OF1.6 ? Thank you Simon :cool: |
There are few changes u need to make to run OF 1.5 files in OF 1.6. the one thing I found was u need to change in fvSolution dictionary in system directory where U need to write the solver as seperate entry.
Ex: In OF 1.5 u have P PCG { preconditioner DIC; tolerance 1e-06; relTol 0; }; In )F 1.6 u need to write P { solver PCG; preconditioner DIC; tolerance 1e-06; relTol 0; }; with OF-1.6 some solver are removed as they not necessary as turbulent options (RANS/LES/laminar) are available in every solver, please go through 1.6 release notes --Santhosh |
Yes i have observed this problem und corrected.
But my problem is the following : " Reading thermophysical properties Selecting thermodynamics package hPsiThermo<pureMixture<constTransport<specieThermo <hConstThermo<perfectGas>>>>> Reading field U Reading/calculating face flux field phi Creating turbulence model Selecting RAS turbulence model kEpsilon kEpsilonCoeffs { Cmu 0.09; C1 1.44; C2 1.92; C3 -0.33; alphah 1; alphak 1; alphaEps 0.76923; sigmak 1; sigmaEps 1.3; Prt 1; } Starting time loop Time = 1 DILUPBiCG: Solving for Ux, Initial residual = 1, Final residual = 0.000202585, No Iterations 1 DILUPBiCG: Solving for Uy, Initial residual = 1, Final residual = 0.0260218, No Iterations 1 DILUPBiCG: Solving for Uz, Initial residual = 1, Final residual = 0.0180061, No Iterations 1 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. FOAM exiting " Thank you for your answer Simon |
The error message seems pretty self-explanatory. Have you defined div(U,p) in fvSchemes?
|
Quote:
I have never seen this line. I need to use this rhoSimpleFoam solver because i want to have "steady-state solver for turbulent flow of compressible fluids". |
Have you tried defining it in fvSchemes? I'm not sure why you get this error in 1.6 and not 1.5 though.
|
Quote:
Thank You Someone has the files for this tutorial (rhoSimpleFoam) ? |
All times are GMT -4. The time now is 08:44. |