Skip to content

tutorial "rigidBodyHull" crashes after applying "prescribedRotation" restraint to the propeller

Summary

The tutorial case crashes soon after applying a prescribed rotational motion to the propeller.

Steps to reproduce

append the following after the 'force' restraint

            propellerRotation
            {
                type          prescribedRotation;
                body          propeller;
                referenceOrientation    (1 0 0 0 1 0 0 0 1);
                axis          (1 0 0);
                omega         table
                (
                    (0       (0 0 0))
                    (50.0    (10.0 0 0))
                );
                relax         0.5;
                p             0.6;
                i             0.6;
                d             0.6;
            }

Example case

What is the current bug behaviour?

Program crashes

What is the expected correct behavior?

Relevant logs and/or images

Environment information

  • OpenFOAM version :v2112|v2106
  • Operating system :centos
  • Compiler :gcc

Possible fixes

The program runs well if the hull is only allowed to do translations.