April 20, 2017, 12:24
|
Starting Toposet Rotor Grid at an Angle
|
#1
|
|
New Member
NJ
Join Date: Apr 2017
Posts: 1
Rep Power: 0
|
Hi,
So I have a grid that consists of a rotor toposet inside of a stator. I would like to know if I can specify an angle for the rotor grid to start at, (right now it starts horizontally). I have tried varying the origin and amplitude in dynamicMeshDict but haven't been able to get it to work.
Is there an easy way to set the grid to start at a specified angle rather than having to figure out how to redraw it?
Also, if anyone knows how to specify an alpha value for angular acceleration here instead of a constant angular velocity, that would also help!
ignore the old headers
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object dynamicMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dynamicFvMesh solidBodyMotionFvMesh;
motionSolverLibs ( "libfvMotionSolvers.so" );
solidBodyMotionFvMeshCoeffs
{
cellZone rotor;
solidBodyMotionFunction oscillatingRotatingMotion; //rotatingMotion;
oscillatingRotatingMotionCoeffs //rotatingMotionCoeffs
{
origin (0 0 0);
//axis (0 0 1);
amplitude (0 0 -85);
omega 0.296706; // rad/s
}
}
// ************************************************************************* //
|
|
|