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

Error using tableFile as boundary condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 26, 2019, 04:28
Default Error using tableFile as boundary condition
  #1
Evi
New Member
 
Eveline Reinheimer
Join Date: Nov 2019
Posts: 3
Rep Power: 6
Evi is on a distinguished road
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!!
Evi is offline   Reply With Quote

Old   November 27, 2019, 06:09
Default
  #2
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 646
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
Hi,

It looks like OpenFOAM searches for the keyword file instead of fileName.

Hope that will solve your problem.

Regards,
Tom
tomf is offline   Reply With Quote

Old   November 27, 2019, 09:49
Default
  #3
Evi
New Member
 
Eveline Reinheimer
Join Date: Nov 2019
Posts: 3
Rep Power: 6
Evi is on a distinguished road
Thank you Tom!

That solved the problem.

Kind regards,

Evi
Evi is offline   Reply With Quote

Reply

Tags
boundaries condition, error message, tablefile


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
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


All times are GMT -4. The time now is 10:07.