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

movingCone case with a rotation instead of a translation

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 24, 2012, 08:31
Default movingCone case with a rotation instead of a translation
  #1
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 490
Rep Power: 9
samiam1000 is on a distinguished road
Dear All,

I am facing a movingMesh problem with OpenFOAM.

My case is very similar to the movingCone tutorial, but in my case I have a door which is opening (hence rotating) instead of translating.

I can perfrom a `door translation' using my mesh, but that's not what I need. I guess that the files that I need to modify are the che pointMotionUx and the dynamicMeshDict.

Here are the 2 files:

Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1.0                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       pointScalarField;
    object      pointMotionU;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [0 1 -1 0 0 0 0];

internalField   uniform 0;

boundaryField
{
    wall-part-solid
    {
        type            fixedValue;
        value           uniform 0;
    }
    inlet
    {
        type            fixedValue;
        value           uniform 0;
    }
    intake
    {
        type            fixedValue;
        value           uniform 0;
    }
    room_inlet
    {
        type            fixedValue;
        value           uniform 0;
    }
    room_outlet
    {
        type            fixedValue;
        value           uniform 0;
    }
    symmetry
    {
        type            symmetryPlane;
    }
    door
    {
        type            fixedValue;
        value           uniform 10;
    }
}

// ************************************************************************* //
and

Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1.0                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "constant";
    object      dynamicMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dynamicFvMesh   dynamicMotionSolverFvMesh;

motionSolverLibs ( "libfvMotionSolvers.so" );

solver          velocityComponentLaplacian x;

diffusivity     directional ( 1 200 0 );


// ************************************************************************* //
How should I edit them?

Thanks a lot,

samuele
samiam1000 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mesh motion with Translation & Rotation Doginal CFX 2 January 12, 2014 07:21
Error reading new case montag dp FLUENT 5 September 15, 2011 06:00
Wind driven rotation Alistair OpenFOAM 15 August 30, 2011 00:18
Instable natural convection case Peter88 OpenFOAM 5 August 18, 2011 01:23
Axisymmetric Case with No Physical Boundary for Rotation kamkari OpenFOAM 0 December 24, 2010 05:41


All times are GMT -4. The time now is 19:01.