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

nonuniform temperature boundary condition

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 11, 2010, 14:34
Question nonuniform temperature boundary condition
  #1
Member
 
Join Date: Feb 2010
Posts: 33
Rep Power: 16
blackbody is on a distinguished road
hello

when i want to use a nonuniform temperature distribution at inlet as a boundary condition (values from measurement), what do i have to do?

- where can i set this BC?
- what kind of file does it has to be?
- any other things i have to consider?

i checked the user manual and the only thing i found is something about a junction box routine that i don't understand...

how should i approuch to this problem?
thank you very much!!!
blackbody is offline   Reply With Quote

Old   March 11, 2010, 15:36
Default
  #2
New Member
 
Join Date: Dec 2009
Posts: 13
Rep Power: 16
puga is on a distinguished road
The first thing you'll want to do is create a user function. Specify whatever input/output units you want, and give it the data points for the function. If you like, you can create a variable (such as the radius in a cylindrical system calculated from cartesian coordinates) that can be used as the input.

Once you have the function specified, open up the boundary conditions for your inlet. Under Heat Transfer, select the type of temperature you are inputting, and in the text box, put:
NAMEOFFUNCTION.OUTPUTVARIABLE(INPUTVARIABLE)

E.g. if your function was called InletT, with the input being "radius" and output being "Tt", you would put

InletT.Tt(radius)

That'll do it. You can also specify the function from a text file if you like (instead of putting the points in manually)
puga is offline   Reply With Quote

Old   March 12, 2010, 00:45
Default
  #3
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I might rewrite puga's first sentence as "The last thing you'll want to do is create a user function". Avoid user fortran if at all possible is my advice. The first thing you should try is using a simple 1D lookup table as a CEL expression. You can enter your data points as a temperature vs height dataset and use that as the temperature field for your inlet. See, easy and no fortran required.

Only go to fortran if you can't do what you want in CEL - and 95% of the time it can be done in CEL.
ghorrocks is offline   Reply With Quote

Old   March 12, 2010, 07:42
Default
  #4
New Member
 
Join Date: Dec 2009
Posts: 13
Rep Power: 16
puga is on a distinguished road
I wasn't implying user Fortran. You can simply scroll to the bottom of the main menu and click "add user function." No fortran required. I should also put the caveat that I'm using version 11.
puga is offline   Reply With Quote

Old   March 15, 2010, 16:47
Default
  #5
Member
 
Join Date: Feb 2010
Posts: 33
Rep Power: 16
blackbody is on a distinguished road
CEL !!! was the answer thank you...
blackbody is offline   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
problem with boundary condition??? smn CFX 5 November 24, 2009 07:37
No results for solid domain Gary Holland CFX 10 March 13, 2009 04:30
Nonuniform gradient boundary condition ankgupta8um OpenFOAM Running, Solving & CFD 1 March 14, 2006 02:34
Pressure Boundary Condition Matt Umbel Main CFD Forum 0 January 11, 2002 11:06
boundary condition : temperature J.D.Yoon FLUENT 1 August 29, 2000 05:08


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