OpenFoam 2.2.1 InterDyMFoam SloshingTank2D
Dear all:
When running sloshingTank2D I get this error listed in the log.interDyMFoam file after 1 iteration: Execution time for mesh.update() = 0.06 s MULES: Solving for alpha1 Phase-1 volume fraction = 0.35 Min(alpha1) = 0 Max(alpha1) = 1 MULES: Solving for alpha1 Phase-1 volume fraction = 0.35 Min(alpha1) = 0 Max(alpha1) = 1 MULES: Solving for alpha1 Phase-1 volume fraction = 0.35 Min(alpha1) = 0 Max(alpha1) = 1 --> FOAM FATAL IO ERROR: keyword div((muEff*dev(T(grad(U))))) is undefined in dictionary "/home/cfsengineers/OpenFOAM/cfsengineers-2.2.1/run/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/system/fvSchemes.divSchemes" file: /home/cfsengineers/OpenFOAM/cfsengineers-2.2.1/run/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/system/fvSchemes.divSchemes from line 30 to line 32. My fvSchemes file looks as follows: /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.0.1 | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { default Euler; } gradSchemes { default Gauss linear; } divSchemes { div(rho*phi,U) Gauss vanLeerV; div(phi,alpha) Gauss vanLeer; div(phirb,alpha) Gauss vanLeer; } laplacianSchemes { default Gauss linear corrected; } interpolationSchemes { default linear; } snGradSchemes { default corrected; } fluxRequired { default no; p_rgh; pcorr; alpha; } This file has not changed over several revisions of OpenFOAM. Any ideas why I am getting this error message? Thanks to all in advance |
Hi,
read carefull the error message: Quote:
Solution - into the system/fvSchemes file include in divSchemes this line: Code:
div((muEff*dev(T(grad(U))))) Gauss linear; |
Quote:
|
InterDyMFoam sloshingTank2D --another error
Dear all:
I get another error as follows: Interface Courant Number mean: 0.00370277 max: 0.259018 Courant Number mean: 0.0626012 max: 0.263435 deltaT = 0.004 Time = 4.004 --> FOAM FATAL ERROR: current time (4.004) is greater than the maximum in the data table (4) From function solidBodyMotionFunctions::tabulated6DoFMotion::tra nsformation() in file solidBodyMotionFvMesh/solidBodyMotionFunctions/tabulated6DoFMotion/tabulated6DoFMotion.C at line 95. FOAM exiting In the controlDict I have set the time to be 48, so I dont understand why this happens. Any suggestions would be greatly appreciated, thanks. |
Please ignore the previous post. It was a controlDict issue. Sorry
|
All times are GMT -4. The time now is 23:32. |