Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 379
    • Issues 379
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #2059

Closed
Open
Created Apr 10, 2021 by Hua Zen@lin

sixDoFRigidBodyState functions does not work for overInterDyMFoam solver

Summary

sixDoFRigidBodyState functions does not work for overInterDyMFoam solver

Steps to reproduce

  1. the tutorial: tutorials/multiphase/overInterDyMFoam/floatingBody
  2. in controlDict add the following in the functions:

sixDoFRigidBodyState { type sixDoFRigidBodyState; libs (sixDoFRigidBodyState); angleFormat degrees; }

  1. 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

Possible fixes

Assignee
Assign to
Time tracking