CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

'div((nuEff*dev2(T(grad(U)))))' not found?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 6, 2024, 10:01
Default 'div((nuEff*dev2(T(grad(U)))))' not found?
  #1
New Member
 
Udit S Rao
Join Date: Jan 2024
Location: India
Posts: 2
Rep Power: 0
uditrao04 is on a distinguished road
Hello!

I am a beginner in OpenFOAM and I have just attempted to complete an analysis by my own (using pimpleFoam/pisoFoam). I have created my own mesh (~10^5 cells) and have all the necessary calculations ready.

I filled the '0' folder files with the necessary initial conditions but while running pimpleFoam or pisoFoam, it gives me this error:

Create time

Create mesh for time = 0


PIMPLE: Operating solver in PISO mode

Reading field p

Reading field U

Reading/calculating face flux field phi

Selecting incompressible transport model Newtonian
Selecting turbulence model type laminar
Selecting laminar stress model Stokes
No MRF models present

No finite volume options present
Courant Number mean: 1.79393 max: 501.077
Courant Number mean: 1.79393 max: 501.077

Starting time loop

Courant Number mean: 1.79393 max: 501.077
Time = 0.5

PIMPLE: iteration 1


--> FOAM FATAL IO ERROR: (openfoam-2312)
Entry 'div((nuEff*dev2(T(grad(U)))))' not found in dictionary "system/fvSchemes/divSchemes"


file: system/fvSchemes/divSchemes at line 29 to 30.

From const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, Foam::keyType:ption) const
in file db/dictionary/dictionary.C at line 363.

FOAM exiting


I have kept the time step a bit large because I just want it to run at first, then I will make the time step finer. Also my courant number is shooting up to a lot.

I might have made some rookie mistakes, so kindly point them out to me.

Thank you!
uditrao04 is offline   Reply With Quote

Old   January 6, 2024, 15:18
Default
  #2
Senior Member
 
NotOverUnderated's Avatar
 
ONESP-RO
Join Date: Feb 2021
Location: Somwhere on Planet Earth
Posts: 127
Rep Power: 5
NotOverUnderated is on a distinguished road
Inside the divSchemes dictionary in the file system/fvSchemes, add this line:

Code:
 div((nuEff*dev2(T(grad(U))))) Gauss linear;
__________________
Don't keep making the same mistakes. Try to make new mistakes.
NotOverUnderated is offline   Reply With Quote

Old   January 6, 2024, 15:47
Default
  #3
New Member
 
Udit S Rao
Join Date: Jan 2024
Location: India
Posts: 2
Rep Power: 0
uditrao04 is on a distinguished road
I did it... but now its giving me a new error...

Create time

Create mesh for time = 0


PISO: Operating solver in PISO mode

Reading field p

Reading field U

Reading/calculating face flux field phi

Selecting incompressible transport model Newtonian
Selecting turbulence model type laminar
Selecting laminar stress model Stokes
No MRF models present

No finite volume options present

Starting time loop

Time = 0.5

Courant Number mean: 1.79393 max: 501.077
smoothSolver: Solving for Ux, Initial residual = 1, Final residual = 4.5122e-06, No Iterations 5
smoothSolver: Solving for Uy, Initial residual = 1, Final residual = 1.41181e-06, No Iterations 5
smoothSolver: Solving for Uz, Initial residual = 0.000661307, Final residual = 7.04702e-07, No Iterations 2
DICPCG: Solving for p, Initial residual = 1, Final residual = 0.0438961, No Iterations 141
DICPCG: Solving for p, Initial residual = 0.00681152, Final residual = 0.000245953, No Iterations 14
DICPCG: Solving for p, Initial residual = 0.000419764, Final residual = 1.64264e-05, No Iterations 144
time step continuity errors : sum local = 0.0404384, global = -0.000684349, cumulative = -0.000684349
DICPCG: Solving for p, Initial residual = 0.00646432, Final residual = 0.000214823, No Iterations 144
DICPCG: Solving for p, Initial residual = 0.00591995, Final residual = 0.000231605, No Iterations 14
DICPCG: Solving for p, Initial residual = 0.000404036, Final residual = 9.95925e-07, No Iterations 161
time step continuity errors : sum local = 0.00128751, global = 2.78271e-06, cumulative = -0.000681566
ExecutionTime = 0.25 s ClockTime = 0 s

Time = 1

Courant Number mean: 1015.83 max: 3220.46
[stack trace]
=============
#1 Foam::sigFpe::sigHandler(int) in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
#2 ? in /lib/x86_64-linux-gnu/libc.so.6
#3 Foam::symGaussSeidelSmoother::smooth(Foam::word const&, Foam::Field<double>&, Foam::lduMatrix const&, Foam::Field<double> const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&, unsigned char, int) in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
#4 Foam::symGaussSeidelSmoother::smooth(Foam::Field<d ouble>&, Foam::Field<double> const&, unsigned char, int) const in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
#5 Foam::smoothSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
#6 ? in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so
#7 Foam::fvMesh::solve(Foam::fvMatrix<Foam::Vector<do uble> >&, Foam::dictionary const&) const in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so
#8 ? in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/bin/pisoFoam
#9 ? in /lib/x86_64-linux-gnu/libc.so.6
#10 __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
#11 ? in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/bin/pisoFoam
=============
Floating point exception


The courant number is 1k....

Last edited by uditrao04; January 6, 2024 at 15:48. Reason: forgot to type it
uditrao04 is offline   Reply With Quote

Reply

Tags
error, pimplefoam, pisofoam


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
[RapidCFD] Discussion thread on how to install and use RapidCFD newoscar OpenFOAM Community Contributions 84 September 2, 2022 01:04
Gmsh installation on terminal help spitfire Main CFD Forum 4 July 27, 2017 15:11
[Other] Mesh Importing Problem cuteapathy ANSYS Meshing & Geometry 2 June 24, 2017 05:29
Problems in compiling paraview in Suse 10.3 platform chiven OpenFOAM Installation 3 December 1, 2009 07:21
Installation OF1.5-dev ttdtud OpenFOAM Installation 46 May 5, 2009 02:32


All times are GMT -4. The time now is 22:43.