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

rotatingWallFunction not working properly

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 4, 2018, 08:41
Question rotatingWallFunction not working properly
  #1
New Member
 
Osman Mirza Demircan
Join Date: May 2017
Location: Ankara, Türkiye
Posts: 29
Rep Power: 8
omdemircan is on a distinguished road
Hi Foamers,

I am trying simulate a rotating cylinder at transonic speeds in 2D using rhoPimpleFoam of the OpenFOAM 5.0 code package. However, the simulation output is almost the same as a static cylinder. Below is my U file with the BC that I have used.
I have also attached a contour showing the instantaneous Ma number. Top one is static and the bottom one is with the rotating cylinder.
Am I missing something here?

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

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

internalField   uniform (289.25 0 0);

boundaryField
{
    inlet
    {
		type	fixedValue;
		value	uniform (289.25 0 0); 
    }
    outlet
    {
        type	zeroGradient;
    }
    fixedWall
    {
        type	noSlip;
    }
    movingWall
    {
        type	rotatingWallVelocity;
		origin	(-0.009525 0.009017 0);
		axis	(0 0 1);
		omega	104.72; // rad/s
    }
    slip
    {
        type	symmetry;
    }
    empty
    {
        type	empty;
    }
}

// ************************************************************************* //
Attached Images
File Type: jpg Ma.jpg (50.7 KB, 15 views)
__________________
Osman Mirza Demircan
omdemircan is offline   Reply With Quote

Reply

Tags
rhopimplefoam, rotating body, rotating cylinder

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
potentialFoam not working properly GAlava OpenFOAM Running, Solving & CFD 7 March 9, 2021 11:34
Is there any institutions still working on solving N-S equations? sharonyue Main CFD Forum 2 November 11, 2015 08:23
what "If" condition means in rebound brbbhatti OpenFOAM Programming & Development 0 August 12, 2014 09:18
Flapping wing rotation in Fluent 3D not working properly davesmith_01 FLUENT 1 February 13, 2011 21:35
Sample utility not working properly titio OpenFOAM 2 June 9, 2010 10:45


All times are GMT -4. The time now is 16:06.