CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Rigid body Rotation about an axis using groovyBC.

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 12, 2014, 16:41
Default Rigid body Rotation about an axis using groovyBC.
  #1
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 13
msrinath80 is on a distinguished road
Hi all,

Can someone provide an example for how to specify rotation (fixed RPM) of an arbitrarily shaped internal boundary about say the Y-axis?

Thanks for your help!
msrinath80 is offline   Reply With Quote

Old   August 12, 2014, 17:30
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,971
Rep Power: 41
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by msrinath80 View Post
Hi all,

Can someone provide an example for how to specify rotation (fixed RPM) of an arbitrarily shaped internal boundary about say the Y-axis?

Thanks for your help!
That'd be "f*(vector(0,1,0) ^ pos())" (^is the cross product in OpenFOAM/swak)

Calculating the scalar factor f is left to the reader as an exercise
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   August 12, 2014, 17:50
Default
  #3
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 13
msrinath80 is on a distinguished road
haha, thanks Bernhard. That v = [omega] X [R] could be written with such simple abstraction in groovyBC is simply beautiful!
msrinath80 is offline   Reply With Quote

Old   August 12, 2014, 19:20
Default
  #4
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,971
Rep Power: 41
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by msrinath80 View Post
haha, thanks Bernhard. That v = [omega] X [R] could be written with such simple abstraction in groovyBC is simply beautiful!
You're welcome. As it is quite a frequent "pattern" consider writing a Usage Example at http://openfoamwiki.net/index.php/Co...Usage_examples
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Rigid body motion - Translation and Rotation dsk2 STAR-CCM+ 1 February 4, 2014 12:01
rigid body rotation through an axis not passing through centre of gravity ranjith CFX 5 November 22, 2012 17:08
Rigid Body with 3-DOF rotation aeropeng OpenFOAM 3 June 28, 2011 04:43
Rigid body rotation NOT through the CG? Joe FLUENT 6 May 28, 2010 11:03
Rotation of a 3d rigid body through its free end M-Ray FLUENT 0 May 20, 2008 09:56


All times are GMT -4. The time now is 02:08.