CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Motorboat sinkage/trim and resistance

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By AdrianM

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 1, 2019, 14:56
Default Motorboat sinkage/trim and resistance
  #1
New Member
 
Join Date: Jan 2019
Posts: 1
Rep Power: 0
AdrianM is on a distinguished road
Hi everyone ,
i am new to OpenFoam.
I am trying to calculate the trim angle/sinkage and resistance of a motor boat as a first step. My final calculation should include a propulsion of the motor boat interacting on the trim angle and sinkage.

As a Beginner I first took a look at the DTCHullMoving tutorial (OpenFoam 6), to check and get some experience on how this is working.
After that I included my Mesh from Ansys containing my hull and boundaries. Unfortunately I am getting errors (I am guessing because of the sixDoFRigidBodyMotion) but I can't figure out how to solve it.

I would be very thankful if somebody could help me out here

Here is the log.interFoam file:
*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
Build : 6-6257b17a4cf8
Exec : interFoam -parallel
Date : Feb 01 2019
Time : 19:25:57
Host : "adrian"
PID : 14894
I/O : uncollated
Case : /home/adrian/OpenFOAM/adrian-6/run/TFB
nProcs : 8
Slaves :
7
(
"adrian.14895"
"adrian.14896"
"adrian.14897"
"adrian.14898"
"adrian.14899"
"adrian.14900"
"adrian.14901"
)

Pstream initialized with:
floatTransfer : 0
nProcsSimpleSum : 0
commsType : nonBlocking
polling iterations : 0
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Selecting dynamicFvMesh dynamicMotionSolverFvMesh
Selecting motion solver: rigidBodyMotion
Selecting rigidBodySolver Newmark

PIMPLE: No convergence criteria found


PIMPLE: No corrector convergence criteria found
Calclations will do 3 corrections

Reading field p_rgh

Reading field U

Reading/calculating face flux field phi

Reading transportProperties

Selecting incompressible transport model Newtonian
Selecting incompressible transport model Newtonian
Selecting turbulence model type RAS
Selecting RAS turbulence model kOmegaSST
Selecting patchDistMethod meshWave
RAS
{
RASModel kOmegaSST;
turbulence on;
printCoeffs on;
alphaK1 0.85;
alphaK2 1;
alphaOmega1 0.5;
alphaOmega2 0.856;
gamma1 0.555556;
gamma2 0.44;
beta1 0.075;
beta2 0.0828;
betaStar 0.09;
a1 0.31;
b1 1;
c1 10;
F3 false;
}


Reading g

Reading hRef
Calculating field g.h

No MRF models present

No finite volume options present
GAMG: Solving for pcorr, Initial residual = 1, Final residual = 0.000434825, No Iterations 10
time step continuity errors : sum local = 8.47695e-10, global = 1.0359e-10, cumulative = 1.0359e-10
Constructing face velocity Uf

Courant Number mean: 0.0105543 max: 5.1944
forces forces:
Not including porosity effects

Starting time loop

Courant Number mean: 0.0105543 max: 5.1944
Interface Courant Number mean: 0 max: 0
deltaT = 0.0011999
Time = 0.0011999

