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

how to constrain rigid body motion

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By mvoss
  • 1 Post By singer1812

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 26, 2013, 15:04
Default how to constrain rigid body motion
  #1
Member
 
Mohamad Alagheband
Join Date: Oct 2012
Posts: 41
Rep Power: 14
MUMMED is on a distinguished road
Hi
Does anybody know how I can constrain a rigid body motion I mean for like specific rotational angle ?
I can not just stop the solution and re-run for fixed boundaries because my inlet velocity profile is pulsatile.
thanks
MUMMED is offline   Reply With Quote

Old   May 26, 2013, 22:34
Default
  #2
Mal
New Member
 
Ma.L
Join Date: May 2013
Location: ShangHai,China
Posts: 17
Rep Power: 13
Mal is on a distinguished road
when you define a rigidbody,you can define the degree of freedom of it,including Movement and Rotation。
good luck。
Mal is offline   Reply With Quote

Old   May 27, 2013, 06:32
Default
  #3
Member
 
Mohamad Alagheband
Join Date: Oct 2012
Posts: 41
Rep Power: 14
MUMMED is on a distinguished road
Quote:
Originally Posted by Mal View Post
when you define a rigidbody,you can define the degree of freedom of it,including Movement and Rotation。
good luck。
dear MAL
thanks for reply
I knew what you mentioned but i am trying to constrain rotation angle i mean when RB rotated for certain angles then it should be stopped in that position and solution go on with fixed boundaries and i don't know how much time does it take to rotate and i am going to find out by RB simulation?
Tnx
MUMMED is offline   Reply With Quote

Old   May 27, 2013, 09:17
Default
  #4
Senior Member
 
Matthias Voß
Join Date: Mar 2009
Location: Berlin, Germany
Posts: 449
Rep Power: 20
mvoss is on a distinguished road
hey

not sure if i got you right, but if you can express your RBmovement via CCL then you can simply add another expression with respect to simulation "runtime counters" like AITERN,CITERN,T,TSTEP or ATSTEP. e.g.
Code:
       RampLength = 1.0[s]
       Ramp = (-2*(min((t)/RampLength,1))^3+3*(min((t)/RampLength,1))^2)
and then multiply your "movement" by the ramp-value.
mvoss is offline   Reply With Quote

Old   May 27, 2013, 15:25
Default
  #5
Member
 
Mohamad Alagheband
Join Date: Oct 2012
Posts: 41
Rep Power: 14
MUMMED is on a distinguished road
dear neewbie
thank for reply
I am afraid i did not really get what you mean but do you have any idea how i can model this rotation with rigidbody
Attached Images
File Type: png Untitled.png (59.2 KB, 128 views)
MUMMED is offline   Reply With Quote

Old   May 28, 2013, 10:56
Default
  #6
Senior Member
 
Matthias Voß
Join Date: Mar 2009
Location: Berlin, Germany
Posts: 449
Rep Power: 20
mvoss is on a distinguished road
some thoughts:
1# you can apply a symmetry on the middle ?!
2# never done smth. with RBM but maybe you can use this as a starting point

Code:
New X = ((x-X0)-Total Mesh Displacement X)*cos(alpha)+((y-Y0)-Total Mesh Displacement Y)*sin(alpha)+X0
New Y = -((x-X0)-Total Mesh Displacement X)*sin(alpha)+((y-Y0)-Total Mesh Displacement Y)*cos(alpha)+Y0
New Z = ((z-Z0)-Total Mesh Displacement Z) + Z0
X0 = 0 [mm]
Y0 = 0 [mm]
Z0 = 0[mm]
by replacing the MeshDisplacemt with smth. similar for RBM and give the body the new x,y,z as coordinates. X0Y0Z0 should be the center of rotation.
3# your are running transient cases, right?
MUMMED likes this.
mvoss is offline   Reply With Quote

Old   May 28, 2013, 11:58
Default
  #7
Member
 
Mohamad Alagheband
Join Date: Oct 2012
Posts: 41
Rep Power: 14
MUMMED is on a distinguished road
Dear Matthias
I am really appreciate for spending time to answer.
As you said I am running a transient simulation with symmetric geometry
and my biggest problem is finding rotation angle .
I know the range of rotation but i do not know exact value for rotation angle and i am trying to find out by RBM (i mean applying momentum forces to RB)
and i think that code must work for known rotation angle
MUMMED is offline   Reply With Quote

Old   May 28, 2013, 12:09
Default
  #8
Senior Member
 
Matthias Voß
Join Date: Mar 2009
Location: Berlin, Germany
Posts: 449
Rep Power: 20
mvoss is on a distinguished road
u r welcome.

You apply the forces on the RB (input) and you are interested in the transient behavior and end position(output) of the RB in equilibrium state when also applying the given inlet conditions?!

So to get the real position is totally a topic for post-processing. Is that correct?
First guess--- define a Monitor point at a certain node of the RB and grab the coordinates.
mvoss is offline   Reply With Quote

