
[Sponsors] 
June 19, 2013, 05:23 
AMI interDyMFoam for mixer nu problem

#1 
Senior Member
Daniel Witte
Join Date: Nov 2011
Posts: 141
Rep Power: 7 
Hello,
I have altered the mixerAMI tutorial case to have an interface between 2 phases. The calculation seems starting off ok, and build the 1st time folder (0.1 s) result out of 5 s. Then the program abborts having the following error message: HTML Code:
dw@PC83U:~/OpenFOAM/dw2.1.x/run/MooneyMeter_AMI_interDymFoam_2$ mpirun np 6 interDyMFoam parallel > log & [1] 3945 dw@PC83U:~/OpenFOAM/dw2.1.x/run/MooneyMeter_AMI_interDymFoam_2$ [1] [1] [1] > FOAM FATAL IO ERROR: [1] keyword nu is undefined in dictionary "/home/dw/OpenFOAM/dw2.1.x/run/MooneyMeter_AMI_interDymFoam_2/processor1/constant/transportProperties" [1] [1] file: [2] [2] [2] > FOAM FATAL IO ERROR: [2] keyword nu is undefined in dictionary "/home/dw/OpenFOAM/dw2.1.x/run/MooneyMeter_AMI_interDymFoam_2/processor2/constant/transportProperties" [2] [2] file: /home/dw/OpenFOAM/dw2.1.x/run/MooneyMeter_AMI_interDymFoam_2/processor2/constant/transportProperties from line 0 to line 0[4] [5] [5] [5] > FOAM FATAL IO ERROR: [5] keyword nu is undefined in dictionary "/home/dw/OpenFOAM/dw2.1.x/run/MooneyMeter_AMI_interDymFoam_2/processor5/constant/transportProperties" [5] [5] file: /home/dw/OpenFOAM/dw2.1.x/run/MooneyMeter_AMI_interDymFoam_2/processor5/constant/transportProperties from line 0 to line 0. [5] [5] From function dictionary::lookupEntry(const word&, bool, bool) const/home/dw/OpenFOAM/dw2.1.x/run/MooneyMeter_AMI_interDymFoam_2/processor1/constant/transportProperties from line 0 to line 0. [1] [1] From function dictionary::lookupEntry(const word&, bool, bool) const [1] in file db/dictionary/dictionary.C at line 400. [1] FOAM parallel run exiting [1] . [2] [2] From function dictionary::lookupEntry(const word&, bool, bool) const [2] in file db/dictionary/dictionary.C at line 400. [2] FOAM parallel run exiting [2]  MPI_ABORT was invoked on rank 5 in communicator MPI_COMM_WORLD with errorcode 1. NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes. You may or may not see output from other processes, depending on exactly when Open MPI kills them.  [5] in file db/dictionary/dictionary.C at line 400. [5] FOAM parallel run exiting [5] [0] [0] [0] > FOAM FATAL IO ERROR: [0] keyword nu is undefined in dictionary "/home/dw/OpenFOAM/dw2.1.x/run/MooneyMeter_AMI_interDymFoam_2/processor0/constant/transportProperties" [0] [0] file: /home/dw/OpenFOAM/dw2.1.x/run/MooneyMeter_AMI_interDymFoam_2/processor0/constant/transportProperties from line 20 to line 43. [0] [0] From function dictionary::lookupEntry(const word&, bool, bool) const [0] in file db/dictionary/dictionary.C at line 400. [0] FOAM parallel run exiting [0] [3] [3] [3] > FOAM FATAL IO ERROR: [3] keyword nu is undefined in dictionary "/home/dw/OpenFOAM/dw2.1.x/run/MooneyMeter_AMI_interDymFoam_2/processor3/constant/transportProperties" [3] [3] file: /home/dw/OpenFOAM/dw2.1.x/run/MooneyMeter_AMI_interDymFoam_2/processor3/constant/transportProperties from line 0 to line 0. [3] [3] From function dictionary::lookupEntry(const word&, bool, bool) const [3] in file db/dictionary/dictionary.C at line 400. [3] FOAM parallel run exiting [3] [4] [4] > FOAM FATAL IO ERROR: [4] keyword nu is undefined in dictionary "/home/dw/OpenFOAM/dw2.1.x/run/MooneyMeter_AMI_interDymFoam_2/processor4/constant/transportProperties" [4] [4] file: /home/dw/OpenFOAM/dw2.1.x/run/MooneyMeter_AMI_interDymFoam_2/processor4/constant/transportProperties from line 0 to line 0. [4] [4] From function dictionary::lookupEntry(const word&, bool, bool) const [4] in file db/dictionary/dictionary.C at line 400. [4] FOAM parallel run exiting [4]  mpirun has exited due to process rank 5 with PID 3951 on node PC83U exiting improperly. There are two reasons this could occur: 1. this process did not call "init" before exiting, but others in the job did. This can cause a job to hang indefinitely while it waits for all processes to call "init". By rule, if one process calls "init", then ALL processes must call "init" prior to termination. 2. this process called "init", but exited without calling "finalize". By rule, all processes that call "init" MUST call "finalize" prior to exiting or it will be considered an "abnormal termination" This may have caused other processes in the application to be terminated by signals sent by mpirun (as reported here).  [PC83U:03945] 5 more processes have sent help message helpmpiapi.txt / mpiabort [PC83U:03945] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages [1]+ Exit 1 mpirun np 6 interDyMFoam parallel > log dw@PC83U:~/OpenFOAM/dw2.1.x/run/MooneyMeter_AMI_interDymFoam_2$ HTML Code:
Interface Courant Number mean: 0 max: 0 Courant Number mean: 0.00718959 max: 0.0288944 deltaT = 0.00863822 Time = 0.1 solidBodyMotionFunctions::rotatingMotion::transformation(): Time = 0.1 transformation: ((0 0 0) (0.999945 (0 0 0.0104718))) AMI: Creating addressing and weights between 3834 source faces and 3834 target faces AMI: Patch source weights min/max/average = 1, 1.00701, 1.00045 AMI: Patch target weights min/max/average = 1, 1.00435, 1.00039 Execution time for mesh.update() = 0.14 s MULES: Solving for alpha1 Phase1 volume fraction = 0.531065 Min(alpha1) = 2.5463e34 Max(alpha1) = 1 MULES: Solving for alpha1 Phase1 volume fraction = 0.531065 Min(alpha1) = 1.57193e33 Max(alpha1) = 1 MULES: Solving for alpha1 Phase1 volume fraction = 0.531065 Min(alpha1) = 1.57193e33 Max(alpha1) = 1 PIMPLE: iteration 1 smoothSolver: Solving for Ux, Initial residual = 0.000580287, Final residual = 7.26327e06, No Iterations 7 smoothSolver: Solving for Uy, Initial residual = 0.000580396, Final residual = 7.1926e06, No Iterations 7 smoothSolver: Solving for Uz, Initial residual = 0.0348143, Final residual = 6.43603e06, No Iterations 17 GAMG: Solving for p_rgh, Initial residual = 4.63679e07, Final residual = 9.73762e09, No Iterations 11 time step continuity errors : sum local = 6.73903e08, global = 8.68606e09, cumulative = 2.30308e06 GAMG: Solving for p_rgh, Initial residual = 2.225e08, Final residual = 4.5959e09, No Iterations 6 time step continuity errors : sum local = 1.80979e07, global = 9.84622e09, cumulative = 2.31293e06 GAMG: Solving for p_rgh, Initial residual = 2.65858e08, Final residual = 7.77777e09, No Iterations 1 time step continuity errors : sum local = 1.27862e07, global = 9.97309e09, cumulative = 2.3229e06 GAMG: Solving for p_rgh, Initial residual = 1.39376e08, Final residual = 7.85448e09, No Iterations 2 time step continuity errors : sum local = 1.23004e07, global = 9.88666e09, cumulative = 2.33279e06 GAMG: Solving for p_rgh, Initial residual = 1.6827e08, Final residual = 2.94924e09, No Iterations 1 time step continuity errors : sum local = 4.24369e08, global = 9.88312e09, cumulative = 2.34267e06 GAMG: Solving for p_rgh, Initial residual = 5.29784e09, Final residual = 5.29784e09, No Iterations 0 time step continuity errors : sum local = 7.37101e08, global = 9.88904e09, cumulative = 2.35256e06 PIMPLE: iteration 2 smoothSolver: Solving for Ux, Initial residual = 0.000406186, Final residual = 9.17091e06, No Iterations 8 smoothSolver: Solving for Uy, Initial residual = 0.000406245, Final residual = 9.11417e06, No Iterations 8 smoothSolver: Solving for Uz, Initial residual = 0.03295, Final residual = 7.27708e06, No Iterations 17 GAMG: Solving for p_rgh, Initial residual = 1.20815e07, Final residual = 6.02623e09, No Iterations 8 time step continuity errors : sum local = 1.17466e07, global = 1.1788e08, cumulative = 2.36435e06 GAMG: Solving for p_rgh, Initial residual = 4.85723e08, Final residual = 9.21026e09, No Iterations 6 time step continuity errors : sum local = 1.65825e07, global = 1.0649e08, cumulative = 2.375e06 GAMG: Solving for p_rgh, Initial residual = 1.4502e07, Final residual = 8.6203e09, No Iterations 7 time step continuity errors : sum local = 2.90993e08, global = 1.05608e08, cumulative = 2.38556e06 GAMG: Solving for p_rgh, Initial residual = 4.74253e08, Final residual = 5.46874e09, No Iterations 1 time step continuity errors : sum local = 2.40905e08, global = 1.05746e08, cumulative = 2.39613e06 GAMG: Solving for p_rgh, Initial residual = 1.16193e08, Final residual = 4.55811e09, No Iterations 2 time step continuity errors : sum local = 1.99323e08, global = 1.05617e08, cumulative = 2.40669e06 GAMG: Solving for p_rgh, Initial residual = 9.88582e09, Final residual = 9.88582e09, No Iterations 0 time step continuity errors : sum local = 4.26416e08, global = 1.05606e08, cumulative = 2.41726e06 PIMPLE: iteration 3 smoothSolver: Solving for Ux, Initial residual = 7.31042e05, Final residual = 8.09888e06, No Iterations 3 smoothSolver: Solving for Uy, Initial residual = 7.3104e05, Final residual = 8.05193e06, No Iterations 3 smoothSolver: Solving for Uz, Initial residual = 0.0126386, Final residual = 8.20881e06, No Iterations 14 GAMG: Solving for p_rgh, Initial residual = 7.15945e08, Final residual = 7.47356e09, No Iterations 1 time step continuity errors : sum local = 3.32439e08, global = 1.059e08, cumulative = 2.42785e06 GAMG: Solving for p_rgh, Initial residual = 1.86575e08, Final residual = 4.7532e09, No Iterations 1 time step continuity errors : sum local = 2.10096e08, global = 1.0583e08, cumulative = 2.43843e06 GAMG: Solving for p_rgh, Initial residual = 8.49776e09, Final residual = 8.49776e09, No Iterations 0 time step continuity errors : sum local = 3.53645e08, global = 1.05813e08, cumulative = 2.44901e06 GAMG: Solving for p_rgh, Initial residual = 1.04412e08, Final residual = 3.86596e09, No Iterations 1 time step continuity errors : sum local = 1.63832e08, global = 1.05833e08, cumulative = 2.45959e06 GAMG: Solving for p_rgh, Initial residual = 4.58133e09, Final residual = 4.58133e09, No Iterations 0 time step continuity errors : sum local = 1.87374e08, global = 1.05827e08, cumulative = 2.47018e06 GAMG: Solving for p_rgh, Initial residual = 5.12872e09, Final residual = 5.12872e09, No Iterations 0 time step continuity errors : sum local = 2.09763e08, global = 1.05827e08, cumulative = 2.48076e06 PIMPLE: iteration 4 smoothSolver: Solving for Ux, Initial residual = 3.00653e05, Final residual = 7.61561e06, No Iterations 2 smoothSolver: Solving for Uy, Initial residual = 3.00715e05, Final residual = 7.61024e06, No Iterations 2 smoothSolver: Solving for Uz, Initial residual = 0.00640266, Final residual = 8.44997e06, No Iterations 13 GAMG: Solving for p_rgh, Initial residual = 2.59555e08, Final residual = 4.07093e09, No Iterations 1 time step continuity errors : sum local = 1.67074e08, global = 1.05998e08, cumulative = 2.49136e06 GAMG: Solving for p_rgh, Initial residual = 8.68281e09, Final residual = 8.68281e09, No Iterations 0 time step continuity errors : sum local = 3.60341e08, global = 1.06025e08, cumulative = 2.50196e06 GAMG: Solving for p_rgh, Initial residual = 1.17972e08, Final residual = 3.7096e09, No Iterations 1 time step continuity errors : sum local = 1.5422e08, global = 1.05886e08, cumulative = 2.51255e06 GAMG: Solving for p_rgh, Initial residual = 5.39397e09, Final residual = 5.39397e09, No Iterations 0 time step continuity errors : sum local = 2.22894e08, global = 1.05884e08, cumulative = 2.52314e06 GAMG: Solving for p_rgh, Initial residual = 6.74929e09, Final residual = 6.74929e09, No Iterations 0 time step continuity errors : sum local = 2.789e08, global = 1.05884e08, cumulative = 2.53373e06 GAMG: Solving for p_rgh, Initial residual = 7.69072e09, Final residual = 7.69072e09, No Iterations 0 time step continuity errors : sum local = 3.17803e08, global = 1.05884e08, cumulative = 2.54431e06 PIMPLE: iteration 5 smoothSolver: Solving for Ux, Initial residual = 1.45307e05, Final residual = 7.77353e06, No Iterations 1 smoothSolver: Solving for Uy, Initial residual = 1.4495e05, Final residual = 7.72975e06, No Iterations 1 smoothSolver: Solving for Uz, Initial residual = 0.0039205, Final residual = 8.98137e06, No Iterations 12 GAMG: Solving for p_rgh, Initial residual = 1.855e08, Final residual = 5.7775e09, No Iterations 1 time step continuity errors : sum local = 2.3897e08, global = 1.05728e08, cumulative = 2.55489e06 GAMG: Solving for p_rgh, Initial residual = 1.00594e08, Final residual = 3.79035e09, No Iterations 1 time step continuity errors : sum local = 1.5562e08, global = 1.05829e08, cumulative = 2.56547e06 GAMG: Solving for p_rgh, Initial residual = 5.14613e09, Final residual = 5.14613e09, No Iterations 0 time step continuity errors : sum local = 2.10885e08, global = 1.05838e08, cumulative = 2.57605e06 GAMG: Solving for p_rgh, Initial residual = 6.09124e09, Final residual = 6.09124e09, No Iterations 0 time step continuity errors : sum local = 2.49615e08, global = 1.05838e08, cumulative = 2.58664e06 GAMG: Solving for p_rgh, Initial residual = 6.82151e09, Final residual = 6.82151e09, No Iterations 0 time step continuity errors : sum local = 2.79541e08, global = 1.05838e08, cumulative = 2.59722e06 GAMG: Solving for p_rgh, Initial residual = 7.36735e09, Final residual = 7.36735e09, No Iterations 0 time step continuity errors : sum local = 3.01909e08, global = 1.05838e08, cumulative = 2.60781e06 PIMPLE: iteration 6 smoothSolver: Solving for Ux, Initial residual = 8.0169e06, Final residual = 9.08257e07, No Iterations 4 smoothSolver: Solving for Uy, Initial residual = 7.99963e06, Final residual = 8.9875e07, No Iterations 4 smoothSolver: Solving for Uz, Initial residual = 0.00224408, Final residual = 8.402e07, No Iterations 16 GAMG: Solving for p_rgh, Initial residual = 1.59378e08, Final residual = 4.26623e09, No Iterations 1 time step continuity errors : sum local = 1.74918e08, global = 1.0607e08, cumulative = 2.61841e06 GAMG: Solving for p_rgh, Initial residual = 8.24514e09, Final residual = 8.24514e09, No Iterations 0 time step continuity errors : sum local = 3.42347e08, global = 1.061e08, cumulative = 2.62902e06 GAMG: Solving for p_rgh, Initial residual = 1.10524e08, Final residual = 3.48832e09, No Iterations 1 time step continuity errors : sum local = 1.44895e08, global = 1.0589e08, cumulative = 2.63961e06 GAMG: Solving for p_rgh, Initial residual = 5.03605e09, Final residual = 5.03605e09, No Iterations 0 time step continuity errors : sum local = 2.07288e08, global = 1.05877e08, cumulative = 2.6502e06 GAMG: Solving for p_rgh, Initial residual = 6.05585e09, Final residual = 6.05585e09, No Iterations 0 time step continuity errors : sum local = 2.49263e08, global = 1.05877e08, cumulative = 2.66079e06 GAMGPCG: Solving for p_rgh, Initial residual = 6.71681e09, Final residual = 6.71681e09, No Iterations 0 time step continuity errors : sum local = 2.76469e08, global = 1.05877e08, cumulative = 2.67137e06 ExecutionTime = 26.87 s ClockTime = 27 s Code:
/** C++ **\  =========    \\ / F ield  OpenFOAM: The Open Source CFD Toolbox   \\ / O peration  Version: 2.1.x   \\ / A nd  Web: www.OpenFOAM.com   \\/ M anipulation   \**/ FoamFile { version 2.0; format ascii; class dictionary; location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // phase1 { transportModel CrossPowerLaw; nu nu [ 0 2 1 0 0 0 0 ] 1; CrossPowerLawCoeffs { nu0 nu0 [ 0 2 1 0 0 0 0 ] 310.553906; nuInf nuInf [ 0 2 1 0 0 0 0 ] 0; m m [ 0 0 1 0 0 0 0 ] 2.26191333; n n [ 0 0 0 0 0 0 0 ] 0.33808236; } rho rho [ 1 3 0 0 0 0 0 ] 803.792583; } phase2 { transportModel Newtonian; nu nu [ 0 2 1 0 0 0 0 ] 1e5; rho rho [ 1 3 0 0 0 0 0 ] 1; } sigma sigma [ 1 0 2 0 0 0 0 ] 0.05; // ************************************************************************* // Thanks for the help. Regards, Daniel 

June 19, 2013, 22:48 

#2 
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Torino, Italy
Posts: 750
Rep Power: 9 
Some times it happens to me if I wanne write the "forces". if you find a solution I would like to know it. Thanks.


June 20, 2013, 02:58 

#3 
Senior Member
Daniel Witte
Join Date: Nov 2011
Posts: 141
Rep Power: 7 
Hello Sharonyue,
Thanks for the reply. You gave me a hint. I tried calculating without forces and it works! Well, I need forces anyway, since is how to verify the simulation by tests. Do you have an idea, meaning can you specify "sometimes" a little more in detail? Regards, Daniel PS: Well, there is another issue: I have created the level using the setfields utility, since creating it manually did not work. However, the alpha1 file looks different to what I found in this forum, meaning one of your posts. setFields removes all the patches except the stator and the titel "boundaryfield" is also removed. Recopying the text back does not work, meaning I cannot decompose the case. Calculating seems ok. so far. Last edited by danny123; June 20, 2013 at 08:58. 

August 27, 2013, 17:37 
keyword nu is undefined in dictionary "home/..../transportProperties"

#4 
Senior Member
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 11 
I have the same problem as of today when I introduced the following code in controlDict:
forces { type forces; functionObjectLibs ("libforces.so"); //Lib to load patches (leftWall rightWall lowerWall); pName p; UName U; rhoName rhoInf; rhoInf 998.2; //Reference density for fluid nuInf 1e06; CofR (0 0 0); //Origin for moment calculations outputControl timeStep; outputInterval 1; } The error message looks like this: keyword nu is undefined in dictionary "/home/...../transportProperties" [7] [7] file: /home/...../transportProperties from line 0 to line 0. The referenced line is from 0 to line 0. Any suggestions for a possible fix? 

August 28, 2013, 11:56 

#5 
Senior Member
Daniel Witte
Join Date: Nov 2011
Posts: 141
Rep Power: 7 
Hello musahossein,
I did a couple trials using the MixerVesselAMI using fill level and, so far did not find any particular pattern, why "Forces" does not work. It seems not to make a difference, whether the initial fill is in the stator Region, the rotor or across the AMI Interface. Regards, Daniel 

August 28, 2013, 16:27 

#6 
Senior Member
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 11 
You might want to review the following post as a way to solve the problem. I will do it in the next few hours. If you are successful, please let me know.
http://www.cfdonline.com/Forums/ope....html#poststop 

August 30, 2013, 17:10 
keyword nu is undefined in dictionary "home/..../transportProperties"

#7  
Senior Member
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 11 
Quote:
In the TurbulenceProperties file do the following: set simulationType RASModel or LESModel; if simulationType is set to laminar, comment it out, and out one of the choices. In the RasProperties file change the settings to: RASModel (or LESModel) laminar; turbulence off; printCoeffs on; It appears that libforces.so in OpenFOAM 2.2.1 cannot resolve forces involving 2 fluids as discussed here: http://www.cfdonline.com/Forums/ope....html#poststop. I am running sloshingtank2d using interdymfoam. I dont know if this will help you case but I hope it may highlight the fact that the problem is triggered by libforces.so and nothing else. 

August 31, 2013, 13:24 

#8 
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,872
Blog Entries: 39
Rep Power: 108 
Greetings to all!
I've answered to Musaddeque on this topic here: http://www.cfdonline.com/Forums/ope...tml#post449068  post #13 In essence, the problem is that the forces function object was designed for working with singlephase solvers, not with multiphase solvers. Read the indicated post for more information. Best regards, Bruno
__________________


September 6, 2013, 02:34 

#9 
Senior Member
Daniel Witte
Join Date: Nov 2011
Posts: 141
Rep Power: 7 
Thanks Bruno, thanks musahossein,
This is a big help. You are completly right. I will reply on post449068 for further questions if I have any. Regards, Daniel 

Tags 
ami, interdymfoam, nu file 
Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
mixerVesselAMI2D's mass is not balancing  sharonyue  OpenFOAM Running, Solving & CFD  6  June 10, 2013 09:34 
Extremely slow simulation with interDyMFoam  jrrygg  OpenFOAM Running, Solving & CFD  9  April 23, 2013 10:14 
Partitioning problem with interDyMFoam  DLC  OpenFOAM  0  March 7, 2011 18:28 
natural convection problem for a CHT problem  SeHee  CFX  2  June 10, 2007 06:29 
Adiabatic and Rotating wall (Convection problem)  ParodDav  CFX  5  April 29, 2007 19:13 