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

Cylinder motion along a circular path

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 25, 2014, 05:05
Default Cylinder motion along a circular path
  #1
Member
 
Giovanni Caramia
Join Date: Mar 2009
Location: Bari, ITALY
Posts: 32
Rep Power: 8
karamiag is on a distinguished road
Hi guys,
I would like to simulate the flow around a cylinder moving along a prescribed circular path.
Can someone give me some hints?
I have already tried using pimpleDyMFoam with this dynamicMeshDict file in const directory

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

dynamicFvMesh      dynamicMotionSolverFvMesh;

motionSolverLibs ("libfvMotionSolvers.so");

solver            displacementLaplacian;

displacementLaplacianCoeffs
{
    diffusivity       inverseDistance (cylinder);
}
// ************************************************************************* //

and this pointDisplacement file in 0 directory

Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | foam-extend: Open Source CFD                    |
|  \\    /   O peration     | Version:  3.0                                   |
|   \\  /    A nd           | Web:         http://www.extend-project.de       |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/

FoamFile
{
version   2.0;
format    ascii;
class     pointVectorField;
object    pointDisplacement;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 1 0 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
        inlet
{
        type fixedValue;
        value uniform (0 0 0);
}
        outlet
{
        type fixedValue;
        value uniform (0 0 0);
}
        top
{
        type empty;//fixedValue;
        //value uniform (0 0 0);
}
        bottom
{
        type empty;//fixedValue;
        //value uniform (0 0 0);
}
        walls
{
        type fixedValue; //slip; //zeroGradient;
        value (0 0 0);
}

        cylinder
{
        type oscillatingDisplacement;
        amplitude  (-0.4 0.4 0); //(0 0.5 0);
        omega 1;
        value uniform (0 0 0);
}
}
// ************************************************************************* //

as suggested by Maimouna for an oscillating cylinder along a linear trajectory. But I was not able make the cylinder move along a circular path.
Thank you
karamiag 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
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
Flow around circular cylinder Karen FLUENT 5 December 12, 2012 11:34
Flow past 2 smooth circular cylinder slip FLUENT 0 July 8, 2010 18:45
Grid generation cross flow over circular cylinder Yanma OpenFOAM Native Meshers: blockMesh 0 July 7, 2010 08:02
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 14:43


All times are GMT -4. The time now is 18:27.