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

Meshing a Sphere

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 28, 2013, 03:40
Default Meshing a Sphere
  #1
Member
 
Elina Mathew
Join Date: Mar 2013
Posts: 47
Rep Power: 13
elina is on a distinguished road
Hi Friends

I have to simulate a heat transfer problem in Fluent for that I have to use a Sphere where I have to do a structured meshing...so that number of elements are very less..Can anyone tell me how to do that...I guess since its having a contact point I have to edit the geometry...But I dont know how to do that..Can anyone tell me how to do this....
I have the picture of that....
Attached Images
File Type: jpg Screenshot (22).jpg (38.2 KB, 41 views)
elina is offline   Reply With Quote

Old   March 28, 2013, 07:54
Default
  #2
Senior Member
 
OJ
Join Date: Apr 2012
Location: United Kindom
Posts: 473
Rep Power: 20
oj.bulmer will become famous soon enough
Have you tried meshing, do you get any errors?

Here is a thought, try running a small cylinder from one sphere to another, such that the axis of cylinder passes through the point of contact. Make sure the diameter of cylinder is small enough for you to be able to mesh. This way, you have avoided bad mesh at the contact point, yet creating a contact.

Quite an ad-hoc solution though.

OJ
oj.bulmer is offline   Reply With Quote

Old   March 28, 2013, 08:41
Default
  #3
Member
 
Elina Mathew
Join Date: Mar 2013
Posts: 47
Rep Power: 13
elina is on a distinguished road
Ah I dint try meshing using ICEM CFD but I am using ansys workbench , so I hope I can use FLUENT and in that icem Interactive will be helpful...but yes I will try that also some how..Ah then I have to give that in all the other faces also right..because here you are seeing just a one quarter of the sphere since i considered symmetry..so in the other side ther is supposed to be another sphere but though I dont have to draw that still that small cylinder have to constructed right..? ..and again can you give me an idea to mesh it like small concentric spheres one inside the other..becoz there will be conduction in spheres and hoping that we have to consider just the first small layer rest inside the core we can make it a say 3 to 4 element meshing...thereby reducing the number of elements in the solid region and have to see the impact of that number of elements in the outlet temperature....
elina is offline   Reply With Quote

Old   March 28, 2013, 09:22
Default
  #4
Senior Member
 
OJ
Join Date: Apr 2012
Location: United Kindom
Posts: 473
Rep Power: 20
oj.bulmer will become famous soon enough
I think you have created two threads on same subject. Can we keep the discussion only in this thread? The two spheres are not concentric, so why do you mention about meshing them concentric?

Since only two spheres are touching, there can be only one point contact. Hence we require only one cylinder.

As I asked earlier, did you try meshing as it is, using ANSYS meshing package in workbench? If it fails there you may explore the cylinder approach, just to mitigate meshing problems.

OJ
oj.bulmer is offline   Reply With Quote

Old   March 28, 2013, 10:19
Default
  #5
Member
 
Elina Mathew
Join Date: Mar 2013
Posts: 47
Rep Power: 13
elina is on a distinguished road
Ah yes I hope so...
Yes I tried meshing but that is not what we require..My professor asked me to mesh it in such a way like very less number of elements and also structured meshing ( Hexahdral mesh probably) and the concentric meshing what i talked about is for the spheres..Like the each spheres has to be meshed like say 3 or 4 layer where conduction on the spheres talks place and also thereby we can achieve less number of elements in the sphere..What he suggested me is to have say 4 or 5 elements (ie) split the sphere into say 5 or 6 elements hope you got it now.....
The ting is I am doing for 6 layers of spheres and the thing is there will be 1000s of such balls so in simulation the number of elements to be reduced and computation time also..And hence they were telling to have very less number of elements for both spheres and fluid region and also have to check the result(Outlet Temperature) based on the number of elements...where according to my knowledge after some number of elements there wornt be any change in the temperature of outlet....If I am correct.
elina is offline   Reply With Quote

Old   March 28, 2013, 11:48
Default
  #6
Senior Member
 
OJ
Join Date: Apr 2012
Location: United Kindom
Posts: 473
Rep Power: 20
oj.bulmer will become famous soon enough
I am not sure if you can have structured meshing in the region where spheres reside. It would be tricky. But it is possible to do structured meshing easily in rest of your pipe. You can cut the pipe before the two spheres such that you have pipe without spheres - which can be hex, and pipe with spheres with tet. Have a look at meshing tutorials to know how to achieve this

If you want to divide/cut the sphere to have more elements, it should be easily possible with Design modeller in Workbench.

OJ
oj.bulmer is offline   Reply With Quote

Old   March 28, 2013, 19:39
Default
  #7
Member
 
