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

[Other] Starting Toposet Rotor Grid at an Angle

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 20, 2017, 11:24
Default Starting Toposet Rotor Grid at an Angle
  #1
New Member
 
NJ
Join Date: Apr 2017
Posts: 1
Rep Power: 0
thandlovsky is on a distinguished road
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
    }
}


// ************************************************************************* //


thandlovsky is offline   Reply With Quote

Reply

Tags
dynamic mesh, rotatemesh, toposet


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
bash script for pseudo-parallel usage of reconstructPar kwardle OpenFOAM Post-Processing 41 August 23, 2023 02:48
Dynamic contact angle issue: fluent UDF couldn't set the correct contact angle FelixJJ FLUENT 2 October 20, 2021 02:39
big difference between clockTime and executionTime LM4112 OpenFOAM Running, Solving & CFD 21 February 15, 2019 03:05
[Netgen] Import netgen mesh to OpenFOAM hsieh OpenFOAM Meshing & Mesh Conversion 32 September 13, 2011 05:50
Normal vector, slope and aspect angle g_niro Main CFD Forum 0 February 2, 2011 17:24


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