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

Error while using functions in OF 8

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 11, 2024, 11:09
Exclamation Error while using functions in OF 8
  #1
New Member
 
Hamed Hoorijani
Join Date: May 2019
Location: Gent, Belgium
Posts: 23
Rep Power: 7
Hamedhoorijani is on a distinguished road
Hi everyone,

I'm facing an error while running simulations that include a function, whether it's used in controlDict or as an fvOptions. I have compiled OpenFOAM 8 using the source code, and everything else is working perfectly. However, I am facing this issue specifically when trying to utilize a function, which results in the following error:

Code:
 
--> FOAM FATAL IO ERROR:
error in IOstream "OSHA1stream.sinkFile_" for operation Ostream& operator<<(Ostream&, const word&)

file: OSHA1stream.sinkFile_ at line 0.

    From function virtual bool Foam::IOstream::check(const char*) const
    in file db/IOstreams/IOstreams/IOstream.C at line 96.

FOAM exiting
OF compiles without errors, and removing the functions simulates the same case without issues. I would appreciate your help with this.

Thank you in advance.
Hamed
Hamedhoorijani is offline   Reply With Quote

Reply

Tags
function objects, openfoam, openfoam8, simulationsetup


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
CHT turbulence model wall functions julieng OpenFOAM Running, Solving & CFD 5 January 31, 2023 18:37
UDF to disable wall functions Abhinand Fluent UDF and Scheme Programming 3 June 15, 2020 17:05
How to solve the boundary layer without wall functions? WhiteW OpenFOAM Running, Solving & CFD 4 January 20, 2020 05:55
[Commercial meshers] CCM+ Mesh Conversion Ingenieur OpenFOAM Meshing & Mesh Conversion 17 February 2, 2014 10:34
User-Defined Functions Boisson FLUENT 2 January 18, 2002 23:09


All times are GMT -4. The time now is 06:51.