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

dynamicMeshDict for two rotating bodies

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 7, 2019, 14:24
Talking dynamicMeshDict for two rotating bodies
  #1
New Member
 
Join Date: Feb 2019
Posts: 15
Rep Power: 4
Kondorfa is on a distinguished road
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.
Kondorfa is offline   Reply With Quote

Old   July 7, 2019, 15:28
Default
  #2
Member
 
CFD USER
Join Date: May 2019
Posts: 40
Rep Power: 3
CFD_10 is on a distinguished road
You can use multiSolidBodyMotionFvMesh.
Here is an example: Multiple AMI rotations not working
CFD_10 is offline   Reply With Quote

Old   July 7, 2019, 17:08
Default
  #3
New Member
 
Join Date: Feb 2019
Posts: 15
Rep Power: 4
Kondorfa is on a distinguished road
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
)
Kondorfa is offline   Reply With Quote

Old   July 7, 2019, 17:18
Default
  #4
Member
 
CFD USER
Join Date: May 2019
Posts: 40
Rep Power: 3
CFD_10 is on a distinguished road
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.
CFD_10 is offline   Reply With Quote

Old   July 7, 2019, 17:28
Thumbs up
  #5
New Member
 
Join Date: Feb 2019
Posts: 15
Rep Power: 4
Kondorfa is on a distinguished road
dynamicMultiMotionSolverFvMesh now seems to work. Yupiee!

Thanks a lot for this quick help!!


K.
Kondorfa is offline   Reply With Quote

Reply

Tags
dynamicmeshdict, rotational motion, two bodies

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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


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


All times are GMT -4. The time now is 03:49.