|
[Sponsors] |
May 24, 2016, 09:31 |
FloatingObject parameter question
|
#1 |
New Member
Evan
Join Date: May 2016
Posts: 23
Rep Power: 10 |
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 ("libsixDoFRigidBodyMotion.so"); solver sixDoFRigidBodyMotion; sixDoFRigidBodyMotionCoeffs { 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 { codeInclude #{ #include "diagTensor.H" #}; code #{ scalar sqrLx = sqr($Lx); scalar sqrLy = sqr($Ly); scalar sqrLz = sqr($Lz); os << $mass *diagTensor(sqrLy + sqrLz, sqrLx + sqrLz, sqrLx + sqrLy)/12.0; #}; }; report on; accelerationRelaxation 0.7; |
|
Tags |
dynamicmeshdict, floatingobject |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[PyFoam] running pyFoam(Plot)Runner.py in parallel | Studi | OpenFOAM Community Contributions | 10 | September 6, 2015 16:38 |
calculating output parameter in cfd post | markus67 | CFX | 3 | August 26, 2015 09:28 |
Parameter Output Problem | Sabayonetta | FLUENT | 0 | May 11, 2015 02:53 |
meshing of a compound volume in GMSH | shawn3531 | OpenFOAM | 4 | March 12, 2015 10:45 |
How to set as input parameter in Fluent a variable existing outside it? | didimad | FLUENT | 1 | March 3, 2015 11:10 |