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 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: blackmask
Forum: Fluent UDF and Scheme Programming July 26, 2013, 21:20
Replies: 22
Views: 3,568
Posted By blackmask
The line if (NULL != THREAD_STORAGE(t,SV_T)...

The line

if (NULL != THREAD_STORAGE(t,SV_T)

checks whether the pointer pointing to the storage of T is NULL.

If the the storage has not been allocated yet, i.e., pointer is NULL, you will...
Forum: Fluent UDF and Scheme Programming July 23, 2013, 20:18
Replies: 22
Views: 3,568
Posted By blackmask
Try wrapping the "F_T" macro with thread storage...

Try wrapping the "F_T" macro with thread storage checking

begin_f_loop(f,thread)
{
if (NULL != THREAD_STORAGE(t,SV_T))
z = F_T(f,thread);
else
z = 300.; // whatever value...
Forum: Fluent UDF and Scheme Programming July 22, 2013, 21:02
Replies: 22
Views: 3,568
Posted By blackmask
You can not be a mathematician and programmer at...

You can not be a mathematician and programmer at the same time.
Mathematically (-0.033 < y < -0.01858) is a valid expression, but in c language it will be interpreted as (-0.033 < y ) < -0.01858,...
Showing results 1 to 3 of 3

 
Forum Jump

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