dynamicMeshDict for two rotating bodies
Hi all,
How can one rotate two bodies in OpenFOAM v1812. I just cannot figure out what entries to put where in the dynamicMeshDict. I can find different examples for other (elder) versions of OpenfOAM, but they only create errors. For one body it is the follwing: /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v1812 | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "constant"; object dynamicMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dynamicFvMesh dynamicMotionSolverFvMesh; motionSolverLibs ( "libfvMotionSolvers.so" ); motionSolver solidBody; cellZone innerPartSmall; solidBodyMotionFunction rotatingMotion; origin (0 0 0); axis (0 1 0); omega 94.2; */ // ************************************************** *********************** // Any ideas? K. |
You can use multiSolidBodyMotionFvMesh.
Here is an example: https://www.cfd-online.com/Forums/op...t-working.html |
CFD_10, Thanks a lot for pointing to this previous thread.
I tried multiSolidBodyMotionFvMesh and got this error message below. Hence the second option mentioned in the thread using dynamicMultiMotionSolverFvMesh seems promosing.:) I try and report later.:D [1] Unknown dynamicFvMesh type multiSolidBodyMotionFvMesh:confused: Valid dynamicFvMesh types are : 6 ( dynamicInkJetFvMesh dynamicMotionSolverFvMesh dynamicMotionSolverListFvMesh dynamicMultiMotionSolverFvMesh:rolleyes: dynamicRefineFvMesh staticFvMesh ) |
Sorry, I think that multiSolidBodyMotionFvMesh is available only in OpenFOAM versions from OpenFOAM Foundation (openfoam.org) but for ESI OpenCFD version (openfoam.com), OFv1812 I think dynamicMultiMotionSolverFvMesh is the equivalent.
|
dynamicMultiMotionSolverFvMesh now seems to work. Yupiee!
Thanks a lot for this quick help!! K. |
All times are GMT -4. The time now is 12:24. |