PIMPLE: Iteration 1
forces forces:
Not including porosity effects
[0] #0 Foam::error:rintStack(Foam::Ostream&) at ??:?
[0] #1 Foam::sigFpe::sigHandler(int) at ??:?
[0] #2 ? in "/lib/x86_64-linux-gnu/libc.so.6"
[0] #3 Foam::RBD::rigidBodyModel::forwardDynamics(Foam::R BD::rigidBodyModelState&, Foam::Field<double> const&, Foam::Field<Foam::SpatialVector<double> > const&) const at ??:?
[0] #4 Foam::RBD::rigidBodyMotion::forwardDynamics(Foam:: RBD::rigidBodyModelState&, Foam::Field<double> const&, Foam::Field<Foam::SpatialVector<double> > const&) const at ??:?
[0] #5 Foam::RBD::rigidBodySolvers::Newmark::solve(Foam:: Field<double> const&, Foam::Field<Foam::SpatialVector<double> > const&) at ??:?
[0] #6 Foam::RBD::rigidBodyMotion::solve(double, double, Foam::Field<double> const&, Foam::Field<Foam::SpatialVector<double> > const&) at ??:?
[0] #7 Foam::rigidBodyMeshMotion::solve() at ??:?
[0] #8 Foam::motionSolver::newPoints() at ??:?
[0] #9 Foam::dynamicMotionSolverFvMesh::update() at ??:?
[0] #10 ? in "/opt/openfoam6/platforms/linux64GccDPInt32Opt/bin/interFoam"
[0] #11 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
[0] #12 ?[adrian:14894] *** Process received signal ***
in "/opt/openfoam6/platforms/linux64GccDPInt32Opt/bin/interFoam"
[adrian:14894] Signal: Floating point exception (8)
[adrian:14894] Signal code: (-6)
[adrian:14894] Failing at address: 0x3e800003a2e
[adrian:14894] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x3ef20)[0x7f92aa288f20]
[adrian:14894] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7)[0x7f92aa288e97]
[adrian:14894] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x3ef20)[0x7f92aa288f20]
[adrian:14894] [ 3] /opt/openfoam6/platforms/linux64GccDPInt32Opt/lib/librigidBodyDynamics.so(_ZNK4Foam3RBD14rigidBodyMo del15forwardDynamicsERNS0_19rigidBodyModelStateERK NS_5FieldIdEERKNS4_INS_13SpatialVectorIdEEEE+0x169 8)[0x7f92857f09b8]
[adrian:14894] [ 4] /opt/openfoam6/platforms/linux64GccDPInt32Opt/lib/librigidBodyDynamics.so(_ZNK4Foam3RBD15rigidBodyMo tion15forwardDynamicsERNS0_19rigidBodyModelStateER KNS_5FieldIdEERKNS4_INS_13SpatialVectorIdEEEE+0x5e )[0x7f9285800b0e]
[adrian:14894] [ 5] /opt/openfoam6/platforms/linux64GccDPInt32Opt/lib/librigidBodyDynamics.so(_ZN4Foam3RBD16rigidBodySol vers7Newmark5solveERKNS_5FieldIdEERKNS3_INS_13Spat ialVectorIdEEEE+0x91)[0x7f9285807961]
[adrian:14894] [ 6] /opt/openfoam6/platforms/linux64GccDPInt32Opt/lib/librigidBodyDynamics.so(_ZN4Foam3RBD15rigidBodyMot ion5solveEddRKNS_5FieldIdEERKNS2_INS_13SpatialVect orIdEEEE+0xf0)[0x7f92857fe5b0]
[adrian:14894] [ 7] /opt/openfoam6/platforms/linux64GccDPInt32Opt/lib/librigidBodyMeshMotion.so(_ZN4Foam19rigidBodyMeshM otion5solveEv+0x971)[0x7f9285a3b301]
[adrian:14894] [ 8] /opt/openfoam6/platforms/linux64GccDPInt32Opt/lib/libdynamicMesh.so(_ZN4Foam12motionSolver9newPoints Ev+0x28)[0x7f92a903fae8]
[adrian:14894] [ 9] /opt/openfoam6/platforms/linux64GccDPInt32Opt/lib/libdynamicFvMesh.so(_ZN4Foam25dynamicMotionSolverF vMesh6updateEv+0x3e)[0x7f92aced5e7e]
[adrian:14894] [10] interFoam(+0x49134)[0x555a2d6da134]
[adrian:14894] [11] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7f92aa26bb97]
[adrian:14894] [12] interFoam(+0x53a9a)[0x555a2d6e4a9a]
[adrian:14894] *** End of error message ***
--------------------------------------------------------------------------
mpirun noticed that process rank 0 with PID 0 on node adrian exited on signal 8 (Floating point exception).
--------------------------------------------------------------------------
cyberpr123 likes this.
AdrianM is offline   Reply With Quote

Old   December 2, 2019, 08:22
Default
  #2
New Member
 
Join Date: Oct 2019
Posts: 8
Rep Power: 2
cyberpr123 is on a distinguished road
AdrianM,

I m facing the same issue, Did you get any solution to this? Pls help.

Thanks in advance.
cyberpr123 is offline   Reply With Quote

Reply

Tags
dtchull tutorial, sixdofrigidbodymotion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Inertial resistance term in Fluent star FLUENT 1 April 3, 2019 05:56
Inertial Resistance and Viscous Resistance Data ravitejakatragadda FLUENT 5 May 10, 2018 05:16
Viscous resistance and Pressure resistance PeiSan NUMECA 2 September 22, 2014 04:35
Ship resistance tobino FLUENT 0 June 27, 2011 21:31
adapt viscous resistance based on velocity / UDF Häwimeddel FLUENT 2 April 20, 2009 11:08


All times are GMT -4. The time now is 07:55.