CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Way from OfenFoam 1.5 to 1.6 (https://www.cfd-online.com/Forums/openfoam/67965-way-ofenfoam-1-5-1-6-a.html)

sheintz September 2, 2009 02:55

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:

santoo_cfd September 2, 2009 03:04

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

sheintz September 2, 2009 04:06

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

l_r_mcglashan September 2, 2009 05:13

The error message seems pretty self-explanatory. Have you defined div(U,p) in fvSchemes?

sheintz September 2, 2009 05:30

Quote:

Originally Posted by l_r_mcglashan (Post 228232)
The error message seems pretty self-explanatory. Have you defined div(U,p) in fvSchemes?

No, not at all in fvSchemes.
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".

l_r_mcglashan September 2, 2009 05:36

Have you tried defining it in fvSchemes? I'm not sure why you get this error in 1.6 and not 1.5 though.

sheintz September 2, 2009 07:38

Quote:

Originally Posted by l_r_mcglashan (Post 228237)
Have you tried defining it in fvSchemes? I'm not sure why you get this error in 1.6 and not 1.5 though.

Yes it answers the same thing !
Thank You

Someone has the files for this tutorial (rhoSimpleFoam) ?


All times are GMT -4. The time now is 08:44.