|
[Sponsors] |
October 16, 2018, 05:28 |
fopen creates parse error in fluent.
|
#1 |
New Member
Languedoc-Roussillon
Join Date: Oct 2018
Posts: 1
Rep Power: 0 |
I am using an udf in fluent, but when using the fopen function I have a parse error in fluent, I don't know where the problem is coming from, the code seems to be right.
Thank you for your help. #include "udf.h" #include "mem.h" DEFINE_EXECUTE_AT_END (execute_at_end) { FILE *fp; fp = fopen("D:\\EPF\\Stage(S07)\\data.txt", "a"); int zone_ID = 8; Thread *thread_name = Lookup_Thread(Get_Domain(1), zone_ID); cell_t c; begin_c_loop(c, thread_name) { } end_c_loop(c, c_thread) fclose (fp); Last edited by hcapdevi; October 16, 2018 at 10:34. |
|
Tags |
fluent, fopen, parse error, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fluent exit frequently with error ‘Unable to parse’ running on remote clusters | Gang Shen | Fluent Multiphase | 5 | February 7, 2022 04:02 |
line 1 parse error UDF Fluent | violethill | Fluent UDF and Scheme Programming | 1 | February 25, 2018 22:01 |
Building problems with cell zones when reopening Fluent | MJ2017 | FLUENT | 0 | October 14, 2017 09:11 |
heat transfer with RANS wall function, over a flat plate (validation with fluent) | bruce | OpenFOAM Running, Solving & CFD | 6 | January 20, 2017 07:22 |
interpreted fluent parse error | unihit4392 | FLUENT | 0 | July 7, 2015 23:22 |