|
[Sponsors] |
November 26, 2019, 04:28 |
Error using tableFile as boundary condition
|
#1 |
New Member
Eveline Reinheimer
Join Date: Nov 2019
Posts: 3
Rep Power: 7 |
Hello,
I am new to OF and for my boundary condition I want to read in a file. Somehow I am not able to get it running with the OFv1906 version. When I change the BC to a fixed value the simulation runs without any error messages. "cut_A82_1.tif_intens_p4_f.stl.*" { type uniformFixedGradient; uniformGradient tableFile; uniformGradientCoeffs { fileName "$FOAM_CASE/keyhole.data"; }; } The error Message is: --> FOAM FATAL IO ERROR: Entry 'file' not found in dictionary "/mnt/c/Users/ac134577/OpenFOAM/Test2/0/T.boundaryField.cut_A82_1.tif_intens_p4_f.stl.*.un iformGradientCoeffs" file: /mnt/c/Users/ac134577/OpenFOAM/Test2/0/T.boundaryField.cut_A82_1.tif_intens_p4_f.stl.*.un iformGradientCoeffs From function bool Foam::dictionary::readEntry(const Foam::word&, T&, Foam::keyType:: option, bool) const [with T = Foam::fileName] in file /home/pawan/OpenFOAM/OpenFOAM/OpenFOAM-v1906/src/OpenFOAM/lnInclude/dictionaryTemplates.C at line 317. Does anyone know what I am doing wrong? Thank you for your help!! |
|
November 27, 2019, 06:09 |
|
#2 |
Senior Member
|
Hi,
It looks like OpenFOAM searches for the keyword file instead of fileName. Hope that will solve your problem. Regards, Tom |
|
November 27, 2019, 09:49 |
|
#3 |
New Member
Eveline Reinheimer
Join Date: Nov 2019
Posts: 3
Rep Power: 7 |
Thank you Tom!
That solved the problem. Kind regards, Evi |
|
Tags |
boundaries condition, error message, tablefile |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 08:38 |
Centrifugal fan | j0hnny | CFX | 13 | October 1, 2019 14:55 |
Basic Nozzle-Expander Design | karmavatar | CFX | 20 | March 20, 2016 09:44 |
Accessing multiple boundary patches from a custom boundary condition file | ripudaman | OpenFOAM Programming & Development | 0 | October 22, 2014 19:34 |
Radiation interface | hinca | CFX | 15 | January 26, 2014 18:11 |