|
[Sponsors] |
incorrect cg motion UDF sdof_properties::libudf on zone 6 (assuming no motion) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 22, 2013, 07:58 |
incorrect cg motion UDF sdof_properties::libudf on zone 6 (assuming no motion)
|
#1 |
New Member
Mohamed Magdy Mohamed
Join Date: Jan 2013
Posts: 9
Rep Power: 13 |
Hi,
I'm trying to simulate the movement of floating body in sea. I'm using a udf for wall movement : #include "udf.h" DEFINE_CG_MOTION(wave, dt, cg_vel, cg_omega, time, dtime) { cg_vel[0] = ((4)*(sin((63)*(time)))); cg_vel[1] = 0.0; cg_vel[2] = 0.0; cg_omega[0] = 0.0; cg_omega[1] = 0.0; cg_omega[2] = 0.0; } and another one for the floating body six_dof_property: /************************************************** ***** SDOF property compiled UDF with external forces/moments ************************************************** *****/ #include "udf.h" DEFINE_SDOF_PROPERTIES(sdof_properties, prop, dt, time, dtime) { prop[SDOF_MASS] = 85167.33; prop[SDOF_IXX] = 174112.84; prop[SDOF_IYY] = 28237716.54; prop[SDOF_IZZ] = 28237716.54; prop[SDOF_ZERO_TRANS_X] = TRUE; prop[SDOF_ZERO_TRANS_Y] = TRUE; prop[SDOF_ZERO_ROT_Z] = TRUE; printf ("\n updated 6DOF properties"); } when i check the "six DOF" option in dynamic mesh the wall doesn't move and this message appears: Unable to read motion history while if i unchecked it an error appears -but the waves are generated correctly-: incorrect cg motion UDF sdof_properties::libudf on zone 6 (assuming no motion) So if anyone could tell me whether I should -in my case- check the box beside "six DOF" in dynamic mesh options or not. knowing that :
Thanks. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] Mesh conversion problem (fluent3DMeshToFoam) | Aadhavan | OpenFOAM Meshing & Mesh Conversion | 2 | March 8, 2018 02:47 |
Dynamic Mesh UDF | Qureshi | FLUENT | 7 | March 23, 2017 08:37 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
fluent probelm"mesh motion udf" | bestrcsekhar | Main CFD Forum | 0 | November 2, 2008 02:38 |
Sliding mesh error | Karl Kevala | FLUENT | 4 | February 21, 2001 16:52 |