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

Search Results

Register Blogs Members List Search Today's Posts Mark Forums Read

Showing results 1 to 11 of 11
Search took 0.00 seconds.
Search: Posts Made By: pakk
Forum: Fluent UDF and Scheme Programming June 8, 2018, 11:17
Replies: 82
Views: 36,532
Posted By pakk
I use TextPad or Vim.

I use TextPad or Vim.
Forum: Fluent UDF and Scheme Programming June 5, 2018, 03:11
Replies: 82
Views: 36,532
Posted By pakk
If I open your file, the tenth line in my editor...

If I open your file, the tenth line in my editor is:
‚ÄčC_CENTROID(x,c,t);


Notice the strange symbols in the beginning... They should not be there, and Fluent complains about them.



As I...
Forum: Fluent UDF and Scheme Programming May 27, 2018, 10:19
Replies: 82
Views: 36,532
Posted By pakk
real x[ND_ND]; ​float x[0]; /* represents...

real x[ND_ND];
​float x[0]; /* represents x-coordinate */​
float x[​1​]; ​/* represents y-coordinate */​ ​

You are giving three different definitions for x.

The latter two are not necessary...
Forum: Fluent UDF and Scheme Programming May 22, 2018, 03:02
Replies: 82
Views: 36,532
Posted By pakk
You use variable "xa", but you never told Fluent...

You use variable "xa", but you never told Fluent what "xa" is.
You use variable "xb", but you never told Fluent what "xb" is.

Look in the Fluent manual at C_CENTROID.
Forum: Fluent UDF and Scheme Programming April 18, 2018, 03:34
Replies: 82
Views: 36,532
Posted By pakk
Which text editor are you using to edit your UDF?...

Which text editor are you using to edit your UDF? It looks like there are strange symbols in the code...

Additionally:


You don't have to include so many files. I believe only "udf.h" is...
Forum: Fluent UDF and Scheme Programming April 5, 2018, 08:31
Replies: 82
Views: 36,532
Posted By pakk
Check the error messages that show up on the...

Check the error messages that show up on the screen after you click 'build'.

Probably it gives an error on line 7, because you forgot a semicolon at the end of line 6.
There might be more...
Forum: Fluent UDF and Scheme Programming April 4, 2018, 02:44
Replies: 82
Views: 36,532
Posted By pakk
You forgot how to properly calculate distance. It...

You forgot how to properly calculate distance. It is not the square root of x*y, but the square root of x*x+y*y.
Forum: Fluent UDF and Scheme Programming February 13, 2017, 04:29
Replies: 82
Views: 36,532
Posted By pakk
Which one is "this UDF"?

Which one is "this UDF"?
Forum: Fluent UDF and Scheme Programming January 26, 2017, 02:56
Replies: 82
Views: 36,532
Posted By pakk
Look for a UDF that does something similar, and...

Look for a UDF that does something similar, and change it.
There are UDFs mentioned in the messages above that do something similar... Read them!
Forum: Fluent UDF and Scheme Programming January 25, 2017, 02:47
Replies: 82
Views: 36,532
Posted By pakk
If you use this UDF: Message("V=Asinwt");The...

If you use this UDF:

Message("V=Asinwt");The text you requested will be written in Fluent.

This is almost surely not what you want, but I can not guess what you really want. You should explain...
Forum: Fluent UDF and Scheme Programming October 24, 2016, 10:36
Replies: 82
Views: 36,532
Posted By pakk
else if (1300.0 < t && t <= 1500.0 ) should...

else if (1300.0 < t && t <= 1500.0 )

should be

else if ((1300.0 < t) && (t <= 1500.0 ))
Showing results 1 to 11 of 11

 
Forum Jump

All times are GMT -4. The time now is 16:51.