Elina Mathew
Join Date: Mar 2013
Posts: 47
Rep Power: 13
elina is on a distinguished road
Hi Sir
I hope you saw my Geometry in that the contact point between the 2 spheres has to be edited to get a good structured meshing i hope so....and the thing is I want the symmetry case so I dont want the entire sphere instead just a 1/4th of the complete sphere ,which you can see from my geometry picture..And then I want the sphere portion to be meshed in such a way that it has only very less number of elements like ( the meshing to be done like one layer after the other ,so say consider the entire sphere has 3 layer of different thickness and each layer is considered to be one or 2 elements or cells...) hope you got it...and then fluid will be flowing from the top and have to check the outlet temperature ,and based on changing the number of elements in both I have to check the outlet temperature which tells about the grid interdependent study I hope so....So this is the basic aim..And also I want to change the diameter of the sphere so based on that I have to see the results ..but the elements and all should be the same ( so it may be called as giving the scaling factor ,so that I can get the results for different dimensions..) can you tell me that also how to do..kindly help me ..its urgent..
elina is offline   Reply With Quote

Old   March 29, 2013, 10:25
Default
  #8
Senior Member
 
OJ
Join Date: Apr 2012
Location: United Kindom
Posts: 473
Rep Power: 20
oj.bulmer will become famous soon enough
Can you attach the Workbench project file (along with the folder) zipped ?

OJ
oj.bulmer is offline   Reply With Quote

Old   March 29, 2013, 10:44
Default
  #9
Member
 
Elina Mathew
Join Date: Mar 2013
Posts: 47
Rep Power: 13
elina is on a distinguished road
Hello Sir

You just give me your Email Id i will send you indetail...but anyways here is my files...jsut have a look and email me @ elinamathew@ymail.com
Attached Files
File Type: zip my_assignment_files.zip (27.8 KB, 6 views)
elina is offline   Reply With Quote

Old   March 29, 2013, 12:01
Default
  #10
Senior Member
 
OJ
Join Date: Apr 2012
Location: United Kindom
Posts: 473
Rep Power: 20
oj.bulmer will become famous soon enough
You'll need to attach the wbpj file as well, otherwise the project can't be opened.

OJ
oj.bulmer is offline   Reply With Quote

Old   March 29, 2013, 12:40
Default
  #11
Member
 
Elina Mathew
Join Date: Mar 2013
Posts: 47
Rep Power: 13
elina is on a distinguished road
sorry here it is...
Attached Files
File Type: zip my_assignment.zip (19.9 KB, 3 views)
elina is offline   Reply With Quote

Old   March 30, 2013, 07:02
Default
  #12
Member
 
Elina Mathew
Join Date: Mar 2013
Posts: 47
Rep Power: 13
elina is on a distinguished road
What happened did you check the files..? any idea..??
elina is offline   Reply With Quote

Old   March 30, 2013, 07:50
Default
  #13
Senior Member
 
OJ
Join Date: Apr 2012
Location: United Kindom
Posts: 473
Rep Power: 20
oj.bulmer will become famous soon enough
Quote:
What happened did you check the files..? any idea..??
Patience is a virtue!

I have tried a bit. There are two cases, one with a small patch of cuboid between two spheres to create contact, one without a patch. I have decomposed the spheres with two layers, and putting few elements for each layer. You can use the one that suits your criteria. You may want to refine the mesh sizes to your liking and put inflation etc as needed.

I don't clearly understand what you'd achieve with coarse meshing on spheres. Also, the assumption of symmetry doesn't quite seem correct since the geometries aren't exactly symmetric about those symmetry planes.

The workbench project: http://www.gigasize.com/get/xzmod5tzk5b

OJ
oj.bulmer is offline   Reply With Quote

Old   March 30, 2013, 15:33
Default
  #14
Member
 
Elina Mathew
Join Date: Mar 2013
Posts: 47
Rep Power: 13
elina is on a distinguished road
Hi Sir

I am not able to download it....And yes so you are telling that I wornt get good heat transfer results if i give less elements in the spheres..?? And yes even the geometry symmetry is bit confused.. And can you send the file to my Email Id..?? Its not able to download..and another thing is can you give me a small explanation how you did..becoz I have to do like the same for 6 balls kept one above the other....And kindly tell me if there is any chance to change the diameter of the sphere so that I can see the different results without doing anything with the meshing,,....Like some scaling factor or something,,,,
elina is offline   Reply With Quote

Old   March 30, 2013, 16:12
Default
  #15
Member
 
Elina Mathew
Join Date: Mar 2013
Posts: 47
Rep Power: 13
elina is on a distinguished road
Yes I donwloaded it...the thing is I hope you created a new sphere inside the bottom sphere...and revolved it..I dont understand why you did that for...?? And our aim is to reduce the number of elements and get the good result..and hence we needed structured meshing..as hexahedra...and the spheres are to be meshed like layers of hexa nd not that it has to be created as layers...just the meshing has to be done..and geometry editing is not a problem..you can give a contact surface as you gave in it...then only we will get good mesh I heard that...and all the faces outside is a symmetry..and not just the 2 sphere sides...becoz we consider another sphere left and right of the sphres...and we have an inlet on the top and outlet on the bottom....here is the image you can see there...
Attached Images
File Type: jpg Hexagonal.jpg (27.7 KB, 10 views)
elina is offline   Reply With Quote

