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 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: AlexanderZ
Forum: Fluent UDF and Scheme Programming May 17, 2021, 07:29
Replies: 15
Views: 1,103
Posted By AlexanderZ
your code seems to be ok, the only thing I...

your code seems to be ok,
the only thing I would change is double type to real here:
real lambda_f, lambda_p, a, d, zz, z0, U_s, x[ND_ND], z; /* Variable declarations */

compile code
Forum: Fluent UDF and Scheme Programming May 16, 2021, 22:20
Replies: 15
Views: 1,103
Posted By AlexanderZ
check this code #include "udf.h" ...

check this code
#include "udf.h"
DEFINE_PROFILE(vel_profile,t,i)
{
real x[ND_ND]; /* this will hold the position vector */
real y;
face_t f;
begin_f_loop(f,t)
{
F_CENTROID(x,f,t);
Showing results 1 to 2 of 2

 
Forum Jump

All times are GMT -4. The time now is 01:52.