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

How to set initial velocity for rigid body motion?

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By pbachant

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 14, 2017, 09:25
Default How to set initial velocity for rigid body motion?
  #1
Senior Member
 
Pete Bachant
Join Date: Jun 2012
Location: Boston, MA
Posts: 173
Rep Power: 13
pbachant is on a distinguished road
I am trying to simulate an object decelerating from fluid forces, but it's unclear how to set the initial velocity and point displacement fields for the boundary of interest. I assume the point displacement needs to be calculated, so I am using that for the patch of interest, but the initial value doesn't appear to have an effect, i.e., the motion solver is simply predicting no force or motion. Is there a setting in the motion solver for specifying the initial velocity?
__________________
Home | Twitter | GitHub
pbachant is offline   Reply With Quote

Old   May 14, 2017, 19:06
Default
  #2
Senior Member
 
Pete Bachant
Join Date: Jun 2012
Location: Boston, MA
Posts: 173
Rep Power: 13
pbachant is on a distinguished road
The answer was pretty simple, but maybe a little misleading. Initial velocity can be set with:

Code:
sixDoFRigidBodyMotionCoeffs
{
    velocity (0 0 -1.5);
}
It should probably be called something like initialVelocity though. These values are read by the sixDoFRigidBodyMotionState object.
zkdkeen and amanbearpig like this.
__________________
Home | Twitter | GitHub
pbachant is offline   Reply With Quote

Old   March 27, 2020, 08:01
Default
  #3
Member
 
William Tougeron
Join Date: Jan 2011
Location: Czech Republic
Posts: 70
Rep Power: 15
taalf is on a distinguished road
Hi all,


What about initial angular velocity ?...
taalf is offline   Reply With Quote

Old   March 27, 2020, 08:18
Default
  #4
Member
 
William Tougeron
Join Date: Jan 2011
Location: Czech Republic
Posts: 70
Rep Power: 15
taalf is on a distinguished road
Quote:
Originally Posted by taalf View Post
Hi all,


What about initial angular velocity ?...

Oh, yes, through the angularMomentum entry, eg.:
momentOfInertia (100 100 100);
angularMomentum (0 0 78.54);

The angular momentum L equals I.\omega, with I the moment of inertia given above (entry "momentOfInertia"), and \omega the desired angular velocity in [rad/s].
taalf 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
Segmentation fault when using reactingFOAM for Fluids Tommy Floessner OpenFOAM Running, Solving & CFD 4 April 22, 2018 12:30
pressure in incompressible solvers e.g. simpleFoam chrizzl OpenFOAM Running, Solving & CFD 13 March 28, 2017 05:49
HeatSource BC to the whole region in chtMultiRegionHeater xsa OpenFOAM Running, Solving & CFD 3 November 7, 2016 05:07
calculation stops after few time steps sivakumar OpenFOAM Running, Solving & CFD 7 March 17, 2013 06:37
SLTS+rhoPisoFoam: what is rDeltaT??? nileshjrane OpenFOAM Running, Solving & CFD 4 February 25, 2013 04:13


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