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 7 of 7
Search took 0.00 seconds.
Search: Posts Made By: pakk
Forum: FLUENT November 20, 2013, 10:40
Replies: 16
Views: 4,858
Posted By pakk
I think you initially received an error message...

I think you initially received an error message because you used the wrong quotes in your first line.

#include “udf.h” //your version
#include "udf.h"//correct version

The error message that...
Forum: FLUENT November 20, 2013, 09:48
Replies: 16
Views: 4,858
Posted By pakk
Are you 100% sure that you tried my UDF that I...

Are you 100% sure that you tried my UDF that I posted on November 14, 2013, 13:51, and that this gave the same error for you?
Forum: FLUENT November 20, 2013, 08:44
Replies: 16
Views: 4,858
Posted By pakk
You used Notepad, I used Textpad. Notepad does...

You used Notepad, I used Textpad. Notepad does not have this option, Textpad does. ;)

(And Notepad does have the ANSI encoding option, I can see it in your screenshot. But it looks like you...
Forum: FLUENT November 20, 2013, 08:20
Replies: 16
Views: 4,858
Posted By pakk
I never said you should change the extension from...

I never said you should change the extension from .c to .unix...
I gave you an explanation at 13:20 today on how to use Textpad to change your file to unix-style endings.

(In my vocabulary,...
Forum: FLUENT November 20, 2013, 07:20
Replies: 16
Views: 4,858
Posted By pakk
What I think could help: -Open the file in...

What I think could help:
-Open the file in Textpad
-Select 'Save as'
-File format: UNIX
-Encoding: ANSI
-Save the file
Forum: FLUENT November 14, 2013, 09:29
Replies: 16
Views: 4,858
Posted By pakk
I got the same result when I interpreted your...

I got the same result when I interpreted your code.

I was able to fix it by changing the format from UNICODE to ASCII, and using linux-style Line-endings. I don't know which of those solved the...
Forum: FLUENT November 14, 2013, 07:51
Replies: 16
Views: 4,858
Posted By pakk
I compiled this without parse error: ...

I compiled this without parse error:

#include"udf.h"
DEFINE_PROPERTY(argon_density, cell, thread)
{
float temp, rho;
temp = C_T(cell, thread);
return temp;
}
Showing results 1 to 7 of 7

 
Forum Jump

All times are GMT -4. The time now is 17:45.