Hello, I am currently working on a UDF for the heterogeneous reaction using it to describe a simple equilibrium model using the Antoine equation and vapor pressure. I am using the UDF of the Ansys Manual Book as a base for what I intended, but I am trying to incorporate a second component to my condensable mixture, being methanol and water.
By now, I am having trouble with how to filter by name the rate of the reaction on my UDF. I tried to use the same line I've seen in multiples volumetric reactions UDF which is...
Quote:
I am pretty sure the line I was using can't be used, so I am trying to find a way to filter by the name of the heterogeneous reaction but I am having trouble finding how to do it.
Also, I am having a few warnings which I am having trouble understanding...
Quote:
warning: incompatible redeclaration of library function 'strncasecmp' [-Wincompatible-library-redeclaration]
int strncasecmp (const char *, const char *, int);
warning: cast to 'void * __ptr32' from smaller integer type 'unsigned long' [-Wint-to-void-pointer-cast]
return((void * POINTER_32) (unsigned long) (ULONG_PTR) p);
clang-cl: warning: argument unused during compilation: '/Za' [-Wunused-command-line-argument]
warning: cast to 'void * __ptr32' from smaller integer type 'unsigned long' [-Wint-to-void-pointer-cast]
return((void * POINTER_32) (unsigned long) (ULONG_PTR) p);
warning: incompatible redeclaration of library function 'strncasecmp' [-Wincompatible-library-redeclaration]
int strncasecmp (const char *, const char *, int);