sixDoFRigidBodyState functions does not work for overInterDyMFoam solver
Summary
sixDoFRigidBodyState functions does not work for overInterDyMFoam solver
Steps to reproduce
- the tutorial: tutorials/multiphase/overInterDyMFoam/floatingBody
- in controlDict add the following in the functions:
sixDoFRigidBodyState { type sixDoFRigidBodyState; libs (sixDoFRigidBodyState); angleFormat degrees; }
- run the case with Allrun script.
Example case
As above
What is the current bug behaviour?
The solver fail to run.
What is the expected correct behavior?
Relevant logs and/or images
--> FOAM FATAL ERROR: (openfoam-2012) Attempt to cast type dynamicOversetFvMesh to type dynamicMotionSolverFvMesh
From To& Foam::refCast(From&) [with To = const Foam::dynamicMotionSolverFvMesh; From = const Foam::objectRegistry]
in file /home/user/openfoam/BuildEnv/debian-build/bionic-2012.latest/scratch/src/OpenFOAM/lnInclude/typeInfo.H at line 139.
FOAM aborting
#0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 (closed) Foam::error::exitOrAbort(int, bool) at ??:? #2 (closed) Foam::functionObjects::sixDoFRigidBodyState::write() at ??:? #3 (closed) Foam::functionObjectList::execute() at ??:? #4 (closed) Foam::Time::run() const at ??:? #5 (closed) ? in /usr/lib/openfoam/openfoam2012/platforms/linux64GccDPInt32Opt/bin/overInterDyMFoam #6 (closed) __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6 #7 (closed) ? in /usr/lib/openfoam/openfoam2012/platforms/linux64GccDPInt32Opt/bin/overInterDyMFoam Aborted (core dumped)
Environment information
- OpenFOAM version :v2012
- Operating system :Ubuntu 18.04
- Hardware info :
- Compiler :System