Unable to open file when loading UDF
Hi everyone, I'm trying to simulate 2D hybrid rocket combustion using an UDF for the inlet mass flow rate at the solid fuel boundary. When I compile the UDF (using the method involving the Visual Studio command prompt) everything works fine and fluent returns this:
Code:
Copied C:\Users\alera\OneDrive\Desktop\UDF/udf_rr_HTPB_gradFL.c to libudf\src Then when I press load fluent prints this thing below and "crashes" (it doesn't close but basically becomes unusable and weird, commands are no more executed for example, I can't retry loading and the only way is to close the application): Code:
Opening library "C:\Users\alera\OneDrive\Desktop\UDF\libudf"... I've already tried starting fluent in parallel and serial mode, in single and double precision, and basically searched through all internet but found nothing. Can someone please help me? I'm going crazy with this error. P.S. my Ansys version is 19.2 and my OS is windows 11 Thank you in advance |
Solved: The problem was in the UDF itself that executed a piece of code that would force fluent to exit if a .txt input file was not present in the src folder. The error was so generic that I couldn't understand it. I wish my prof that gave me the UDF said me this beforehand :(.
Sorry for the bothering |
All times are GMT -4. The time now is 15:58. |