rigidBodyDynamics::restraints::externalForce: New restraint to apply a time-varying force

Description
    Time-dependent external force restraint using Function1.

Usage
    Example applying a constant force to the floatingObject:
    restraints
    {
        force
        {
            type        externalForce;
            body        floatingObject;
            location    (0 0 0);
            force       (100 0 0);
        }
    }

Based on code contributed by SeongMo Yeon
Resolves contribution request https://bugs.openfoam.org/view.php?id=3358
This commit is contained in:
Henry Weller
2019-10-04 16:45:22 +01:00
parent 8756e82afd
commit 639a90c645
2 changed files with 12 additions and 0 deletions

View File

@ -71,6 +71,17 @@ rigidBodyMotionCoeffs
outerDistance 0.35;
}
}
restraints
{
force
{
type externalForce;
body floatingObject;
location (0 0 0);
force (100 0 0);
}
}
}