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 Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By simrego
  • 2 Post By Gerry Kan

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: 347
Rep Power: 10
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: 127
Rep Power: 11
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: 354
Rep Power: 15
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: 416
Rep Power: 14
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?
tariq likes this.
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: 347
Rep Power: 10
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.
joshmccraney and lpz456 like this.
Gerry Kan is offline   Reply With Quote

Old   May 28, 2021, 14:03
Default
  #6
New Member
 
Mohsen Zarepour
Join Date: Feb 2021
Posts: 10
Rep Power: 5
moz455 is on a distinguished road
Hi,
I want to use the "Gauss limitedLinear 1" scheme for div((nuEff*dev2(T(grad(U))))) but I get an error in simpleFoam. Whay does this scheme does not work for this term?



Quote:
Originally Posted by simrego View Post
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?
moz455 is offline   Reply With Quote

Reply

Tags
cluster, divschemes, fvscheme, mpi


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 15:34.