|
[Sponsors] |
UDF C_P(c,t) Define density initialization error |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 29, 2014, 23:12 |
UDF C_P(c,t) Define density initialization error
|
#1 |
New Member
Join Date: Jul 2012
Posts: 25
Rep Power: 14 |
My udf is as following, it is just used to test the usage of C_P(c,t).
#include "udf.h" #define RHOV 0.554 DEFINE_PROPERTY(density,c,t) { real rho; real p = C_P(c,t); rho = RHOV; return rho; } but an error will appear as following. Error: FLUENT received fatal signal (ACCESS_VIOLATION) 1. Note exact events leading to error. 2. Save case/data under new name. 3. Exit program and restart to continue. 4. Report error to your distributor. Error Object: #f as we can see in UDF, the density has nothing to do with the pressure. i doubt that it must be an error when C_P(c,t) is used. do you know what's wrong with it? thank you |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Errors in UDF | shashank312 | Fluent UDF and Scheme Programming | 6 | May 30, 2013 21:30 |
How to install CGNS under windows xp? | lzgwhy | Main CFD Forum | 1 | January 11, 2011 19:44 |
Installing OF 1.6 on Mac OS X | gschaider | OpenFOAM Installation | 129 | June 19, 2010 10:23 |
[swak4Foam] groovyBC: problems compiling: "flex: not found" and "undefined reference to ..." | sega | OpenFOAM Community Contributions | 12 | February 17, 2010 10:30 |
user subroutine error | CFDUSER | CFX | 2 | December 9, 2006 07:31 |