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

multiSolidBodyMotionFvMesh

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

Like Tree6Likes
  • 6 Post By jason

Reply
 
LinkBack Thread Tools Display Modes
Old   September 10, 2012, 09:03
Lightbulb multiSolidBodyMotionFvMesh
  #1
Senior Member
 
Attesz's Avatar
 
Attesz
Join Date: Mar 2009
Posts: 355
Rep Power: 8
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
__________________
CFD= Cleverly Formatted Data
Attesz is offline   Reply With Quote

Old   April 24, 2013, 09:52
Default
  #2
Member
 
Jason Dale
Join Date: Mar 2009
Location: UK
Posts: 62
Rep Power: 8
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: 62
Rep Power: 8
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 3 others like this.
jason is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 14:52.