CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Problem with Field Function

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

Like Tree2Likes
  • 2 Post By rwryne

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 17, 2012, 05:55
Default Problem with Field Function
  #1
New Member
 
Join Date: Aug 2012
Posts: 12
Rep Power: 13
gmoehl is on a distinguished road
Hallo,

I've got a coolingtube through which an air stream flows. This air stream is heated by an heat flux over the surface of the tube.
The problem is that I don't know the temperature of the incoming and the outgoing air. I' only given the masflowrate of the air and the middle temperature of the air calculated by the equation:

Tm=(Tout+Tin)/2

I've chosen a Mass Flow Inlet as boundary-type for the Inlet. Of course the program demands the Inlet Temperature. So I wondered wether it is possible to write a Field Function for the Inlet that gets the outlet Temperature and then iterates the Inlet Temperature?
The Formula is not difficult but how do I get the temperature from a different Boundary?

Thank you all in advance for your help,

Claas
gmoehl is offline   Reply With Quote

Old   August 17, 2012, 09:38
Default
  #2
Senior Member
 
Ryne Whitehill
Join Date: Aug 2009
Posts: 312
Rep Power: 18
rwryne is on a distinguished road
Quote:
Originally Posted by gmoehl View Post
Hallo,

I've got a coolingtube through which an air stream flows. This air stream is heated by an heat flux over the surface of the tube.
The problem is that I don't know the temperature of the incoming and the outgoing air. I' only given the masflowrate of the air and the middle temperature of the air calculated by the equation:

Tm=(Tout+Tin)/2

I've chosen a Mass Flow Inlet as boundary-type for the Inlet. Of course the program demands the Inlet Temperature. So I wondered wether it is possible to write a Field Function for the Inlet that gets the outlet Temperature and then iterates the Inlet Temperature?
The Formula is not difficult but how do I get the temperature from a different Boundary?

Thank you all in advance for your help,

Claas
Use a report. Set up a report to get the (avg, min, or max, whichever you want) temperature on your outlet. You can then reference it in a field function by using $<ReportName>Report. I.e. if you report is "Outlet Temperature" you can reference this in a field function using $OutletTemperatureReport
siara817 and virgy like this.
rwryne is offline   Reply With Quote

Old   August 18, 2012, 05:17
Smile
  #3
New Member
 
Join Date: Aug 2012
Posts: 12
Rep Power: 13
gmoehl is on a distinguished road
Thank you very much for your help rwryne.
It's working
gmoehl is offline   Reply With Quote

Reply

Tags
field function, temperature average value

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
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20
UDF vs Custom field function andrew FLUENT 5 June 24, 2011 11:53
Installation 1.5 as a user of server (New bird) chiven OpenFOAM Installation 15 April 26, 2009 23:33
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 21:50
Droplet Evaporation Christian Main CFD Forum 2 February 27, 2007 07:27


All times are GMT -4. The time now is 19:39.