Old   May 28, 2013, 14:18
Default
  #9
Member
 
Mohamad Alagheband
Join Date: Oct 2012
Posts: 41
Rep Power: 14
MUMMED is on a distinguished road
Quote:
Originally Posted by neewbie View Post
u r welcome.

You apply the forces on the RB (input) and you are interested in the transient behavior and end position(output) of the RB in equilibrium state when also applying the given inlet conditions?!

So to get the real position is totally a topic for post-processing. Is that correct?
First guess--- define a Monitor point at a certain node of the RB and grab the coordinates.
I think I went wrong
this is my problem
the leaflet must stop at 85 degree and simulation go on until the end of the pulse
thank you a lot
Attached Images
File Type: jpg Capture.jpg (19.8 KB, 39 views)

Last edited by MUMMED; May 28, 2013 at 16:26.
MUMMED is offline   Reply With Quote

Old   May 28, 2013, 16:12
Default
  #10
Senior Member
 
Edmund Singer P.E.
Join Date: Aug 2010
Location: Minneapolis, MN
Posts: 511
Rep Power: 21
singer1812 is on a distinguished road
If you are using the 6DOF solver, as implemented in CFX, you cant constrain a rigid body to rotate about a hingepoint (not coincedent with the body center).

That said, this is easy enough to do with the CEL equations that newbie has layed out (I didnt check for correctness). You can use CEL to limit alpha to what you want, and you can use equations of motion to put d(alpha)/dt in terms of forces (moments), which you can read off the body.

Note (X0,Y0,Z0) will be your hinge point.
MUMMED likes this.
singer1812 is offline   Reply With Quote

Old   May 28, 2013, 16:37
Default
  #11
Member
 
Mohamad Alagheband
Join Date: Oct 2012
Posts: 41
Rep Power: 14
MUMMED is on a distinguished road
Quote:
Originally Posted by singer1812 View Post
If you are using the 6DOF solver, as implemented in CFX, you cant constrain a rigid body to rotate about a hingepoint (not coincedent with the body center).

That said, this is easy enough to do with the CEL equations that newbie has layed out (I didnt check for correctness). You can use CEL to limit alpha to what you want, and you can use equations of motion to put d(alpha)/dt in terms of forces (moments), which you can read off the body.

Note (X0,Y0,Z0) will be your hinge point.
Dear singer thanks for reply
up to now I have been working with 6DOF solver and I do not have much experience to apply momentum with CEL.
Do you have any suggestion?
thanks
MUMMED is offline   Reply With Quote

Old   May 28, 2013, 17:39
Default
  #12
Senior Member
 
Edmund Singer P.E.
Join Date: Aug 2010
Location: Minneapolis, MN
Posts: 511
Rep Power: 21
singer1812 is on a distinguished road
Are you familiar with CEL?

Can you discretize angular motion equations?

If the answer to both of those is no, I would start with reading up on the CEL section of CFX help docs.

Then read up on angular motion in a dynamics book.

A complete discussion is more than I want to put in this forum.

Specific questions on either of those topics (other than how do i do the entire thing) I can answer.
singer1812 is offline   Reply With Quote

Old   May 29, 2013, 03:49
Default
  #13
Member
 
Mohamad Alagheband
Join Date: Oct 2012
Posts: 41
Rep Power: 14
MUMMED is on a distinguished road
you are right
I read CEL section and angular momentum before and I should take a look again
I would like to thank you again for spending time.
Thanks
MUMMED is offline   Reply With Quote

Old   April 13, 2020, 14:47
Default
  #14
New Member
 
John Applesmith
Join Date: Feb 2020
Posts: 13
Rep Power: 6
ns778 is on a distinguished road
Quote:
Originally Posted by singer1812 View Post
If you are using the 6DOF solver, as implemented in CFX, you cant constrain a rigid body to rotate about a hingepoint (not coincedent with the body center).

That said, this is easy enough to do with the CEL equations that newbie has layed out (I didnt check for correctness). You can use CEL to limit alpha to what you want, and you can use equations of motion to put d(alpha)/dt in terms of forces (moments), which you can read off the body.

Note (X0,Y0,Z0) will be your hinge point.
Hi, even if you define a new coordinate frame with its origin at the middle of the hingepoint does the 6 DOF solver not give you what you want?
ns778 is offline   Reply With Quote

Reply


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
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20
Rigid body motion error when restarting a terminated FSI simulation lingdeer ANSYS 1 May 19, 2013 02:40
CEL code for simulating the equation of motion of a vibrating rigid body mohamadaliv CFX 11 October 19, 2011 05:30
Using solidBodyMotion for rigid body motion L1011 OpenFOAM 4 July 5, 2011 05:59
rigid body motion antonello FLUENT 3 July 28, 2004 04:25


All times are GMT -4. The time now is 23:05.