|
[Sponsors] |
May 3, 2018, 04:43 |
time dependent temperature
|
#1 |
New Member
jian
Join Date: May 2018
Posts: 4
Rep Power: 8 |
The temperature should increase with time but my result shown the maximum temperature remain constant at 37 C no matter how long it took to calculate. Below is the code:
#include "udf.h" DEFINE PROFILE(inlettemperature,thread,position) { face_t f; real t= CURRENT_TIME; begin_f_loop(f,thread) { F_PROFILE(f, thread, position) = 0.0362t + 36.951 } end_f_loop(f, thread) } please... need some helps here. |
|
May 3, 2018, 22:36 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
was
Code:
F_PROFILE(f, thread, position) = 0.0362t + 36.951 Code:
F_PROFILE(f, thread, position) = 0.0362*t + 36.951; best regards |
|
Tags |
udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Elastic or Plastic Deformations in OpenFOAM | NickolasPl | OpenFOAM Pre-Processing | 36 | September 23, 2023 09:22 |
AMI speed performance | danny123 | OpenFOAM | 21 | October 24, 2020 05:13 |
Extrusion with OpenFoam problem No. Iterations 0 | Lord Kelvin | OpenFOAM Running, Solving & CFD | 8 | March 28, 2016 12:08 |
Stuck in a Rut- interDyMFoam! | xoitx | OpenFOAM Running, Solving & CFD | 14 | March 25, 2016 08:09 |
Micro Scale Pore, icoFoam | gooya_kabir | OpenFOAM Running, Solving & CFD | 2 | November 2, 2013 14:58 |