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 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: `e`
Forum: Fluent UDF and Scheme Programming March 16, 2015, 16:13
Replies: 9
Views: 1,164
Posted By `e`
I've answered the retaining variable question in...

I've answered the retaining variable question in this post (http://www.cfd-online.com/Forums/fluent-udf/150103-assigning-mass-using-udf.html#post536609) (please try to keep your questions in one...
Forum: Fluent UDF and Scheme Programming March 16, 2015, 04:53
Replies: 9
Views: 1,164
Posted By `e`
The thread pointer is a variable passed by the...

The thread pointer is a variable passed by the Fluent solver to your UDF: you don't declare or evaluate this variable within your UDF. Have a read of the DEFINE_PROFILE section of the UDF manual.
...
Forum: Fluent UDF and Scheme Programming March 16, 2015, 03:15
Replies: 9
Views: 1,164
Posted By `e`
While having "static float mass" won't hurt in...

While having "static float mass" won't hurt in your case, the static declaration is redundant because you don't use the variable 'mass' inside another function. You should declare your variables...
Forum: Fluent UDF and Scheme Programming March 16, 2015, 02:14
Replies: 9
Views: 1,164
Posted By `e`
Firstly, why are you finding out the pointer to...

Firstly, why are you finding out the pointer to the face's thread, t, when this variable is passed from begin_f_loop? Why is the mass variable static?

From the looks of your code, you're looping...
Showing results 1 to 4 of 4

 
Forum Jump

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