mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: rigidBodyModelState: Added time value member
The absolute value of the the time has been added to the rigid body model state. This value is not directly necessary for calculating the evolution of the rigid body system, it just facilitates the implementation of sub-models which are in some way time-dependent.
This commit is contained in:
committed by
Andrew Heather
parent
f180ab7249
commit
fe595af8c6
@ -253,6 +253,7 @@ void Foam::rigidBodyMeshMotion::solve()
|
||||
{
|
||||
model_.solve
|
||||
(
|
||||
t.value(),
|
||||
t.deltaTValue(),
|
||||
scalarField(model_.nDoF(), Zero),
|
||||
Field<spatialVector>(model_.nBodies(), Zero)
|
||||
@ -282,6 +283,7 @@ void Foam::rigidBodyMeshMotion::solve()
|
||||
|
||||
model_.solve
|
||||
(
|
||||
t.value(),
|
||||
t.deltaTValue(),
|
||||
scalarField(model_.nDoF(), Zero),
|
||||
fx
|
||||
|
||||
@ -201,6 +201,7 @@ void Foam::rigidBodyMeshMotionSolver::solve()
|
||||
{
|
||||
model_.solve
|
||||
(
|
||||
t.value(),
|
||||
t.deltaTValue(),
|
||||
scalarField(model_.nDoF(), Zero),
|
||||
Field<spatialVector>(model_.nBodies(), Zero)
|
||||
@ -230,6 +231,7 @@ void Foam::rigidBodyMeshMotionSolver::solve()
|
||||
|
||||
model_.solve
|
||||
(
|
||||
t.value(),
|
||||
t.deltaTValue(),
|
||||
scalarField(model_.nDoF(), Zero),
|
||||
fx
|
||||
|
||||
Reference in New Issue
Block a user