|
[Sponsors] |
July 7, 2019, 14:24 |
dynamicMeshDict for two rotating bodies
|
#1 |
New Member
Join Date: Feb 2019
Posts: 15
Rep Power: 7 |
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. |
|
July 7, 2019, 15:28 |
|
#2 |
Member
CFD USER
Join Date: May 2019
Posts: 40
Rep Power: 7 |
You can use multiSolidBodyMotionFvMesh.
Here is an example: Multiple AMI rotations not working |
|
July 7, 2019, 17:08 |
|
#3 |
New Member
Join Date: Feb 2019
Posts: 15
Rep Power: 7 |
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. [1] Unknown dynamicFvMesh type multiSolidBodyMotionFvMesh Valid dynamicFvMesh types are : 6 ( dynamicInkJetFvMesh dynamicMotionSolverFvMesh dynamicMotionSolverListFvMesh dynamicMultiMotionSolverFvMesh dynamicRefineFvMesh staticFvMesh ) |
|
July 7, 2019, 17:18 |
|
#4 |
Member
CFD USER
Join Date: May 2019
Posts: 40
Rep Power: 7 |
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.
|
|
July 7, 2019, 17:28 |
|
#5 |
New Member
Join Date: Feb 2019
Posts: 15
Rep Power: 7 |
dynamicMultiMotionSolverFvMesh now seems to work. Yupiee!
Thanks a lot for this quick help!! K. |
|
Tags |
dynamicmeshdict, rotational motion, two bodies |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ANSYS Meshing] ANSYS 2D Geometry/Meshing Plugin Error: Attach Failed, No Valid Bodies Found | cdase | ANSYS Meshing & Geometry | 0 | August 26, 2018 15:31 |
Car external aerodynamic with wheel spinning issue | hokhay | FloEFD, FloWorks & FloTHERM | 2 | August 18, 2016 05:23 |
Rotating Impeller | Naith | FloEFD, FloWorks & FloTHERM | 22 | November 5, 2012 09:53 |
On rotating bodies using dynamicFvMesh | ebah6 | OpenFOAM Pre-Processing | 2 | January 30, 2012 17:08 |
Y+ on rotating bodies | Luiz Eduardo Bittencourt Sampaio | Main CFD Forum | 4 | July 13, 2001 11:55 |