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

How to set the function to get f_p(f,t)

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 2, 2007, 09:17
Default How to set the function to get f_p(f,t)
  #1
arwang
Guest
 
Posts: n/a
Hi. Now I wannt get the sum pressures on two walls then use the sum as a pressure boundary condition applied on one inlet. My problem is how to get the wall ID and how to get pressures. Thank you very much.
  Reply With Quote

Old   March 2, 2007, 13:31
Default Re: How to set the function to get f_p(f,t)
  #2
Sujith
Guest
 
Posts: n/a
You can get the zone id of wall through boundary condiitons panel; then use Lookup_Thread to get the thread for the wall and get the pressure using F_P(c,t)
  Reply With Quote

Old   March 3, 2007, 05:29
Default Re: How to set the function to get f_p(f,t)
  #3
arwang
Guest
 
Posts: n/a
thank you for your hint. I can't set the domain value in the Lookup_Thread function. ...

  Reply With Quote

Old   March 3, 2007, 16:02
Default Re: How to set the function to get f_p(f,t)
  #4
Sujith
Guest
 
Posts: n/a
You have to get the domain through Domain *d= Get_Domain(domain_id), where domain_id will be 1 for single phase problems and multiphase problem 1 for mixture domain and for each phase you can get the domain id from the phases panel.
  Reply With Quote

Old   March 4, 2007, 21:05
Default Re: How to set the function to get f_p(f,t)
  #5
Ravi Bharihoke
Guest
 
Posts: n/a
Hi,

I am Ravi doing chemical engineering B.Tech. at IIT Kharagpur.

In my case, there is simultaneous Mass Transfer and fluid trasfer. I want to give velocity profile at a boundary but the concentration of a species also depends on that velocity by a function. so,i have written a udf which works for both velocity and mass fraction at that boundary, can you please tell me how should i call velocity variable and mass fraction variable in the define_profile macro... since mass fraction is a scaler so how can i give it within the face thread, is F_V(f,t)for velocity and F_YI(f,t,i) for concentration correct or do i need to define cell thread for mass fraction.

Kindly reply as soon as possible as my work is stuck up because of this only. If possible please mail me at ravii.iitkgp@gmail.com.

Thanks.
  Reply With Quote

Old   March 5, 2007, 16:41
Default Re: How to set the function to get f_p(f,t)
  #6
Sujith
Guest
 
Posts: n/a
for velocities F_U(f,t), F_V(f,t), F_W(c,t) can be used, But for some boundaries these values not stored(eg symmetry), there u may have to use the nearby cell value

F_YI(f,t,i) is correct for species mass fraction, it will work on face too.
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 10:31
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 14:06
how to set a source function zhaochuangang ANSYS 0 March 18, 2010 05:31
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 05:37
OpenFoam 14 installation problem gfcoppola OpenFOAM Installation 20 November 2, 2007 14:38


All times are GMT -4. The time now is 21:04.