Old   March 30, 2013, 19:29
Default
  #16
Senior Member
 
OJ
Join Date: Apr 2012
Location: United Kindom
Posts: 473
Rep Power: 20
oj.bulmer will become famous soon enough
I see, the snap you attached makes situation much clearer. That's what I suggested earlier, a picture is worth thousand words and helps avoid misunderstandings.

I understand that your problem is about meshing while this forum is about FLUENT. I suggest you post this thread onto Meshing forum:

http://www.cfd-online.com/Forums/ansys-meshing/

Try to be brief, to-the-point in your post at meshing forum and post the last image. There are lot of meshing experts in that forum and you will surely get a lot of ideas over your problem. But I doubt if someone will do your assignment for you. These forums are there for guidance but finally it is YOUR assignment!

Judging by the new snap, the assumption of symmetry you made initially seems unreasonable. Assuming your flow is in Z direction, You can at most divide your geometry in 4 parts, two parts each in X and Y direction. You will need to keep all spheres in Z direction. You say 6 spheres, but you show layers of 5 and 4 spheres after another so there is a discrepancy in your description. Also, if you want to use a fully hex mesh, you will need a multiblock approach in ICEM CFD, and from the looks of your geometry, it is not going to be piece of cake. Before you attempt that, you should have done basic ICEM tutorials. If you have no idea about multiblock mesh, am not sure how you are going to create mesh independent CFD solution.

It is possible to scale the mesh in ICEM , have a look at documentation.

OJ
oj.bulmer is offline   Reply With Quote

Old   March 30, 2013, 19:42
Default
  #17
Member
 
Elina Mathew
Join Date: Mar 2013
Posts: 47
Rep Power: 13
elina is on a distinguished road
Hi
This image was just a sample of the arrangement ..out of these I have to take just one sphere in each y axis so that its like one sphere kept above the other...only thing is slight variation in the x coordinates...hope you got it..and then I have to take the symmetry of that complete sphere arrangement in y direction in such a way that I have only one quarter of the geometry so that it makes the meshing and simulation time more easy and less time....And regarding the mesh interdependent study is like I need to change the size of elements and see different outlet temperatures and have to plot a graph for outlet temperature vs the number of elements in the geometry then we can see after some number of elements the temperature remains the same...I hope that I can do just by giving the parameter for number of elements...and element size if i am correct..And now the problem is just that I need to reduce the elements in meshing and in such a way that I can mesh the sphere like small concentric circles...or can be said as Hexahedra mesh.....This is what I have to know to do....
elina is offline   Reply With Quote

Old   March 31, 2013, 10:35
Default
  #18
Senior Member
 
OJ
Join Date: Apr 2012
Location: United Kindom
Posts: 473
Rep Power: 20
oj.bulmer will become famous soon enough
Good to see you have posted the thread on Meshing forum. Am sure you will have some suggestions there.

OJ
oj.bulmer is offline   Reply With Quote

Old   March 31, 2013, 10:44
Default
  #19
Member
 
Elina Mathew
Join Date: Mar 2013
Posts: 47
Rep Power: 13
elina is on a distinguished road
Ah thanks sir
But still dint get any advice or helps.....
elina is offline   Reply With Quote

Old   March 31, 2013, 15:44
Default
  #20
Member
 
Elina Mathew
Join Date: Mar 2013
Posts: 47
Rep Power: 13
elina is on a distinguished road
Hallo Oj Blumer..

Your Idea seems to be interesting...see this entire spheres are not necessary ot mesh.. i will take only one sphere in each layer and will take the symmetry of that...so the spheres will be arranged vertically...initially what the geometry you did was for 2 spheres..like that I have to keep 4 more spheres on the top or bottom..its ok wherever it is... and the flow is from the top that is positive y axis and not z axis..nothing to do with z axis....and I have to calculate the outlet temperate based on the temperature I give at inlet as 363 K ,..so based on the mesh element sizes I can see different temperature at the outlet...so I can come to a conclusion that from 2 layer of sphere the mesh sizes and these mesh sizes can be used for my 6 layer of spheres...hope you got it..and since the number of spheres is more there will less temperature at outlet which is the required aim....and will give the inlet flow at different velocities..hope I made you clear...and is your mesh which you send me is a good quality one...??
elina 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
[ANSYS Meshing] Structured Volumetric Meshing in Workbench for a Sphere AS_Aero ANSYS Meshing & Geometry 0 March 19, 2013 06:28
[ICEM] meshing a sphere - large deviation from perfect sphere murx ANSYS Meshing & Geometry 25 August 15, 2012 12:37
[snappyHexMesh] Meshing a sphere with snappyHexMesh Cyberholmes OpenFOAM Meshing & Mesh Conversion 2 July 19, 2011 16:46
Meshing a sphere using ICEM lost.identity ANSYS Meshing & Geometry 1 March 13, 2011 20:19
meshing F1 front wing Steve FLUENT 0 April 17, 2003 12:37


All times are GMT -4. The time now is 04:56.