CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (http://www.cfd-online.com/Forums/fluent-udf/)
-   -   I am beginner to complie udf. Help me , please T.T (http://www.cfd-online.com/Forums/fluent-udf/95092-i-am-beginner-complie-udf-help-me-please-t-t.html)

Ukxang December 5, 2011 21:42

I am beginner to complie udf. Help me , please T.T
 
Recently, I am learning UDF. but, I saw the "r-> n_reactants " .
here, I dont know "->" & "n_reactants which not defined as variable"

help me T.T

Thank you to read my question.

fox000002 December 5, 2011 22:50

Quote:

Originally Posted by Ukxang (Post 334782)
Recently, I am learning UDF. but, I saw the "r-> n_reactants " .
here, I dont know "->" & "n_reactants which not defined as variable"

help me T.T

Thank you to read my question.

You should learn a little knowledge in c.

r is a struct type pointer.

Ukxang December 6, 2011 00:26

Thank you.
 
First, Thank you for your reply.
By your favor, I get solved the "struct".
But, I wonder "n-reactant". it's not declared.

gearboy December 6, 2011 02:03

Quote:

Originally Posted by Ukxang (Post 334782)
Recently, I am learning UDF. but, I saw the "r-> n_reactants " .
here, I dont know "->" & "n_reactants which not defined as variable"

help me T.T

Thank you to read my question.

That means total count of reactions in a "Reaction" structure.

onlylno July 2, 2013 01:53

Quote:

Originally Posted by gearboy (Post 334802)
That means total count of reactions in a "Reaction" structure.

Hey I am from Wuhan. Can I ask you a few UDF questions?


All times are GMT -4. The time now is 07:00.