CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions > OpenFOAM CC Toolkits for Fluid-Structure Interaction

solidVelocity

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By bigphil

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 16, 2019, 11:43
Default solidVelocity
  #1
Member
 
Join Date: Apr 2011
Posts: 57
Rep Power: 15
amanbearpig is on a distinguished road
Does anyone have any experience using the solidVelocity boundary condition? I've tried to test it out but I get floating point exception errors whenever I try and use it, and there are no examples in the tutorials that I could find. Thanks!
amanbearpig is offline   Reply With Quote

Old   August 22, 2019, 19:01
Default
  #2
Senior Member
 
Ali Shayegh
Join Date: Oct 2015
Posts: 130
Rep Power: 10
amuzeshi is on a distinguished road
Quote:
Originally Posted by amanbearpig View Post
Does anyone have any experience using the solidVelocity boundary condition? I've tried to test it out but I get floating point exception errors whenever I try and use it, and there are no examples in the tutorials that I could find. Thanks!
Explain your problem, there may be more appropriate boundary conditions that match your case.
BTW, I only found this:
Code:
Description
    Velocity boundary condition with boundary non-orthogonal correction for
    the solid solvers.

    Essentially time-varying fixedValue with non-orthogonal correction.

    Optional time-varying velocity specified via a velocitySeries.
amuzeshi is offline   Reply With Quote

Old   September 2, 2019, 06:09
Default
  #3
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,089
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
Hi,

You can use solidVelocity for the displacement field (D) or displacement increment field (DD) as follows, for a velocity that is constant in time:
Code:
    yourPatchName
    {
        type            solidVelocity;
        velocity        uniform (1 2 3); // set velocity here
        value           uniform (0 0 0);
    }
or for time-varying as:
Code:
    yourPatchName
    {
        type            solidVelocity;
        velocitySeries
        {
            fileName    "$FOAM_CASE/constant/timeVsVelocity";
            outOfBounds clamp;
        }
        value           uniform (0 0 0);
    }
where timeVsVelocity gives the time vs velocity in the following form (time on left, velocity on right, actual velocity will be interpolated from this table):
Code:
(
    ( 0    ( 1 0 0 ) )
    ( 4    ( 1 0 0 ) )
    ( 6    ( -1 0 0 ) )
    ( 10   ( -1 0 0 ) )
)
I have attached an example plateHole case showing this usage.

Philip
Attached Files
File Type: zip plateHoleVelocity.zip (8.9 KB, 3 views)
amuzeshi likes this.
bigphil 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



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