CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   How to define cylindricalInletVelocity 0 folder for a hollow cylinder? (https://www.cfd-online.com/Forums/openfoam-pre-processing/191901-how-define-cylindricalinletvelocity-0-folder-hollow-cylinder.html)

joaquindelpino August 23, 2017 15:28

How to define cylindricalInletVelocity 0 folder for a hollow cylinder?
 
4 Attachment(s)
Hello everyone,

I need to define the velocity inlet in my project. I'm simulating a biofilter.
The geometry of the biofilter is a hollow cylinder with thousands of pores. I create an STL with all the "covers" of each pore and now I need to define the velocity in radial axis.

I try to define velocity ,but only show me in one direction or axis (images attached)

Code:

boundaryField
{
  ...
 
    inlet_lecho
    {
    type                  cylindricalInletVelocity;
    axis                  (0 1 0);
    centre              (0 0 0);
    axialVelocity      constant 0;
    radialVelocity    constant -0.134;
    rpm                    constant 0;
    value                  uniform (0 0 0);
    //type                surfaceNormalFixedValue;
    //refValue          uniform -1.817; 

    }   
 
    outlet_lecho
    {
       
    type                    cylindricalInletVelocity;
    axis                    (0 1 0);
    centre                  (0 0 0);
    axialVelocity        constant 0;
    radialVelocity        constant -0.134;
    rpm                      constant 0;
    value                    uniform (0 0 0);
    // type                  surfaceNormalFixedValue;
    // refValue            uniform -1.817; 
 
    }   

....

I really appreciate your answer, I need to make the velocity goes inward the cylinder

Regards!


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