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

Error while running pimpleDyMFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By DOliveira
  • 1 Post By alexeym

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 10, 2015, 12:09
Default Error while running pimpleDyMFoam
  #1
New Member
 
Join Date: Apr 2015
Posts: 10
Rep Power: 11
DOliveira is on a distinguished road
Hello everyone, I'm new at working with OpenFoam and an error appear while running
mpirun -np 8 pimpleDyMFoam -parallel
I can't figure a way to solve it.
The error is:

--> FOAM FATAL IO ERROR:
[4] keyword cellMotionU is undefined in dictionary "IOstream.solvers"
[4]
[4] file: IOstream.solvers from line 0 to line 0.
[4]
[4] From function dictionary::subDict(const word& keyword) const
[4] in file db/dictionary/dictionary.C at line 608.

I'm grateful for any help you can provide me. Thanks. Daniela
Jessie Clare likes this.
DOliveira is offline   Reply With Quote

Old   July 10, 2015, 17:47
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 39
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

Do you have something like

Code:
...
    cellMotionU
    {
        solver          PCG;
        preconditioner  DIC;
        tolerance       1e-08;
        relTol          0;
    }
...
in your fvSolution? If yes, could you post case files, this way it is simpler to find the problem?
alexeym is offline   Reply With Quote

Old   July 13, 2015, 08:49
Default
  #3
New Member
 
Join Date: Apr 2015
Posts: 10
Rep Power: 11
DOliveira is on a distinguished road
First of all thank you so much for answering me!
My fvsolution is the following:

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

solvers
{
pcorr
{
solver GAMG;
tolerance 1e-06;
relTol 0.01;
smoother DICGaussSeidel;
cacheAgglomeration false;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
maxIter 50;
}

pFinal
{
solver GAMG;
tolerance 1e-06;
relTol 0;
smoother GaussSeidel;
cacheAgglomeration true;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
}

"(U|k|epsilon)"
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}

"(U|k|epsilon)Final"
{
$U;
tolerance 1e-05;
relTol 0;
}
}

PIMPLE
{
nOuterCorrectors 1;
nCorrectors 2;
nNonOrthogonalCorrectors 0;
pRefCell 0;
pRefValue 0;
}

relaxationFactors
{
fields
{
}
equations
{
"U.*" 1;
"k.*" 1;
"epsilon.*" 1;
}
}


// ************************************************** *********************** //
DOliveira is offline   Reply With Quote

Old   July 13, 2015, 10:26
Default
  #4
New Member
 
Join Date: Apr 2015
Posts: 10
Rep Power: 11
DOliveira is on a distinguished road
So I add to my fvSolution the part that was missing. But I go another error that I can't solve.
--> FOAM FATAL IO ERROR:
[6] keyword div((nuEff*dev(T(grad(U))))) is undefined in dictionary "IOstream.divSchemes"

My fvSchemes is the following:

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

ddtSchemes
{
default Euler;
}

gradSchemes
{
default Gauss linear;
grad(p) Gauss linear;
grad(alpha) Gauss linear;
}

divSchemes
{
default none
div(rho*phi,U) Gauss vanLeerV;
div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss vanLeer;
div(phi,U) Gauss linear;
div(phi,epsilon) Gauss linear
div((nuEff*dev(T(grad(U))))) Gauss linear;
}

laplacianSchemes
{
default Gauss linear corrected;
}

interpolationSchemes
{
default linear;
}

snGradSchemes
{
default corrected;
}

fluxRequired
{
default no;
p;
pcorr;
alpha;
}

Can you help me?
DOliveira is offline   Reply With Quote

Old   July 13, 2015, 10:52
Default
  #5
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 39
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

Semicolon after "div(phi,epsilon) Gauss linear" is missing (so the next line with "div((nuEff*dev(T(grad(U))))) Gauss linear;" is eaten by it, and as a result you have got error message about undefined keyword).
Shub likes this.
alexeym is offline   Reply With Quote

Old   July 13, 2015, 11:03
Default
  #6
New Member
 
Join Date: Apr 2015
Posts: 10
Rep Power: 11
DOliveira is on a distinguished road
Oh, lack of attention, that's embarrassing! Thank you so much for your help!
DOliveira is offline   Reply With Quote

Reply

Tags
dynamicmeshdict, parallel decomposepar, pimpledymfoam


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
Problem running movingCylinders case in parallel with foam-extend-3.1 mhkenergy OpenFOAM Running, Solving & CFD 5 March 3, 2017 06:20
ANSYS Licensing Problem, Processes Running but Showing as Not Running penguinman ANSYS 3 September 27, 2016 14:30
Fluent 14.0 file not running in parallel mode in cluster tejakalva FLUENT 0 February 4, 2015 08:02
Running Propeller with PimpleDyMFoam 30na OpenFOAM Running, Solving & CFD 1 September 23, 2014 07:42
Running PimpleDyMFoam in parallel paul b OpenFOAM Running, Solving & CFD 8 April 20, 2011 06:21


All times are GMT -4. The time now is 10:37.