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 6 of 6
Search took 0.00 seconds.
Search: Posts Made By: AlexanderZ
Forum: Fluent UDF and Scheme Programming October 15, 2019, 07:11
Replies: 22
Views: 3,312
Posted By AlexanderZ
change last lines to these and show your output...

change last lines to these and show your output once again
#if !RP_NODE
fclose(fout1);
fclose(fout2);
#endif
Message0("\n X-centroid of liquid = %g\n", cx);
Message0("\n Y-centroid of liquid =...
Forum: Fluent UDF and Scheme Programming September 29, 2019, 21:44
Replies: 22
Views: 3,312
Posted By AlexanderZ
try to run this code #include "udf.h" ...

try to run this code
#include "udf.h"
#include "prf.h"

DEFINE_EXECUTE_AT_END(centroid)
{
real wcx = 0.0;
real wcy = 0.0;
real va_liq = 0.0;
real cx, cy;
Forum: Fluent UDF and Scheme Programming September 26, 2019, 20:11
Replies: 22
Views: 3,312
Posted By AlexanderZ
this code, which I've attached, is compiled well ...

this code, which I've attached, is compiled well

to compile code:
run fluent from visual studio command prompt (or SDK command prompt) -> user defined -> functions -> compiled -> BUILD

best...
Forum: Fluent UDF and Scheme Programming September 25, 2019, 21:35
Replies: 22
Views: 3,312
Posted By AlexanderZ
As I've told, compile this code and try to run it...

As I've told, compile this code and try to run it

best regards
Forum: Fluent UDF and Scheme Programming September 25, 2019, 05:09
Replies: 22
Views: 3,312
Posted By AlexanderZ
#include "udf.h" #include "prf.h" ...

#include "udf.h"
#include "prf.h"

DEFINE_EXECUTE_AT_END(centroid)
{
real wcx = 0.0;
real wcy = 0.0;
real va_liq = 0.0;
real cx, cy;
real x, y;
Forum: Fluent UDF and Scheme Programming September 23, 2019, 05:23
Replies: 22
Views: 3,312
Posted By AlexanderZ
use PRF_GRSUM1 for global redution read...

use PRF_GRSUM1 for global redution

read ansys fluent customization manual for more details

best regards
Showing results 1 to 6 of 6

 
Forum Jump

All times are GMT -4. The time now is 08:48.