UDF message error (SEGMENTATION VIOLATION" C_H_G
Hello every body,
I am solving the energy equation with the enthalpy formulation. I would like to add a source term via UDF that includes the gradient of enthalpy but I get an Access Violation error when I try to use the *C_H_G*(c,t) macro. "access violation" I was able to work around the problem by storing enthalpy in a UDS and then calculating the gradient using a C_UDSI_G macro. but a have also message error in compilation. physics formule is: (dh/dx+dh/dr); deriverd enthalpy axial+ derived enthalpy radial. please help me Thank you! |
All times are GMT -4. The time now is 00:35. |