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

keyword div(((rho*nuEff)*dev2(T(grad(U))))) is undefined

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 10, 2020, 07:33
Default keyword div(((rho*nuEff)*dev2(T(grad(U))))) is undefined
  #1
New Member
 
mekim
Join Date: Sep 2019
Posts: 21
Rep Power: 7
mekim is on a distinguished road
hi , my solver is rhoSimpleFoam,
I get the following error. How can I solve it?
Thanks everyone who will answer

Code:
--> FOAM FATAL IO ERROR: 
keyword div(((rho*nuEff)*dev2(T(grad(U))))) is undefined in dictionary
My fvSchemes file:
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.3.1                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

ddtSchemes
{
    default         backward; 
}

gradSchemes
{
    default         Gauss linear; 
}

divSchemes
{
    default         none;
    div(phi,U)      Gauss linear;
    div(phi,k)      Gauss limitedLinear 1;

    div(phi,K)      Gauss limitedLinear 1;
    div(phi,B)      Gauss limitedLinear 1;
    div(phi,nuTilda) Gauss limitedLinear 1;
    div(B)          Gauss linear;
    div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
}

laplacianSchemes
{
    default         Gauss linear corrected;
}

interpolationSchemes
{
    default         linear;
}

snGradSchemes
{
    default         corrected; 
}

fluxRequired
{
    default         no;
    p               ;
}


// ************************************************************************* //
mekim is offline   Reply With Quote

Old   March 10, 2020, 15:19
Default
  #2
New Member
 
Join Date: May 2019
Posts: 4
Rep Power: 8
SamZar is on a distinguished road
Hi,


I have solved this error simply using div(((muEff)*dev2(T(grad(U))))) instead of that expression. Have you tried that?
SamZar is offline   Reply With Quote

Old   March 11, 2020, 07:04
Default
  #3
New Member
 
mekim
Join Date: Sep 2019
Posts: 21
Rep Power: 7
mekim is on a distinguished road
thank u, i solved it.
mekim is offline   Reply With Quote

Reply

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
Second Derivative Zero - Boundary Condition fu-ki-pa OpenFOAM 11 March 27, 2021 04:28
LEMOS InflowGenerator r_gordon OpenFOAM Running, Solving & CFD 103 December 18, 2018 00:58
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 Attesz OpenFOAM Installation 45 January 13, 2012 12:38
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 19:08
G95 + CGNS Bruno Main CFD Forum 1 January 30, 2007 00:34


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