|
[Sponsors] |
November 22, 2018, 05:01 |
Fatal error with rho in rigidBodyMotion!
|
#1 |
New Member
Join Date: Nov 2018
Location: Japan
Posts: 17
Rep Power: 8 |
Hello!
I'm trying to simulate a case using rigidBodyMotion but following error shows up before the case runnning even though rho is set in dynamicMeshDict. I'm wondering if someone has experienced this error before. ------------------------------------------------------------------------------- [24] --> FOAM FATAL ERROR: [24] Could not find rho:rho [24] [24] From function void Foam::functionObjects::forces::initialise() [24] in file forces/forces.C at line [25] -------------------------------------------------------------------------------- I also tried use forces function object like DTCHull tutorial but that doesn't work either. Here is my dynamicMeshDict. Code:
dynamicFvMesh dynamicMotionSolverFvMesh; motionSolverLibs ("librigidBodyMeshMotion.so"); solver rigidBodyMotion; rigidBodyMotionCoeffs { report on; solver { type CrankNicolson; } accelerationRelaxation 0.9; bodies { movingwall { type rigidBody; parent root; mass 0.05; centreOfMass (0 0 0); inertia (5e-10 0 0 2e-9 0 2e-9); rho rhoInf; rhoInf 1200; transform (1 0 0 0 1 0 0 0 1)(0 0 0); joint { type composite; joints ( { type Py; } { type Ry; } ); } patches (movingwall); innerDistance 0.5; outerDistance 1; } } } I would appreciate if someone gives me advise. Thank you! |
|
November 3, 2023, 10:39 |
|
#2 |
New Member
chris
Join Date: Feb 2011
Posts: 6
Rep Power: 15 |
For anyone stumbling on this, the rho declarations are in the wrong spot, and belong one level up for example below the "report on;"
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
rSF: p divergence in combustor (wt negative value) | zonda | OpenFOAM Pre-Processing | 4 | April 10, 2018 07:59 |
SLTS+rhoPisoFoam: what is rDeltaT??? | nileshjrane | OpenFOAM Running, Solving & CFD | 4 | February 25, 2013 05:13 |
what does this verbose error mean? | immortality | OpenFOAM Running, Solving & CFD | 1 | February 6, 2013 17:47 |
pisoFoam with k-epsilon turb blows up - Some questions | Heroic | OpenFOAM Running, Solving & CFD | 26 | December 17, 2012 04:34 |
error while compiling the USER Sub routine | CFD user | CFX | 3 | November 25, 2002 16:16 |