CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] The Inlet boundary conditions are not correctly shown in paraView

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 23, 2018, 06:20
Default The Inlet boundary conditions are not correctly shown in paraView
  #1
Member
 
Upuli
Join Date: Feb 2016
Posts: 68
Rep Power: 10
upuli is on a distinguished road
Dear members




I have a chamber which has shape shown in attached figure. Boundaries are inlet(bottom), outlet(at top), walls(left and right sides) and back and front.The blockMesh file entries are as follows


Code:
convertToMeters 1.0;

vertices
(
(-0.15 -0.3 -0.15) 
(-0.15 0.0 -0.15)
(-0.05 0.3 -0.15)
(-0.05 0.3 0.15)
(-0.15 0.0 0.15)
(-0.15 -0.3 0.15)
(0.15 -0.3 -0.15)
(0.15 0.0 -0.15)
(0.05 0.3 -0.15)
(0.05 0.3 0.15)
(0.15 0.0 0.15)
(0.15 -0.3 0.15)


);
blocks
(
hex (0 1 4 5 6 7 10 11) (30 30 1) simpleGrading (1 1 1)
hex (1 2 3 4 7 8 9 10) (30 30 1) edgeGrading (1 1 1 )
);

patches
(
wall Walls
(
(6 11 10 7)
(7 10 9 8)
(0 1 4 5 )
(1 2 3 4 )

)
patch Inlet
(
(0 5 11 6)
)
patch Outlet
(
(2 8 9 3)
)
empty back
(
(0 6 7 1)
(1 7 8 2)
)
empty front
(
(5 4 10 11)
(3 9 10 4)

)
);

edges
(
);

mergePatchPairs
(
);
I want to set the inlet velocity(U) to 0.12 ms-1. So my U file entries in the 0 folder are as follows.


Code:
dimensions      [0 1 -1 0 0 0 0];

internalField   uniform (0 0 0);

boundaryField
{
    Walls
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
    Inlet
    {
        type            fixedValue;
        value           uniform (0 0.12 0);
    }
    Outlet
    {
      type            inletOutlet;
     inletValue      uniform (0 0 0);
   value           uniform (0 0 0);
    }
    back
    {
        type            empty;
    }
    front
    {
        type            empty;
    }
}
But when I open the case in the paraview and in the internal mesh view, I see that U at inlet is shown as 0.005399 ms-1. The simulation runs without stop. In each time step folder the U value is correclty shown as 0.12 ms-1. How can I overcome this issue?


Thank You
Screenshot from 2018-07-19 12-16-10 -2.png
upuli is offline   Reply With Quote

Old   July 23, 2018, 08:05
Default
  #2
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22
jherb is on a distinguished road
Paraview shows you the values in the cell centers by default. By default, it only loads the internal mesh. If you want to see the values on the faces, you have to select them individually in the box "Mesh Regions" to be loaded.
jherb is offline   Reply With Quote

Old   July 24, 2018, 00:01
Default
  #3
Member
 
Upuli
Join Date: Feb 2016
Posts: 68
Rep Power: 10
upuli is on a distinguished road
Hi


Thank you very much for the explanation. Is there a method to set the cell center values at the inlet cells to the desired value(0.12 ms-1).


Thank you
regards


Upuli
upuli 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
Inlet boundary conditions for turbulence changing robboflea FLUENT 6 April 7, 2022 15:37
Low torque values on Screw Turbine Shaun Waters CFX 34 July 23, 2015 09:16
Overflow Error in Multiphase Modelling with Two Continuous Fluids ashtonJ CFX 6 August 11, 2014 15:32
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 07:28
New topic on same subject - Flow around race car Tudor Miron CFX 15 April 2, 2004 07:18


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