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

Creating Solid Sphere in middle of Pipe

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 15, 2015, 07:26
Default Creating Solid Sphere in middle of Pipe
  #1
New Member
 
PRASHANT KULKARNI
Join Date: Mar 2014
Posts: 3
Rep Power: 12
PRASHANTCFD is on a distinguished road
Hello FOAMers,
I am trying to make simulation of solid sphere in middle of pipe.The pipe size is 50mm diameter and 220mm length.

Need to put sphere in middle of pipe with diameter as 5mm.

Pipe geometry given for your reference.

Also please suggest Solver also.

Thanks,
Prashant
Attached Images
File Type: jpg pipe.jpg (15.9 KB, 62 views)
PRASHANTCFD is offline   Reply With Quote

Old   May 19, 2015, 04:13
Default
  #2
New Member
 
Al_th
Join Date: Apr 2015
Posts: 19
Rep Power: 11
al_th is on a distinguished road
Hi Prashantcfd,

From my (small) knowledge of openfoam and CFD, you did not give enough information for people to help you.

What are you trying to achieve ? Do you want to look at the flow around a fixed sphere inside your pipe ? Do you want the fluid to act on the sphere to "push" it ? Do you want to move the sphere in the pipe and look at the impact on the fluid ?

In any case, here are some pointers for you :

- If you need to have a fixed sphere inside your pipe, this is quite easy.
  • Add your sphere in your pipe with your geometry/meshing tool
  • Get your sphere boundaries in a patch
  • Add the relevant boundary conditions to your 0/fields for the relevant patch
  • Use a solver adapted to your needs (laminar/turbulent, steady state or transient, there is plenty of documentation on the openfoam wiki)


- If you need to move the sphere and look at how it acts on the fluid, then you will need (Please correct me if I am wrong) dynamic mesh.
  • Add your sphere in your pipe using your geometry/meshing tool
  • Get your sphere boundaries
  • Add the relevant boundary conditions to your 0/fields for the relevant patch
  • Add a DynamicMeshDict file with the motion that you want to set up. Take care, depending on the motion, you might have mesh topology changes - wich means that some cells should be removed. You might have to give us more information in order to help you set up your dynamic mesh
  • Use a dynamic mesh solver. For example, in my current case, I use pimpleDyMFoam, which is the pimpleFoam solver that implement a solver for the dynamic mesh motion.
al_th is offline   Reply With Quote

Old   May 19, 2015, 13:03
Default
  #3
Member
 
Howar
Join Date: Mar 2015
Posts: 53
Rep Power: 11
Howard is on a distinguished road
Quote:
Originally Posted by PRASHANTCFD View Post
Hello FOAMers,
I am trying to make simulation of solid sphere in middle of pipe.The pipe size is 50mm diameter and 220mm length.

Need to put sphere in middle of pipe with diameter as 5mm.

Pipe geometry given for your reference.

Also please suggest Solver also.

Thanks,
Prashant
Hi friend. Could you give some help about the mesh since I also need to mesh a pipe but always failed with snappymesh
Howard is offline   Reply With Quote

Old   May 19, 2015, 13:32
Default
  #4
Senior Member
 
Saideep
Join Date: Apr 2015
Location: INDIA
Posts: 203
Rep Power: 12
Saideep is on a distinguished road
Hi there,

Well I can only answer a part of your question. I don't know which tool you use to remove the area of sphere for analysis. Basically I use Blender and it varies between people.
Now, you use snappyHexMesh and remove the spherical object present within the pipe to make analysis over the sphere. {if you are a beginner just use the motorbike example and change your locationInMesh point(NOTE: point mentioned is retained for analysis) within the snappyHexMesh file}.

To answer your second question is difficult as, if you are using two phases(interFOAM) -> I use interFOAM so I can recommend when to use it. But if you are just interested in injecting fluid and doing analysis maybe icoFOAM can do so. {guessing here correct me if I am wrong!!}
Saideep is offline   Reply With Quote

Reply

Tags
openfoam, setfieldsdict


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
Solid sphere combustion anandms FLUENT 0 January 18, 2014 01:39
Removal of solid in a pipe TanjungA FLUENT 0 June 27, 2013 06:18
creating a solid body in Design Modeller Dan CFX 0 May 24, 2004 12:59
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 10:11
fluid flow fundas ram Main CFD Forum 5 June 17, 2000 22:31


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