|
[Sponsors] |
November 15, 2022, 00:57 |
Help please, can not fix error
|
#1 |
New Member
melih
Join Date: Nov 2022
Posts: 1
Rep Power: 0 |
Hello all,
I have a question about one of jet flow simulation in OpenFoam. I try to run the Jet flow work but when I run the code, I get an error. please Can you help me? Thank you so much The error: (I remark the line 56 in the error) --> FOAM FATAL IO ERROR: Essential value for keyword 'field' not set In function entry: scalarTransport In file: /home/mhy/Desktop/OpenFoam/OpenFOAM-Cases-Interfluo-main/Canonical-Flows/jet/case1/system/controlDict at line 56 The function entry should be: scalarTransport(field = <fieldName>) file: /home/mhy/Desktop/OpenFoam/OpenFOAM-Cases-Interfluo-main/Canonical-Flows/jet/case1/system/controlDict/functions/scalarTransport from line 19 to line 27. From function static bool Foam::functionObjectList::readFunctionObject(const Foam::string&, Foam::dictionary&, const Foam::Pair<Foam::string>&, const Foam::word&) in file db/functionObjects/functionObjectList/functionObjectList.C at line 416. FOAM exiting Code:
FoamFile { version 2.0; format ascii; class dictionary; location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // application pimpleFoam; startFrom latestTime; startTime 0; stopAt endTime; endTime 10; deltaT 0.000001; writeControl adjustable; writeInterval 0.1; in purgeWrite 0; writeFormat ascii; writePrecision 6; writeCompression off; timeFormat general; timePrecision 6; runTimeModifiable yes; adjustTimeStep yes; maxCo 1; functions { #includeFunc scalarTransport (line56) wallShearStress { type wallShearStress; libs (fieldFunctionObjects); writeControl writeTime; patches (wall); } } // ************************************************************************* // |
|
November 15, 2022, 03:23 |
|
#2 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,070
Rep Power: 26 |
Hi,
The error message informs you there is an issue with scalarTransport function which is included just before line 56: Code:
#includeFunc scalarTransport Code:
The function entry should be: scalarTransport(field = <fieldName>) Also, please be careful to give a proper title when you create a new thread. (How to give enough info to get help) Regards, Yann |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] ParaView command in Foam-extend-4.1 | mitu_94 | ParaView | 0 | March 4, 2021 13:46 |
Pressure outlet boundary condition | rolando | OpenFOAM Running, Solving & CFD | 62 | September 18, 2017 06:45 |
[OpenFOAM] Native ParaView Reader Bugs | tj22 | ParaView | 270 | January 4, 2016 11:39 |
Undeclared Identifier Errof UDF | SteveGoat | Fluent UDF and Scheme Programming | 7 | October 15, 2014 07:11 |
Errors in UDF | shashank312 | Fluent UDF and Scheme Programming | 6 | May 30, 2013 20:30 |