|
[Sponsors] |
July 24, 2018, 05:48 |
External force 6DOF
|
#1 |
Member
Join Date: Jul 2013
Posts: 98
Rep Power: 13 |
Hello,
I have a very easy to picture 2D case. Two flat plates pushing together some fluid drop. One plate is stationary and the other is pressing with a constant force. I have tried to solve it in two different ways. The first, which should be the easier one, defining in fluent a spring only with a preload value. It didn't work. On my second approach, I used the following UDF. Code:
#include "udf.h" DEFINE_SDOF_PROPERTIES(force_stamp, prop, dt, time, dtime) { prop[SDOF_LOAD_F_X] = 0; prop[SDOF_LOAD_F_Y] = -500; prop[SDOF_LOAD_F_X] = 0; prop[SDOF_MASS] = 1; prop[SDOF_IXX] = 0; prop[SDOF_IYY] = 0; prop[SDOF_IZZ] = 0; prop[SDOF_ZERO_TRANS_X] = TRUE; prop[SDOF_ZERO_TRANS_Z] = TRUE; prop[SDOF_ZERO_ROT_X] = TRUE; prop[SDOF_ZERO_ROT_Y] = TRUE; prop[SDOF_ZERO_ROT_Z] = TRUE; printf ("\n2d_test_box: Updated 6DOF properties"); } In both cases I defined a mass of 1 kg, because it gives an error with a mass of 0. I hope somebody can give me a hand here. Thanks. |
|
April 22, 2019, 06:16 |
|
#2 |
New Member
Saif Ullah
Join Date: Aug 2011
Posts: 10
Rep Power: 15 |
As a = F/m, putting m = 0 will obviously generate an error in calculating the translatory motion parameters.
|
|
Tags |
6dof, dynamic mesh, external force, fluent |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ActuatorDiskExplicitForce in OF2.1. Help | be_inspired | OpenFOAM Programming & Development | 10 | September 14, 2018 12:12 |
CompressibleInterDyMFoam with 6DOF body External Force | im_lenny | OpenFOAM Programming & Development | 0 | January 30, 2017 12:38 |
WILLING TO PAY/ FREELANCER REQUIRED / small UDF coding force loads over body / 6DOF | acasas | CFD Freelancers | 1 | January 23, 2015 08:26 |
CGNS Compiling | Diego | Main CFD Forum | 17 | December 21, 2014 02:40 |
Force can not converge | colopolo | CFX | 13 | October 4, 2011 23:03 |