
[Sponsors] 
February 10, 2020, 23:36 
Acceleration term in 6 DOF solver

#1 
New Member
MEK
Join Date: Oct 2016
Posts: 27
Rep Power: 5 
cg_y = DT_CG(dt)[1]; ydisplacement
cg_x = DT_CG(dt)[0]; xdisplacement vel_y = DT_VEL_CG(dt)[1]; yvelocity vel_x = DT_VEL_CG(dt)[0]; xvelocity Fy = ky*cg_y  vel_y*cy; x force term Fx = kx*cg_x  vel_x*cx; y force term prop[SDOF_LOAD_F_Y] = Fy; prop[SDOF_LOAD_F_X] = Fx; i would like to ask about acceleration term as there are displacement and velocity but if i also want to incooperate acceleration term what do i have to do 

February 11, 2020, 04:25 
Displacement, velocity, and acceleration

#2 
Senior Member
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 539
Rep Power: 16 
Do note that DT_CG is not displacement rather the position vector of the center of gravity. Its variation across space would define displacement.
DT_VEL_CG is the velocity vector. As far as acceleration is concerned, a separate macro is not required since this is a discrete solver. You have to ensure that the velocity is changing over time; that is the acceleration. If you wish to apply an instantaneous acceleration, then that is defined in terms of the force and not acceleration as such. So, you can add another force.
__________________
Regards, Vinerm PMs only for private content 

February 11, 2020, 06:05 

#3 
New Member
MEK
Join Date: Oct 2016
Posts: 27
Rep Power: 5 
thank you so much for clarifying these things but still i am unable to understand how i would be able to add (MX doubble dot) if i dont know its value here solver compute it for me based on the movement of object.


February 11, 2020, 06:21 
No calculation of acceleration

#4 
Senior Member
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 539
Rep Power: 16 
Solver does not compute . It computes only x and .
May I know the objective why you want to calculation the acceleration? As suggested earlier, if you wish to apply acceleration that implies applying a force.
__________________
Regards, Vinerm PMs only for private content 

February 11, 2020, 08:12 

#5 
New Member
MEK
Join Date: Oct 2016
Posts: 27
Rep Power: 5 
Well my intentions to compute acceleration is due to coupled equations that I want to solve as attached in the image of first post maybe if u look into the equations in the image things will be clearer.


February 11, 2020, 08:38 
Macros

#6 
Senior Member
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 539
Rep Power: 16 
As far as I understand, you appear to be mixing two things. For an SDOF solver, Fluent does not require you to solve extra equation, however, you can provide extra forces. Fluent (most likely) does not include the last terms in the equations you have, so, you can use the following macros to calculate extra forces and then add those to the forces that you already might have. But be cautious with what is being done because Fluent does not expect extra velocities or displacements to be provided by the user in SDOF solver; only the forces (both linear and angular).
DT_ACC_CG for linear acceleration DT_ALPHA_CG for angular acceleration
__________________
Regards, Vinerm PMs only for private content 

Thread Tools  Search this Thread 
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
How to add coupled euqations with coupled exponential term in a solver  Lann  OpenFOAM  2  November 14, 2019 10:24 
Modelling hinge joint for Six DOF solver in OpenFOAM  suyogmahulkar  OpenFOAM Programming & Development  1  December 29, 2018 16:23 
New output variable for source term in fvoptions  without changing the solver  vincent.clary  OpenFOAM Programming & Development  2  June 26, 2018 06:21 
No difference in solver behaviour with implicit source term  Gesetzt  OpenFOAM Programming & Development  1  December 10, 2017 07:14 
What solver would benefit from GPU acceleration?  Lukasz  OpenFOAM Running, Solving & CFD  0  October 15, 2013 16:19 