Forum: Fluent UDF and Scheme Programming
July 17, 2013, 14:03
|
Replies: 34
Views: 16,479
Stack overflow
This is a classical example of stack overflow programming error:
char str1[] = "file-";
char str2[] = ".dat";
strcat (str1, cur_ts);
strcat (str1, str2);
You allocate 6 bytes on the...
|
Forum: Fluent UDF and Scheme Programming
June 29, 2013, 15:52
|
Replies: 34
Views: 16,479
|
Forum: Fluent UDF and Scheme Programming
October 18, 2012, 08:03
|
Replies: 34
Views: 16,479
Input/Ouput in parallel is not trivial, and...
Input/Ouput in parallel is not trivial, and certainly doesn't work straight from the serial implementation.
You'll have to look at the Fluent UDF Manual, chapter 7 "Parallel Considerations" for some...
|
Forum: Fluent UDF and Scheme Programming
October 16, 2012, 15:44
|
Replies: 34
Views: 16,479
The chosen value ensures that I will find at...
The chosen value ensures that I will find at least one cell.
All three arrays are declared as "static", so if you fill them once, they will keep their values as long as the udf is loaded into...
|
Forum: Fluent UDF and Scheme Programming
March 9, 2011, 04:13
|
Replies: 34
Views: 16,479
|
Forum: Fluent UDF and Scheme Programming
May 19, 2010, 11:36
|
Replies: 34
Views: 16,479
|
Forum: Fluent UDF and Scheme Programming
May 19, 2010, 07:25
|
Replies: 34
Views: 16,479
|
Forum: Fluent UDF and Scheme Programming
May 19, 2010, 06:12
|
Replies: 34
Views: 16,479
|
Forum: Fluent UDF and Scheme Programming
May 19, 2010, 03:02
|
Replies: 34
Views: 16,479
|
Forum: Fluent UDF and Scheme Programming
May 17, 2010, 14:03
|
Replies: 34
Views: 16,479
|
Forum: Fluent UDF and Scheme Programming
May 17, 2010, 06:13
|
Replies: 34
Views: 16,479
To Ivan:
If you check the help page for the...
To Ivan:
If you check the help page for the "Execute Commands" dialog box, you'll find out that it can run commands defined using the button "Define Macro.." or text commands. In your case, the...
|
Forum: Fluent UDF and Scheme Programming
May 17, 2010, 05:15
|
Replies: 34
Views: 16,479
|
Forum: Fluent UDF and Scheme Programming
May 14, 2010, 17:45
|
Replies: 34
Views: 16,479
Hi Ivan,
Check chapter 4.1.7 in the user manual...
Hi Ivan,
Check chapter 4.1.7 in the user manual for automatic numbering of files, and 4.13 for exporting solution data (I think you're interested in the ASCII format).
The simplest way is to record...
|
Forum: Fluent UDF and Scheme Programming
May 14, 2010, 15:41
|
Replies: 34
Views: 16,479
|
Forum: Fluent UDF and Scheme Programming
May 14, 2010, 13:06
|
Replies: 34
Views: 16,479
Hello Ivan,
For that purpose, I would use...
Hello Ivan,
For that purpose, I would use macros (scheme scripts) instead of udf's. You can set fluent to export the data in those planes in many different formats (my preferate is DX format for the...
|
Forum: Fluent UDF and Scheme Programming
February 9, 2010, 07:15
|
Replies: 34
Views: 16,479
#include"udf.h"
#define c_evap 1.0
#define...
#include"udf.h"
#define c_evap 1.0
#define c_con 0.1
DEFINE_CAVITATION_RATE(user_cav_rate, c, t, p, rhoV, rhoL, mafV, p_v, cigma, f_gas, m_dot)
{
FILE *pf;
real p_vapor = *p_v;
real...
|