# Boundary-static temperature

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 October 3, 2018, 05:32 Boundary-static temperature #1 New Member   Join Date: Aug 2018 Posts: 6 Rep Power: 7 Hello , How to introduce the inlet water temperatures as tabular form in a static temperature ? Cordially.

 October 3, 2018, 08:12 #2 Senior Member   Gert-Jan Join Date: Oct 2012 Location: Europe Posts: 1,794 Rep Power: 26 What kind of table do you want to make? Do you want to describe the temperature as a function of coordinates? In other words: can you explain what problem you are working on?

 October 4, 2018, 03:41 #3 Senior Member   urosgrivc Join Date: Dec 2015 Location: Slovenija Posts: 365 Rep Power: 11 this can be done in multiple ways; [1] you can make an expression which depends on location [2] You can import data via user function as a table and than use an expression to set up your boundary condition [3] You can import data directly to your CFX via ->Tools->initialize profile data you are then able to interpolate or use all this data in expressions also (very powerful tool) [4] there are definitely some other ways also... So which one you use depends on what you want to achieve and what type of data you have. STC Amine likes this.

October 9, 2018, 05:20
#4
New Member

Join Date: Aug 2018
Posts: 6
Rep Power: 7
Quote:
 Originally Posted by urosgrivc this can be done in multiple ways; [1] you can make an expression which depends on location [2] You can import data via user function as a table and than use an expression to set up your boundary condition [3] You can import data directly to your CFX via ->Tools->initialize profile data you are then able to interpolate or use all this data in expressions also (very powerful tool) [4] there are definitely some other ways also... So which one you use depends on what you want to achieve and what type of data you have.
Thank you for your efficient and prompt attentions, what i want to do is insert the inlet water temperature as tabular expression in the heat transfer boundary.
Time (Hours) Te(°C)
08:10 10,4
08:20 11
08:30 11,1
08:40 16,1
08:50 15,4
09:00 13,9
09:10 14,7
09:20 13,5
09:30 13,6
09:40 13,9
09:50 13,9
10:00 13,8
10:10 13,4
10:20 14,1
10:30 14,6

 October 9, 2018, 05:54 #5 Senior Member   urosgrivc Join Date: Dec 2015 Location: Slovenija Posts: 365 Rep Power: 11 I think that option [2] from before is best for this: Type this into google (user function cfx): ... You first need to make a tab delimited text file like this; numbers must be vith . (dot) (not ,coma) 0 10.4 60 11 120 11.1 180 16.1 240 15.4 320 13.9 380 14.7 ... ... Now you make a new user function called "historyT" the first column will be [s] in this case, but can be whatever you like the other one [C] you right-click on the blank space (coordinate-value table will be blank at first) in the user function setup and import the text file. the table will be filled with values now, this part is done, Now you make a new expression named "Temperature_t": Temperature_t = historyT(t) to the expression the (t) term is aded vhich stands for time dependant. now you insert this expresion into setings for inlet temperature and voila temperature vill change acording to time it will be linearly interpolated between values.

 October 9, 2018, 06:28 #6 New Member   Join Date: Aug 2018 Posts: 6 Rep Power: 7 Thank you for your efficient and prompt attentions, what i want to do is insert the inlet water temperature as tabular expression in the heat transfer boundary. Time (Hours) Te(°C) 08:10 10,4 08:20 11 08:30 11,1 08:40 16,1 08:50 15,4 09:00 13,9 09:10 14,7 09:20 13,5 09:30 13,6 09:40 13,9 09:50 13,9 10:00 13,8 10:10 13,4 10:20 14,1 10:30 14,6

 October 9, 2018, 06:35 #7 New Member   Join Date: Aug 2018 Posts: 6 Rep Power: 7 Thank you a lot for your valued assistance.

October 9, 2018, 07:16
#8
New Member

Join Date: Aug 2018
Posts: 6
Rep Power: 7
Quote:
 Originally Posted by urosgrivc I think that option [2] from before is best for this: Type this into google (user function cfx): ... You first need to make a tab delimited text file like this; numbers must be vith . (dot) (not ,coma) 0 10.4 60 11 120 11.1 180 16.1 240 15.4 320 13.9 380 14.7 ... ... Now you make a new user function called "historyT" the first column will be [s] in this case, but can be whatever you like the other one [C] you right-click on the blank space (coordinate-value table will be blank at first) in the user function setup and import the text file. the table will be filled with values now, this part is done, Now you make a new expression named "Temperature_t": Temperature_t = historyT(t) to the expression the (t) term is aded vhich stands for time dependant. now you insert this expresion into setings for inlet temperature and voila temperature vill change acording to time it will be linearly interpolated between values.
Could you show me a demonstration!

 October 9, 2018, 07:33 #9 Senior Member   urosgrivc Join Date: Dec 2015 Location: Slovenija Posts: 365 Rep Power: 11 The first part to create user defined function... http://cfd2012.com/cfx-user-functions.html the second part is just an expresion google it you will learn much more

 Tags enter expression, static temperature, temperature

 Thread Tools Search this Thread Search this Thread: Advanced Search Display Modes Linear Mode

 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 OffTrackbacks are Off Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post [openSmoke] libOpenSMOKE Tobi OpenFOAM Community Contributions 562 January 25, 2023 10:21 Spray_Ansys CFX 28 June 9, 2018 08:37 Mike_Tom CFX 6 September 29, 2016 02:27 Shaun Waters CFX 34 July 23, 2015 09:16 Mavier CFX 5 April 29, 2013 01:00

All times are GMT -4. The time now is 05:17.

 Contact Us - CFD Online - Privacy Statement - Top