|
[Sponsors] |
July 8, 2014, 23:39 |
Boundary condition profiles for temperature
|
#1 |
Member
Mohamed
Join Date: Jan 2011
Location: Algeria
Posts: 46
Rep Power: 15 |
please, can anyone help me to make BC profile file for temperature data exist, i have the data file for temperature variation with time.
HTML Code:
Time (s) Temperature (K) 0 307,5 60 307,5 120 307,5 180 307,5 240 307,5 300 307,4 360 307,4 420 307,3 480 307,2 540 307,2 600 307,1 660 307,1 720 307,1 780 307,1 840 307,1 900 307,1 960 307,1 1020 307,1 1080 307,1 1140 307,1 1200 307,1 1260 307,1 1320 307,1 1380 307,2 1440 307,2 1500 307,2 1560 307,2 1620 307,2 1680 307,2 1740 307,1 1800 307,1 1860 307,1 1920 307,1 1980 307,2 2040 307,2 2100 307,2 2160 307,2 2220 307,1 2280 307,1 2340 307,1 2400 307 2460 307 2520 307 2580 307 2640 307 2700 307 2760 306,9 2820 306,8 2880 306,8 2940 306,9 3000 306,9 3060 306,9 3120 306,8 3180 306,8 3240 306,8 3300 306,8 3360 306,8 3420 306,8 3480 306,7 3540 306,7 3600 306,7 |
|
July 9, 2014, 08:48 |
|
#2 |
Senior Member
François Grégoire
Join Date: Jan 2010
Location: Canada
Posts: 392
Rep Power: 17 |
something like this:
Code:
#include "udf.h" DEFINE_PROFILE(T_in, thread, position) { face_t f; real t = CURRENT_TIME; begin_f_loop(f, thread) { if (t <= 240) F_PROFILE(f, thread, position) = 307.5; else if (t <= 360) F_PROFILE(f, thread, position) = 307.4; ... ... ... else F_PROFILE(f, thread, position) = 306.7; } end_f_loop(f, thread) } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 08:38 |
Outflow boundary condition in cartesian grid SIMPLE velocity-pressure coupling | ghobold | Main CFD Forum | 9 | September 19, 2015 03:50 |
Radiation interface | hinca | CFX | 15 | January 26, 2014 18:11 |
CFX fails to calculate a diffuser pipe flow | shenying0710 | CFX | 7 | March 26, 2013 05:13 |
asking for Boundary condition in FLUENT | Destry | FLUENT | 0 | July 27, 2010 01:55 |