|April 20, 2013, 13:15||
REFPROP.DLL and Fluent UDF: ACCESS_VIOLATION error
Join Date: Feb 2013
Posts: 4Rep Power: 2
I have written UDFs using DEFINE_PROPERTY to calculate Density, Viscosity, Thermal Conductivity and Sound Speed.
Inside DEFINE_PROPERTY I have a function call to another C function called CELL_DENSITY(press, temp).
When compiled and executed outside Fluent, these other C functions are able to calculate and return values of density etc. using refprop.dll, provided the DLL and CO2.FLD files are present in the same directory. Co2.fld is REFPROP's pure fluid file.
But when run from inside Fluent they give ACCESS_VIOLATION error. I have tried putting the additional files (.DLL and .FLD) under libudf\src and libudf\win64\3d. But it did not work.
I cannot use the NIST real gas models (which use REFPROP 7.0) provided by Fluent. NIST real gas models allow only one pure-fluid or real-gas mixture in the entire domain. I need to use Air and CO2 both.
|access violation error, refprop, udf density|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit)||Yogini||Fluent UDF and Scheme Programming||7||October 3, 2012 08:24|
|FLUENT UDF Simple error.||startup0820||Fluent UDF and Scheme Programming||0||August 14, 2012 04:54|
|UDF error - FLUENT received fatal signal (ACCESS_VIOLATION)||Eliasjal||Fluent UDF and Scheme Programming||1||March 7, 2012 12:11|
|Parse Error Message While interpreting UDF in FLUENT||dhimans||Fluent UDF and Scheme Programming||1||July 10, 2009 07:29|
|PARSE ERROR Message when interpreting UDF in FLUENT||dhimans||FLUENT||0||May 24, 2009 12:40|