CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Flow in a 3D Pipe problem

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By juan4815
  • 1 Post By AliE

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 14, 2017, 14:16
Default Flow in a 3D Pipe problem
  #1
New Member
 
Join Date: Dec 2017
Posts: 5
Rep Power: 9
Hyllon is on a distinguished road
Hello guys, I'm new to OpenFOAM and to the Forums, so hey !

I'm trying to run a 3D flow in a cylinder. This is a simple case I think.

I made the geometry using FreeCAD. It's just a cylinder. (Radius 10 mm / Length: 200 mm)

I've used gmsh to discretize it. I added volume and a few surfaces (Inlet, Outlet and Outter_Surface).

I've used the files from cavity folder in icoFoam directory.

I've tried a lot of things, but the problem is the same: on Paraview the flow appears to be static.

I downloaded a mesh (3D pipe) from a video on Youtube and it worked with this cavity case, then I swapped back to my own mesh and the problem was there.

ANY information for the newbie will be appreciated =)

My full case is here:
https://mega.nz/#!c6gVhaga!ithwouOsD...EhVrYXMZEY6teo

P.S: English is not my native language.
Hyllon is offline   Reply With Quote

Old   December 26, 2017, 12:08
Default
  #2
New Member
 
Join Date: Sep 2017
Location: Santiago, Chile
Posts: 6
Rep Power: 9
juan4815 is on a distinguished road
Well, I have no experience with OpenFOAM but your question is about the geometry basically, so I'll try to help you a little.
If no flow is present check these:
- Is the geometry only a volume? Maybe you added surface volumes around the cylinder volume (inlet, outlet, mantle) and the input flow 'stays' at the surface volume inlet.
- Check if by changing the condition (velocity, mass flow, volume flow, etc) you get the same result, accordingly.
- Does the software you used for meshing allow to check the mesh? As in quality, connections, etc. Maybe doing this will give a hint.
Hyllon likes this.
juan4815 is offline   Reply With Quote

Old   December 26, 2017, 15:52
Default
  #3
Senior Member
 
Join Date: Dec 2017
Posts: 153
Rep Power: 9
AliE is on a distinguished road
Hello,

I think that the problem is that you are assigning an inlet velocity of (10 0 0) but your stearmwise direction in the geometry is "z" and so you should assing (0 0 10). Then adjust the numerical schemes since you are using a tetra mesh which is non-orthogonal and those used in the cavity tutorial are not the best options in this case.

AliE
Hyllon likes this.
AliE is offline   Reply With Quote

Old   January 4, 2018, 14:31
Default
  #4
New Member
 
Join Date: Dec 2017
Posts: 5
Rep Power: 9
Hyllon is on a distinguished road
Quote:
Originally Posted by juan4815 View Post
Well, I have no experience with OpenFOAM but your question is about the geometry basically, so I'll try to help you a little.
If no flow is present check these:
- Is the geometry only a volume? Maybe you added surface volumes around the cylinder volume (inlet, outlet, mantle) and the input flow 'stays' at the surface volume inlet.
- Check if by changing the condition (velocity, mass flow, volume flow, etc) you get the same result, accordingly.
- Does the software you used for meshing allow to check the mesh? As in quality, connections, etc. Maybe doing this will give a hint.
Thank you juan for your reply.

Well not sure if I get what you meant but on Gmsh I added one single volume and then 3 surfaces (faces). I dont think I added volumes around a volume.

I checked the mesh using openfoam's command 'checkMesh' and it was ok.
Hyllon is offline   Reply With Quote

Old   January 4, 2018, 14:42
Default
  #5
New Member
 
Join Date: Dec 2017
Posts: 5
Rep Power: 9
Hyllon is on a distinguished road
Quote:
Originally Posted by AliE View Post
Hello,

I think that the problem is that you are assigning an inlet velocity of (10 0 0) but your stearmwise direction in the geometry is "z" and so you should assing (0 0 10). Then adjust the numerical schemes since you are using a tetra mesh which is non-orthogonal and those used in the cavity tutorial are not the best options in this case.

AliE
Good call dude, thank you so much. Indeed i didnt noticed the flown was in Z direction. I have no ideia why though, how could I place it on X axis?

I did some changes onto the numerical scheme. I have " nNonOrthogonalCorrectors 1" and some " cellLimited Gauss linear 1;" on fvSchemes. And other stuff like that.

I think I did some boundary changes in polyMesh as well.

Now in paraView I have values on the inlet AND outlet, but the cylinder body still remains static. I'll upload my full case again.

And thank you, again.

https://mega.nz/#!Q2QxXI5A!LnMyDc4DT...flmJLp2qA6IXYM
Hyllon is offline   Reply With Quote

Reply

Tags
3d case, cylinder flow, mesh 3d


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
Issues on the simulation of high-speed compressible flow within turbomachinery dowlee OpenFOAM Running, Solving & CFD 11 August 6, 2021 07:40
interFoam two-phase pipe flow air phase behaviour katete OpenFOAM Running, Solving & CFD 11 February 3, 2021 04:14
Multiphase flow in a pipe with a CHT wissal CFX 4 June 12, 2017 13:15
3D Swirl flow in the pipe: convergence problem Sachin U. Nimbalkar FLUENT 5 December 22, 2016 02:34
air flow in pipe with heat problem keng Main CFD Forum 1 March 5, 2010 11:40


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