CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   running a .dat file with only 2 data (http://www.cfd-online.com/Forums/openfoam-solving/95801-running-dat-file-only-2-data.html)

musahossein January 3, 2012 11:54

running a .dat file with only 2 data
 
Dear all:

I have the following 6DoF.dat file with only two rows of data (multiphase/interDyMFoam/sloshingTank2D):

2
(
( 0.00 (( 0.0000 0.0000 0.0000) ( 0.0000 0.0000 0.0000)))
( 0.02 (( 0.0000 0.0200 0.0000) ( 0.0000 0.0000 0.0000)))
)

When I run interDyMFoam,it appears to run fine, however after a few seconds, I get an error message:

--> FOAM FATAL ERROR:
current time (0.03) is greater than the maximum in the data table (0.02)

From function solidBodyMotionFunctions::tabulated6DoFMotion::tra nsformation()
in file solidBodyMotionFvMesh/solidBodyMotionFunctions/tabulated6DoFMotion/tabulated6DoFMotion.C at line 95.

FOAM exiting

why is this error occuring? The time associated with my data value is 0.0 and 0.02. Is this a controlDict problem? Currently my deltaT is 0.01. Should that be changed to something more smaller?

The rest of the interDyMFoam log is appended below. Thanks for any suggestions

Reading transportProperties

Selecting incompressible transport model Newtonian
Selecting incompressible transport model Newtonian
Selecting turbulence model type laminar

Reading g
Calculating field g.h


PIMPLE: Operating solver in PISO mode

time step continuity errors : sum local = 0, global = 0, cumulative = 0
GAMGPCG: Solving for pcorr, Initial residual = 1, Final residual = 2.14316e-11, No Iterations 1
time step continuity errors : sum local = 1.33983e-10, global = 0, cumulative = 0
Courant Number mean: 9.75652e-10 max: 2.50253e-08

Starting time loop

Reading surface description:
walls

Interface Courant Number mean: 0 max: 0
Courant Number mean: 9.75652e-10 max: 2.50253e-08
deltaT = 0.01
Time = 0.01

solidBodyMotionFunctions::tabulated6DoFMotion::tra nsformation(): Time = 0.01 transformation: ((0 0.01 0) (1 (0 0 0)))
Execution time for mesh.update() = 0.01 s
MULES: Solving for alpha1
Liquid phase volume fraction = 0.5 Min(alpha1) = 0 Max(alpha1) = 1
MULES: Solving for alpha1
Liquid phase volume fraction = 0.5 Min(alpha1) = 0 Max(alpha1) = 1
MULES: Solving for alpha1
Liquid phase volume fraction = 0.5 Min(alpha1) = 0 Max(alpha1) = 1
GAMG: Solving for p_rgh, Initial residual = 1, Final residual = 0.00488378, No Iterations 8
time step continuity errors : sum local = 2.59452e-06, global = -7.5568e-19, cumulative = -7.5568e-19
GAMGPCG: Solving for p_rgh, Initial residual = 0.00824514, Final residual = 1.20127e-09, No Iterations 7
time step continuity errors : sum local = 1.25978e-12, global = -7.75336e-19, cumulative = -1.53102e-18
ExecutionTime = 0.23 s ClockTime = 1 s

Interface Courant Number mean: 0 max: 0
Courant Number mean: 0.0119719 max: 0.049986
deltaT = 0.01
Time = 0.02

solidBodyMotionFunctions::tabulated6DoFMotion::tra nsformation(): Time = 0.02 transformation: ((0 0.02 0) (1 (0 0 0)))
Execution time for mesh.update() = 0.02 s
MULES: Solving for alpha1
Liquid phase volume fraction = 0.5 Min(alpha1) = 0 Max(alpha1) = 1
MULES: Solving for alpha1
Liquid phase volume fraction = 0.5 Min(alpha1) = 0 Max(alpha1) = 1
MULES: Solving for alpha1
Liquid phase volume fraction = 0.5 Min(alpha1) = 0 Max(alpha1) = 1
GAMG: Solving for p_rgh, Initial residual = 0.674112, Final residual = 0.00347277, No Iterations 7
time step continuity errors : sum local = 5.39859e-06, global = 9.40126e-19, cumulative = -5.90889e-19
GAMGPCG: Solving for p_rgh, Initial residual = 0.014532, Final residual = 3.95383e-10, No Iterations 7
time step continuity errors : sum local = 6.47636e-13, global = 9.57541e-19, cumulative = 3.66651e-19
ExecutionTime = 0.36 s ClockTime = 1 s

Interface Courant Number mean: 0.000233336 max: 0.0573579
Courant Number mean: 0.0121086 max: 0.0573579
deltaT = 0.01
Time = 0.03



--> FOAM FATAL ERROR:
current time (0.03) is greater than the maximum in the data table (0.02)

From function solidBodyMotionFunctions::tabulated6DoFMotion::tra nsformation()
in file solidBodyMotionFvMesh/solidBodyMotionFunctions/tabulated6DoFMotion/tabulated6DoFMotion.C at line 95.

FOAM exiting

musahossein January 3, 2012 17:17

Please ignore this post. This was a controlDict problem and I fixed it.


All times are GMT -4. The time now is 09:02.