6DOF piston
i'm a student trying to simulate moving piston in cylinder by pressure force
i wrote my code as follow #include "udf.h" DEFINE_SDOF_PROPERTIES(piston, prop, dt, time, dtime) { prop[SDOF_MASS] = 10.5; prop[SDOF_IXX] = .03; prop[SDOF_IYY] = .02; prop[SDOF_IZZ] = .02; prop[SDOF_ZERO_TRANS_X] = true; prop[SDOF_ZERO_TRANS_Y] = true; prop[SDOF_ZERO_TRANS_Z] = false; prop[SDOF_ZERO_ROT_X] = true; prop[SDOF_ZERO_ROT_Y] = true; prop[SDOF_ZERO_ROT_Z] = true; printf("\n updated 6DOF properties"); } is that code okey??? i have another error says The UDF library you are trying to load is not compiled for 3d on the current platform (win64). The system cannot find the file specified. any help, please?? |
Quote:
http://www.cfd-online.com/Forums/flu...e-problem.html |
All times are GMT -4. The time now is 03:07. |