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

non-functional cylindricalInletVelocity

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 10, 2018, 06:23
Default non-functional cylindricalInletVelocity
  #1
Senior Member
 
Zander Meiring
Join Date: Jul 2018
Posts: 125
Rep Power: 7
yambanshee is on a distinguished road
Good day,
I am at a loss to the magnitude of different issues I am getting with openFoam this week. In this case; I am trying to specify a rotating inlet to a 1/8th section of an axial flow fan. I am working in the rotating frame of reference, so would like my inlet velocity to be rotating about the axial direction (y direction in my case). The goal for now is to troubleshoot why my solution is diverging by analyzing a potentialFoam case, so only my U file is of importance. It is set up as such:


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

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

internalField   uniform (0 -10.96 0);

boundaryField
{
    inlet
    {
        type            cylindricalInletVelocity;
        origin          (0 0 0);
        axis            (0 1 0);
        radialVelocity  constant 0;
        axialVelocity   constant -10.96;
        rpm             constant 750;
        value           (0 0 0);
    }

    outlet
    {
        type            zeroGradient;
    }

    blade
    {
        type            fixedValue;
        value             uniform (0 0 0);
    }

    left
    {
        type            cyclicAMI;
    }

    right
    {
        type            cyclicAMI;
    }

    shroud
    {
        type            symmetry;
    }

    hub
    {
        type            symmetry;
    }
}

// ************************************************************************* //
As can be seen, the inlet velocity is a cylindricalInletVelocity. I have found that with my build, the keyword 'origin' seems to replace 'centre'. Upon looking at the boundary in paraview, it is revealed that the entire boundary has a 0 velocity (magnitude and components). Upon experimentation, it appears that the patch simply takes on what ever value is given for the 'value' field, and leaving this field out cases an error.


I'm at a loss for what to do here, so any help would be appreciated.


Regards
yambanshee is offline   Reply With Quote

Reply


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
coordination Transform -functional object Chris123 OpenFOAM Post-Processing 3 July 8, 2022 05:07
Meaning of flow functional in Vreman SGS model sjwon1991 Main CFD Forum 1 May 8, 2016 05:22
Functional relation between velocity at cell center and flux fumiya OpenFOAM 0 November 29, 2012 10:59
OF15 paraFoam Update GUI not functional aunola OpenFOAM Installation 1 July 28, 2008 00:32
Density functional theory in hydrodynamics DFT Main CFD Forum 0 July 6, 2004 08:18


All times are GMT -4. The time now is 21:13.