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

undefined div(((rho*nuEff)*dev2(T(grad(U))))) on cluster run

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 29, 2018, 01:26
Default undefined div(((rho*nuEff)*dev2(T(grad(U))))) on cluster run
  #1
Senior Member
 
Gerry Kan's Avatar
 
Gerry Kan
Join Date: May 2016
Posts: 204
Rep Power: 7
Gerry Kan is on a distinguished road
Howdy Folks:

I am wondering if others experience a similar issue:

I have a case using rhoPimpleFoam that works on (single and multiple) processes on a single machine. But the same job would choke on the following error:

Code:
--> FOAM FATAL IO ERROR:
keyword div((nuEff*dev2(T(grad(U))))) is undefined in dictionary "IOstream.divSchemes"
file: IOstream.divSchemes from line 0[10]
Here is the divSchemes block in my system/fvSchemes file:

Code:
divSchemes  {
    default             none;
    div(phi,U)          Gauss limitedLinearV 1;
    div(phi,h)          Gauss limitedLinear 1;
    div(phi,K)          Gauss limitedLinear 1;
    div(phid,p)         Gauss limitedLinear 1;
    div(phi,epsilon)    Gauss limitedLinear 1;
    div(((rho*nuEff)*dev2(T(grad(U)))))     Gauss linear;
}
Any ideas what might have caused this?

Thanks in advance, Gerry.
Gerry Kan is offline   Reply With Quote

Old   August 29, 2018, 01:46
Default
  #2
Senior Member
 
Peter Baskovich
Join Date: Jul 2014
Posts: 126
Rep Power: 8
pete20r2 is on a distinguished road
Maybe the excessive bracketing?
pete20r2 is offline   Reply With Quote

Old   August 29, 2018, 02:52
Default
  #3
Senior Member
 
Santiago Lopez Castano
Join Date: Nov 2012
Posts: 292
Rep Power: 11
Santiago is on a distinguished road
Quote:
Originally Posted by Gerry Kan View Post
Howdy Folks:

I am wondering if others experience a similar issue:

I have a case using rhoPimpleFoam that works on (single and multiple) processes on a single machine. But the same job would choke on the following error:

Code:
--> FOAM FATAL IO ERROR:
keyword div((nuEff*dev2(T(grad(U))))) is undefined in dictionary "IOstream.divSchemes"
file: IOstream.divSchemes from line 0[10]
Here is the divSchemes block in my system/fvSchemes file:

Code:
divSchemes  {
    default             none;
    div(phi,U)          Gauss limitedLinearV 1;
    div(phi,h)          Gauss limitedLinear 1;
    div(phi,K)          Gauss limitedLinear 1;
    div(phid,p)         Gauss limitedLinear 1;
    div(phi,epsilon)    Gauss limitedLinear 1;
    div(((rho*nuEff)*dev2(T(grad(U)))))     Gauss linear;
}
Any ideas what might have caused this?

Thanks in advance, Gerry.
Ehhh.... you have a rho that shouldnt be there...
Santiago is offline   Reply With Quote

Old   August 29, 2018, 04:00
Default
  #4
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 371
Rep Power: 8
simrego is on a distinguished road
I think you are using a different solver. Not what you need.
rhoPimpleFoam need div(((rho*nuEff)*dev2(T(grad(U))))) what you got in fvSchemes.
But the solver what you are running need div((nuEff*dev2(T(grad(U))))).
I think this is an incompressible solver. Can you check the beginning of the log?
simrego is offline   Reply With Quote

Old   August 29, 2018, 04:45
Default
  #5
Senior Member
 
Gerry Kan's Avatar
 
Gerry Kan
Join Date: May 2016
Posts: 204
Rep Power: 7
Gerry Kan is on a distinguished road
Folks:

I think I know what happened. I have a divergence definition for rho*nuEff, but I also need one for rho, so that OpenFOAM knows what to do with rho *and* nuEff. So my divSchemes looks like

Code:
divSchemes  {
    default             none;
    div(phi,U)          Gauss limitedLinearV 1;
    div(phi,h)          Gauss limitedLinear 1;
    div(phi,K)          Gauss limitedLinear 1;
    div(phi,rho)        Gauss linear;
    div(phid,p)         Gauss limitedLinear 1;
    div(phi,epsilon)    Gauss limitedLinear 1;
    div(((rho*nuEff)*dev2(T(grad(U)))))  Gauss linear;
}
Now rhoPimpleFoam runs, although it crashes right on 1st iteration. This is some other problem.

Thanks for the ideas and at least this problem is solved, Gerry.
Gerry Kan is offline   Reply With Quote

Reply

Tags
cluster, divschemes, fvscheme, mpi

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
can not complie fluentDataToFoam in OF2.1.1 hewei OpenFOAM Pre-Processing 20 September 8, 2018 09:19
problem with turbulence models after compilation? lfgmarc OpenFOAM Programming & Development 19 November 20, 2013 00:50
OpenFOAM 1.6 ext - Compilation errors - Fedora 17(32bit) toolpost OpenFOAM Installation 15 September 21, 2012 09:38
[Commercial meshers] Conversion form .ccm to openFoam ViktoriaE OpenFOAM Meshing & Mesh Conversion 1 November 29, 2011 16:40
Building OpenFoAm on SGI Altix 64bits anne OpenFOAM Installation 8 June 15, 2006 09:27


All times are GMT -4. The time now is 20:40.