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

multiSolidBodyMotionFvMesh

Register Blogs Community New Posts Updated Threads Search

Like Tree8Likes
  • 8 Post By jason

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 10, 2012, 09:03
Lightbulb multiSolidBodyMotionFvMesh
  #1
Senior Member
 
Attesz's Avatar
 
Attesz
Join Date: Mar 2009
Location: Munich
Posts: 368
Rep Power: 17
Attesz is an unknown quantity at this point
Hi Foamers,

could you post the structure of the dynamicMeshDict for setting up a case with multiple differently rotating zones using multiSolidBodyMotionFvMesh. There isn't any information or tutorial about it.

Attila
__________________
I am doing CFD Consulting Services.
Ich biete CFD Strömungssimulationen an.
Attesz is offline   Reply With Quote

Old   April 24, 2013, 09:52
Default
  #2
Member
 
Jason Dale
Join Date: Mar 2009
Location: UK
Posts: 80
Rep Power: 17
jason is on a distinguished road
Hello,
I have an application that has two separate rotating zones and have found that solidBodyMotionFvMesh can only handle one rotating zone at a time. I would like to use multiSolidBodyMotionFvMesh as that seems to be able to read in multiple zones .... however, I'm not sure how to then specify the coefficients correctly. I tried many variations and this one seems to be most obvious ...

dynamicFvMesh multiSolidBodyMotionFvMesh;

motionSolverLibs ( "libfvMotionSolvers.so" );

multiSolidBodyMotionFvMeshCoeffs
{
cellZone FRotor;
multiSolidBodyMotionFunction rotatingMotion;
rotatingMotionCoeffs
{
CofG (0.3 0 0);
radialVelocity (-360 0 0); // deg/s
}

cellZone RRotor;
multiSolidBodyMotionFunction rotatingMotion;
rotatingMotionCoeffs
{
CofG (0.3 0 0);
radialVelocity (360 0 0); // deg/s
}
}

however, pimpleDyMFoam complains.

Create mesh for time = 0.65

Selecting dynamicFvMesh multiSolidBodyMotionFvMesh


--> FOAM FATAL IO ERROR:
Cannot find cellZone named rotatingMotionCoeffs. Valid zones are
5
(
housing1
housing2
housing3
FRotor
RRotor
)


file: /home/vpc-laptop/OpenFOAM/vpc-laptop-2.2.0/run/model/constant/dynamicMeshDict.multiSolidBodyMotionFvMeshCoeffs from line 33 to line 38.

From function multiSolidBodyMotionFvMesh::multiSolidBodyMotionFv Mesh(const IOobject&)
in file solidBodyMotionFvMesh/multiSolidBodyMotionFvMesh.C at line 114.

FOAM exiting

Could anybody point me in the right direction?

Many Thanks

Jason
jason is offline   Reply With Quote

Old   April 24, 2013, 10:05
Default
  #3
Member
 
Jason Dale
Join Date: Mar 2009
Location: UK
Posts: 80
Rep Power: 17
jason is on a distinguished road
Hi,
Its ok i found a sample, here is how it is done

dynamicFvMesh multiSolidBodyMotionFvMesh;

motionSolverLibs ( "libfvMotionSolvers.so" );

multiSolidBodyMotionFvMeshCoeffs

{
FRotor {
solidBodyMotionFunction rotatingMotion;
rotatingMotionCoeffs
{
CofG (0.3 0 0);
radialVelocity (-360 0 0); // deg/s
}
}

RRotor {
solidBodyMotionFunction rotatingMotion;
rotatingMotionCoeffs
{
CofG (0.3 0 0);
radialVelocity (360 0 0); // deg/s
}
}
}

Jason
fumiya, sharonyue, sgnikos and 5 others like this.
jason 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 08:24.