CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: czhao86
Forum: Fluent UDF and Scheme Programming September 26, 2013, 15:43
Replies: 1
Views: 1,373
Posted By czhao86
It turns out that I need to interpret a UDF...

It turns out that I need to interpret a UDF before do the execute. I don't know why, but it is working now.
Forum: Fluent UDF and Scheme Programming September 26, 2013, 10:14
Replies: 1
Views: 1,373
Posted By czhao86
'execute on demand' shut down fluent automatically

#include "udf.h"

extern float plasma[4];

DEFINE_ON_DEMAND(read_data)
{
int i;
FILE *rfile; /* declare a FILE pointer */

rfile = fopen("try.txt", "r"); /* open file for reading */
Showing results 1 to 2 of 2

 
Forum Jump

All times are GMT -4. The time now is 06:56.