|
[Sponsors] |
September 10, 2012, 09:03 |
multiSolidBodyMotionFvMesh
|
#1 |
Senior Member
Attesz
Join Date: Mar 2009
Location: Munich
Posts: 368
Rep Power: 17 |
Hi Foamers,
could you post the structure of the dynamicMeshDict for setting up a case with multiple differently rotating zones using multiSolidBodyMotionFvMesh. There isn't any information or tutorial about it. Attila |
|
April 24, 2013, 09:52 |
|
#2 |
Member
Jason Dale
Join Date: Mar 2009
Location: UK
Posts: 80
Rep Power: 17 |
Hello,
I have an application that has two separate rotating zones and have found that solidBodyMotionFvMesh can only handle one rotating zone at a time. I would like to use multiSolidBodyMotionFvMesh as that seems to be able to read in multiple zones .... however, I'm not sure how to then specify the coefficients correctly. I tried many variations and this one seems to be most obvious ... dynamicFvMesh multiSolidBodyMotionFvMesh; motionSolverLibs ( "libfvMotionSolvers.so" ); multiSolidBodyMotionFvMeshCoeffs { cellZone FRotor; multiSolidBodyMotionFunction rotatingMotion; rotatingMotionCoeffs { CofG (0.3 0 0); radialVelocity (-360 0 0); // deg/s } cellZone RRotor; multiSolidBodyMotionFunction rotatingMotion; rotatingMotionCoeffs { CofG (0.3 0 0); radialVelocity (360 0 0); // deg/s } } however, pimpleDyMFoam complains. Create mesh for time = 0.65 Selecting dynamicFvMesh multiSolidBodyMotionFvMesh --> FOAM FATAL IO ERROR: Cannot find cellZone named rotatingMotionCoeffs. Valid zones are 5 ( housing1 housing2 housing3 FRotor RRotor ) file: /home/vpc-laptop/OpenFOAM/vpc-laptop-2.2.0/run/model/constant/dynamicMeshDict.multiSolidBodyMotionFvMeshCoeffs from line 33 to line 38. From function multiSolidBodyMotionFvMesh::multiSolidBodyMotionFv Mesh(const IOobject&) in file solidBodyMotionFvMesh/multiSolidBodyMotionFvMesh.C at line 114. FOAM exiting Could anybody point me in the right direction? Many Thanks Jason |
|
April 24, 2013, 10:05 |
|
#3 |
Member
Jason Dale
Join Date: Mar 2009
Location: UK
Posts: 80
Rep Power: 17 |
Hi,
Its ok i found a sample, here is how it is done dynamicFvMesh multiSolidBodyMotionFvMesh; motionSolverLibs ( "libfvMotionSolvers.so" ); multiSolidBodyMotionFvMeshCoeffs { FRotor { solidBodyMotionFunction rotatingMotion; rotatingMotionCoeffs { CofG (0.3 0 0); radialVelocity (-360 0 0); // deg/s } } RRotor { solidBodyMotionFunction rotatingMotion; rotatingMotionCoeffs { CofG (0.3 0 0); radialVelocity (360 0 0); // deg/s } } } Jason |
|
|
|