|
[Sponsors] |
January 18, 2021, 17:57 |
DynamicMeshDict and multiple AMI Zones
|
#1 |
New Member
CT
Join Date: Jan 2021
Posts: 4
Rep Power: 5 |
Does anyone know how to implement multiple moving AMI's using dynamicmeshdic? I found an old thread that had some suggestions, however I think it is outdated.
here is what I have; Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2006 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "constant"; object dynamicMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dynamicFvMesh dynamicMotionSolverFvMesh; motionSolverLibs (fvMotionSolvers); dynamicMultiMotionSolverFvMeshCoeffs { AMI_1 { motionSolver solidBody; cellZone rotatingZone_1; solidBodyCoeffs { solidBodyMotionFunction rotatingMotion; rotatingMotionCoeffs { origin (22.84 0.94998 7.5); axis (0 1 0); omega 10; } } } AMI_2 { motionSolver solidBody; cellZone rotatingZone_2; solidBodyCoeffs { solidBodyMotionFunction rotatingMotion; rotatingMotionCoeffs { origin (7.84 .94998 7.5); axis (0 1 0); omega 10; } } } } // ************************************************************************* // Last edited by Tobi; January 19, 2021 at 08:15. Reason: Adding code tags |
|
January 19, 2021, 08:14 |
|
#2 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Dear CT,
welcome to the forum. First of all, please use code tags if you are placing the content of FOAM´s dictionary (mainly for readability). To your question. Seems fine out of the box. However, there should be some tutorials within the ESI version.
__________________
Keep foaming, Tobias Holzmann |
|
|
|