CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

External force 6DOF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 24, 2018, 04:48
Unhappy External force 6DOF
  #1
Member
 
Join Date: Jul 2013
Posts: 85
Rep Power: 12
HHOS is on a distinguished road
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");
}
I know that the dynamic mesh options are correct, because I already moved the wall with a velocity profile.

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.
HHOS is offline   Reply With Quote

Old   April 22, 2019, 05:16
Default
  #2
New Member
 
Saif Ullah
Join Date: Aug 2011
Posts: 10
Rep Power: 14
saifullahkhalid is on a distinguished road
As a = F/m, putting m = 0 will obviously generate an error in calculating the translatory motion parameters.
saifullahkhalid is offline   Reply With Quote

Reply

Tags
6dof, dynamic mesh, external force, fluent


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ActuatorDiskExplicitForce in OF2.1. Help be_inspired OpenFOAM Programming & Development 10 September 14, 2018 11:12
CompressibleInterDyMFoam with 6DOF body External Force im_lenny OpenFOAM Programming & Development 0 January 30, 2017 11:38
WILLING TO PAY/ FREELANCER REQUIRED / small UDF coding force loads over body / 6DOF acasas CFD Freelancers 1 January 23, 2015 07:26
CGNS Compiling Diego Main CFD Forum 17 December 21, 2014 01:40
Force can not converge colopolo CFX 13 October 4, 2011 22:03


All times are GMT -4. The time now is 11:40.