CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM

FloatingObject parameter question

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

LinkBack Thread Tools Search this Thread Display Modes
Old   May 24, 2016, 10:31
Default FloatingObject parameter question
New Member
Join Date: May 2016
Posts: 23
Rep Power: 6
k13113y is on a distinguished road
Hi, I'm trying to run a simulation of a 3x3x3 cube in a 100x100x20 environment using the framework of the floatingObject tutorial. I'm just unsure of what the 'innerDistance' and 'outerDistance' are. Here's my dynamicMeshDict file... thanks

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dynamicFvMesh dynamicMotionSolverFvMesh;

motionSolverLibs ("");

solver sixDoFRigidBodyMotion;

patches (floatingObject);
innerDistance 0.05;
outerDistance 0.35;

centreOfMass (50 50 10);

// Cuboid dimensions
Lx 3.0;
Ly 3.0;
Lz 3.0;

// Density of the solid
rho 920;

// Cuboid mass
mass #calc "$rho*$Lx*$Ly*$Lz";

// Cuboid moment of inertia about the centre of mass
momentOfInertia #codeStream
#include "diagTensor.H"

scalar sqrLx = sqr($Lx);
scalar sqrLy = sqr($Ly);
scalar sqrLz = sqr($Lz);
os <<
*diagTensor(sqrLy + sqrLz, sqrLx + sqrLz, sqrLx + sqrLy)/12.0;

report on;
accelerationRelaxation 0.7;
k13113y is offline   Reply With Quote

Old   July 20, 2016, 16:38
Default innerDistance & outerDistance
Gautami Erukulla
Join Date: Mar 2009
Posts: 71
Rep Power: 13
gautami is on a distinguished road
Dear All,

I am simulating a 2D wave tank 15m long and 2m in height (OpenFOAM version 2.3.0). At the center of the wave tank there is floating object 0.5 m long and 0.4 m height, and its half immersed in water. The waves are generated at the inlet using the groovyBC velocity boundary condition. The floating object is provided 3 degree freedom (surge,heave and pitch). The simulation seems to be very sensitive to the innerDistance and outerDistance parameter in the dynamicMeshDict. Large displacements of the floating object distorts the surrounding mesh and crashes the run.
I do not seem to understand, how to set a good value for these parameters. I was hoping if any one could guide me with a good approximation for the innerDistance and outerDistance parameters. Thank you.

Gautama Erukulla.
gautami is offline   Reply With Quote

Old   October 20, 2016, 10:46
New Member
Abigail Stehno
Join Date: Sep 2015
Posts: 8
Rep Power: 7
abigail_s is on a distinguished road
  1. Anything within the innerDistance directly moves the mesh nodes as a rigid body.
  2. Between the innerDistance and outerDistance, the mesh nodes are morphed.
  3. Outside the outerDistance, no morphing occurs.
source :
abigail_s is offline   Reply With Quote


dynamicmeshdict, floatingobject

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
[PyFoam] running pyFoam(Plot) in parallel Studi OpenFOAM Community Contributions 10 September 6, 2015 17:38
calculating output parameter in cfd post markus67 CFX 3 August 26, 2015 10:28
Parameter Output Problem Sabayonetta FLUENT 0 May 11, 2015 03:53
meshing of a compound volume in GMSH shawn3531 OpenFOAM 4 March 12, 2015 11:45
How to set as input parameter in Fluent a variable existing outside it? didimad FLUENT 1 March 3, 2015 12:10

All times are GMT -4. The time now is 04:16.