|
[Sponsors] |
December 24, 2017, 11:02 |
can i do that ??
|
#1 |
Member
alliche redha
Join Date: Jun 2010
Posts: 53
Rep Power: 15 |
hi,
I have a question please, 1- can I use "temperature" or "pressure" in 6dof udf. 2- and, how should I define ' c ' and ' t ' in "temp = C_T(c,t); " for example : #include "udf.h" DEFINE_SDOF_PROPERTIES(force_tempe, prop, dt, time, dtime) { real temp = C_T(c,t); prop[SDOF_MASS] = 6; prop[SDOF_ZERO_TRANS_X] = TRUE; prop[SDOF_ZERO_TRANS_Y] = FALSE; prop[SDOF_ZERO_TRANS_Z] = TRUE; prop[SDOF_ZERO_ROT_X] = TRUE; prop[SDOF_ZERO_ROT_Y] = TRUE; prop[SDOF_ZERO_ROT_Z] = TRUE; prop[SDOF_LOAD_F_Y] = (6 * 9.81) - ( 4 * temp) ; } |
|
|
|