CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

DynamicMeshDict and multiple AMI Zones

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 18, 2021, 16:57
Default DynamicMeshDict and multiple AMI Zones
  #1
New Member
 
CT
Join Date: Jan 2021
Posts: 4
Rep Power: 5
ccs1021 is on a distinguished road
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;
				}
			}
		}
}

// ************************************************************************* //
Edited by Tobi: Adding code tags

Last edited by Tobi; January 19, 2021 at 07:15. Reason: Adding code tags
ccs1021 is offline   Reply With Quote

Old   January 19, 2021, 07:14
Default
  #2
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
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
Tobi is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 09:59.