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/)
-   -   access to a property in a boundary condition using UDF (http://www.cfd-online.com/Forums/fluent-udf/109219-access-property-boundary-condition-using-udf.html)

Negin_Salehi November 12, 2012 16:10

access to a property in a boundary condition using UDF
 
Hello everyone,
Can anybody help me to understand what is the meaning of n n n n, in a boundary condition set using a UDF?
For example, who can I change the mass fraction in velocity inlet where there are 3 species?
Thanks guys, I really need your helps.

syavash November 14, 2012 22:46

Quote:

Originally Posted by Negin_Salehi (Post 391718)
Hello everyone,
Can anybody help me to understand what is the meaning of n n n n, in a boundary condition set using a UDF?
For example, who can I change the mass fraction in velocity inlet where there are 3 species?
Thanks guys, I really need your helps.

Dear negin,
I would like to help you but unfortunarely I can't understand your first question.
But for changing mass fraction you simply need to enter mass fraction value for each species in species tab of corr. B.C.

Goodluck

Negin_Salehi November 16, 2012 17:00

Dear Syavash,
Thanks for your response,
I want to write a journal file. So, I want to set values for the velocity inlet for mass fraction and velocity and temperatures at the inlet.
My question is that how I can set the values for them using a Journal File?
Is that clear or you need more clarification,
Thanks

syavash November 16, 2012 17:11

Quote:

Originally Posted by Negin_Salehi (Post 392621)
Dear Syavash,
Thanks for your response,
I want to write a journal file. So, I want to set values for the velocity inlet for mass fraction and velocity and temperatures at the inlet.
My question is that how I can set the values for them using a Journal File?
Is that clear or you need more clarification,
Thanks

Dear Negin,

If you wish to write a journal file which can set the value of your desired parameters at inlet B.C., you should simply perform it once manually, then Fluent will write a journal file containing all of steps you've already made. Remember to Start journal at the beginning of process and when you finished all the steps needed, Stop journal from "Write" menu. I hope it can help you.
Regards.


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