CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

OpenFoam 2.2.1 InterDyMFoam SloshingTank2D

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 16, 2013, 10:20
Default OpenFoam 2.2.1 InterDyMFoam SloshingTank2D
  #1
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18
musahossein is on a distinguished road
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
musahossein is offline   Reply With Quote

Old   July 16, 2013, 11:12
Default
  #2
New Member
 
Michal
Join Date: Apr 2012
Location: Czech Republic
Posts: 27
Rep Power: 14
majkl is on a distinguished road
Hi,

read carefull the error message:
Quote:
Originally Posted by musahossein View Post
--> 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
majkl is offline   Reply With Quote

Old   July 16, 2013, 12:16
Default
  #3
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18
musahossein is on a distinguished road
Quote:
Originally Posted by majkl View Post
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 is offline   Reply With Quote

Old   July 16, 2013, 12:46
Default InterDyMFoam sloshingTank2D --another error
  #4
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18
musahossein is on a distinguished road
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 is offline   Reply With Quote

Old   July 16, 2013, 15:47
Default
  #5
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18
musahossein is on a distinguished road
Please ignore the previous post. It was a controlDict issue. Sorry
musahossein is offline   Reply With Quote

Reply

Tags
fvscheme, interdymfoam, sloshingtank2d


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ESI-OpenCFD releases OpenFOAMŪ 2.2.1 opencfd OpenFOAM Announcements from ESI-OpenCFD 2 August 7, 2013 01:26
Post Processing SloshingTank2D in OpenFOAM musahossein OpenFOAM 0 April 23, 2013 08:55
Critical errors during OpenFoam installation in OpenSuse 11.0 amscosta OpenFOAM 5 May 1, 2009 15:06
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07
OpenFOAM Training and Workshop Hrvoje Jasak Main CFD Forum 0 October 7, 2005 08:14


All times are GMT -4. The time now is 00:36.