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 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: dmoroian
Forum: Fluent UDF and Scheme Programming November 26, 2009, 05:15
Replies: 9
Views: 1,567
Posted By dmoroian
Hi Enrico, The function feof() is declared in...

Hi Enrico,
The function feof() is declared in the header stdio.h, which I think is already included by udf.h, but just in case add it:

#define "udf.h"
#define<stdio.h>

The compiler directive...
Forum: Fluent UDF and Scheme Programming November 26, 2009, 04:21
Replies: 9
Views: 1,567
Posted By dmoroian
It reads the last number

:) Well, my example this is what actually does: it reads the last number from the file. It reads all of them, but only the last remains after it exits the "while" loop.
Forum: Fluent UDF and Scheme Programming November 25, 2009, 07:27
Replies: 9
Views: 1,567
Posted By dmoroian
Hi Enrico, The following code should do the...

Hi Enrico,
The following code should do the trick:

#include "udf.h"

DEFINE_ON_DEMAND(example)
{
#if !PARALLEL
FILE *fp;
real bubu;
Showing results 1 to 3 of 3

 
Forum Jump

All times are GMT -4. The time now is 18:15.