CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

access to a property in a boundary condition using UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 12, 2012, 15:10
Default access to a property in a boundary condition using UDF
  #1
New Member
 
Join Date: Nov 2012
Posts: 4
Rep Power: 13
Negin_Salehi is on a distinguished road
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.
Negin_Salehi is offline   Reply With Quote

Old   November 14, 2012, 21:46
Default
  #2
Senior Member
 
Syavash Asgari
Join Date: Apr 2010
Posts: 473
Rep Power: 18
syavash is on a distinguished road
Quote:
Originally Posted by Negin_Salehi View Post
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
syavash is offline   Reply With Quote

Old   November 16, 2012, 16:00
Default
  #3
New Member
 
Join Date: Nov 2012
Posts: 4
Rep Power: 13
Negin_Salehi is on a distinguished road
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
Negin_Salehi is offline   Reply With Quote

Old   November 16, 2012, 16:11
Default
  #4
Senior Member
 
Syavash Asgari
Join Date: Apr 2010
Posts: 473
Rep Power: 18
syavash is on a distinguished road
Quote:
Originally Posted by Negin_Salehi View Post
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.
syavash is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Resolved: Changing boundary condition with UDF according to pressure outlet boundary alpemre Fluent UDF and Scheme Programming 12 February 24, 2014 10:18
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 17:44
Boundary Condition Types Using Scheme and UDF Nasir FLUENT 0 September 15, 2008 21:54
UDF for the boundary condition Sridhar FLUENT 3 July 13, 2001 19:18
UDF : boundary condition ID Flav FLUENT 4 June 28, 2001 09:52


All times are GMT -4. The time now is 02:58.