CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   error : undefined variable in dictionary (https://www.cfd-online.com/Forums/main/240669-error-undefined-variable-dictionary.html)

saicharan662000@gmail.com January 18, 2022 23:21

error : undefined variable in dictionary
 
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 8
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
Build : 8-1c9b5879390b
Exec : myCompressibleInterFoam
Date : Jan 19 2022
Time : 09:45:06
Host : "hari"
PID : 2304
I/O : uncollated
Case : /home/hari/OpenFOAM/hari-8/run/damBreakcomp
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0


PIMPLE: No convergence criteria found


PIMPLE: Operating solver in transient mode with 1 outer corrector
PIMPLE: Operating solver in PISO mode


Reading field p_rgh

Reading field U

Reading/calculating face flux field phi

Constructing twoPhaseMixtureThermo



--> FOAM FATAL IO ERROR:
keyword lambdaF is undefined in dictionary ""

file:

From function const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, bool, bool) const
in file db/dictionary/dictionary.C at line 797.

FOAM exiting




I implemented my own solver . I got the following error. Can anyone help me to solve this error?

saicharan662000@gmail.com January 27, 2022 03:51

I have created a new dictionary in my model. so by removing it and declaring the variables in the dictionary that is already present solved my problem.


All times are GMT -4. The time now is 05:47.