CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   OpenFoam 2.2.1 InterDyMFoam SloshingTank2D (https://www.cfd-online.com/Forums/openfoam-solving/120859-openfoam-2-2-1-interdymfoam-sloshingtank2d.html)

musahossein July 16, 2013 09:20

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

majkl July 16, 2013 10:12

Hi,

read carefull the error message:
Quote:

Originally Posted by musahossein (Post 440047)
--> 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"


Solution - into the system/fvSchemes file include in divSchemes this line:
Code:

div((muEff*dev(T(grad(U))))) Gauss linear;
Majkl

musahossein July 16, 2013 11:16

Quote:

Originally Posted by majkl (Post 440068)
Hi,

read carefull the error message:



Solution - into the system/fvSchemes file include in divSchemes this line:
Code:

div((muEff*dev(T(grad(U))))) Gauss linear;
Majkl

Thankyou very much for your response. I am surprised that this is missing, since I am using the latest version of OpenFOAM (2.2.1). Is this a new addition to the code? Just curious.

musahossein July 16, 2013 11:46

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.

musahossein July 16, 2013 14:47

Please ignore the previous post. It was a controlDict issue. Sorry


All times are GMT -4. The time now is 23:32.