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

[GAMBIT] Increase number of cells and file conversion

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 24, 2014, 03:51
Default Increase number of cells and file conversion
  #1
New Member
 
Join Date: Dec 2013
Posts: 26
Rep Power: 12
Ad.Y is on a distinguished road
I wish to ask how should I actually increase the number of cells in my mesh? I tried changing the "face and element type" feature but it doesn't work.

Another issue is my mesh is in extension of ".msh" but I cant edit it with ICEM CFD. Is there any way that I can make it editable on ICEM CFD software?

Thank you.
Ad.Y is offline   Reply With Quote

Old   March 26, 2014, 07:57
Default
  #2
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
Quote:
Originally Posted by Ad.Y View Post
I wish to ask how should I actually increase the number of cells in my mesh? I tried changing the "face and element type" feature but it doesn't work.
It depends on the kind of mesh you have (hexa,tetra?)
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   March 26, 2014, 08:04
Default
  #3
New Member
 
Join Date: Dec 2013
Posts: 26
Rep Power: 12
Ad.Y is on a distinguished road
Quote:
Originally Posted by -mAx- View Post
It depends on the kind of mesh you have (hexa,tetra?)
Elements: Hex/Wedge
Type: Cooper

I am trying to actually refine the mesh below to more numbers of cells to perform grid independence test. I used to work on Fluent and new to Gambit. And is it possible to edit this mesh using Ansys product v14.0? Thanks.
Attached Images
File Type: jpg Untitled.jpg (96.3 KB, 14 views)
Ad.Y is offline   Reply With Quote

Old   March 26, 2014, 08:10
Default
  #4
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
for refining this kind of mesh,
you can perform refining on quad mesh (not source surfaces) and / or refinement on source surfaces (pave)
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   March 26, 2014, 08:46
Default
  #5
New Member
 
Join Date: Dec 2013
Posts: 26
Rep Power: 12
Ad.Y is on a distinguished road
Quote:
Originally Posted by -mAx- View Post
for refining this kind of mesh,
you can perform refining on quad mesh (not source surfaces) and / or refinement on source surfaces (pave)
Do you mind give me a short tutorial on how I should do it? Because I tried with the operation using mesh volume but it seems it's not working. I tried to look for some tutorial on refining mesh but failed. thanks
Ad.Y is offline   Reply With Quote

Old   March 26, 2014, 08:51
Default
  #6
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
That's why I asked for the kind of mesh.
With Cooper, you won't be able to refine the mesh within Volume Mesh Panel.
You have to refine Surface Mesh.
Here are Gambit Tutorials > https://www.sharcnet.ca/Software/Gam...uide/tgtoc.htm
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   March 26, 2014, 09:11
Default
  #7
New Member
 
Join Date: Dec 2013
Posts: 26
Rep Power: 12
Ad.Y is on a distinguished road
Quote:
Originally Posted by -mAx- View Post
That's why I asked for the kind of mesh.
With Cooper, you won't be able to refine the mesh within Volume Mesh Panel.
You have to refine Surface Mesh.
Here are Gambit Tutorials > https://www.sharcnet.ca/Software/Gam...uide/tgtoc.htm
But you just now mentioned that not surface mesh in previous reply? Is it surface mesh under operation of mesh?

Anyway, can I convert this gambit mesh to editable mesh used in ansys softwares such as icem cfd or built in ansys meshing?

Thanks. I will look into it.
Ad.Y is offline   Reply With Quote

Old   March 26, 2014, 09:25
Default
  #8
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
*take a cube
mesh all the 6 faces with quad and element size 10
Now go and mesh the volume mesh by setting element size with 1 in Volume Mesh Panel
Your volume mesh will have elements with size 10 (not 1)

*take the same cube
mesh all the 6 faces with quad and element size 1
Now go and mesh the volume mesh by setting element size with 10 in Volume Mesh Panel
Your volume mesh will have elements with size 1 (not 10)
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   March 26, 2014, 09:50
Default
  #9
New Member
 
Join Date: Dec 2013
Posts: 26
Rep Power: 12
Ad.Y is on a distinguished road
Quote:
Originally Posted by -mAx- View Post
That's why I asked for the kind of mesh.
With Cooper, you won't be able to refine the mesh within Volume Mesh Panel.
You have to refine Surface Mesh.
Here are Gambit Tutorials > https://www.sharcnet.ca/Software/Gam...uide/tgtoc.htm
Quote:
Originally Posted by -mAx- View Post
*take a cube
mesh all the 6 faces with quad and element size 10
Now go and mesh the volume mesh by setting element size with 1 in Volume Mesh Panel
Your volume mesh will have elements with size 10 (not 1)

*take the same cube
mesh all the 6 faces with quad and element size 1
Now go and mesh the volume mesh by setting element size with 10 in Volume Mesh Panel
Your volume mesh will have elements with size 1 (not 10)
This one is for meshing once? I will go try it out. If I need to refine further? Then i repeat by changing the element size?
Ad.Y is offline   Reply With Quote

Old   March 27, 2014, 00:36
Default
  #10
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
Quote:
Originally Posted by Ad.Y View Post
If I need to refine further? Then i repeat by changing the element size?
yes, you have to refine surface mesh again
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   March 27, 2014, 01:48
Default
  #11
New Member
 
Join Date: Dec 2013
Posts: 26
Rep Power: 12
Ad.Y is on a distinguished road
Quote:
Originally Posted by -mAx- View Post
yes, you have to refine surface mesh again
Honestly, I don't understand what should I do with your tutorial. Can you explain more in details?

However, I tried another solution (will state it below) but I faced a warning where the 2 volume meshes of fluid are not mesh and not being exported. But I can see the number of cells on the face increases. Total number of cells decreases, might be due to the volume meshes error. Can I know why?

I attached the before and after mesh plus the command for your reference as well.

Thanks.


Solution:
Refining mesh
Operation Toolpad > Mesh Command Button > Face Command Button > Delete
Face mesh:
In delete face mesh, uncheck 'remove unused lower mesh', select face by shift-clicking and click apply.

Modify Edge Meshes
Change number of division on vertical edges from 5 to 10, choose:
Operation toolpad > Mesh command button > edge command button > mesh edges
Select two vertical edges, then interval count from the box under spacing that says interval size, change the number of interval count box from 5 to 10.
Make sure 'remove old mesh' is checked under Options. This ensures that old edge meshes are erased before the new edge meshes are created.

Recreate Face Mesh
Operation Toolpad > Mesh Command button > Face command button > Mesh Faces
Shift-click on the face in Graphics window to select it. Then click apply.
Attached Images
File Type: jpg Before.jpg (95.7 KB, 8 views)
File Type: jpg After.jpg (94.5 KB, 7 views)
File Type: jpg Command.jpg (44.5 KB, 6 views)
Ad.Y is offline   Reply With Quote

Old   March 27, 2014, 02:21
Default
  #12
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
you asked for tutorial, so I gave you the tutorials
maybe you wanted a tutorial from me...

From what you did: you only tried to refine in x-direction, but the cap surfaces are still meshed with same size than earlier.
From your second picture it seems that your big volume ( the one you wanted to refine) is not meshed (only surfaces are meshed)
If you want you can provide me your *.dbs file I will show you how to refine your mesh
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   March 27, 2014, 03:07
Default
  #13
New Member
 
Join Date: Dec 2013
Posts: 26
Rep Power: 12
Ad.Y is on a distinguished road
Quote:
Originally Posted by -mAx- View Post
you asked for tutorial, so I gave you the tutorials
maybe you wanted a tutorial from me...

From what you did: you only tried to refine in x-direction, but the cap surfaces are still meshed with same size than earlier.
From your second picture it seems that your big volume ( the one you wanted to refine) is not meshed (only surfaces are meshed)
If you want you can provide me your *.dbs file I will show you how to refine your mesh

Sorry, I don't have the .dbs file with me right now, but I can send you the .msh here first if you wish to have a try first, I will upload the .dbs in few hours time again.

Yes please, a tutorial from you will be nice if possible. Thank you so much.

Here is the link for mesh file in ".msh" extension.
https://dl.dropboxusercontent.com/u/.../Mesh/mesh.msh
Ad.Y is offline   Reply With Quote

Old   March 27, 2014, 03:09
Default
  #14
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
I prefer waiting for dbs file
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   March 27, 2014, 05:45
Default
  #15
New Member
 
Join Date: Dec 2013
Posts: 26
Rep Power: 12
Ad.Y is on a distinguished road
Quote:
Originally Posted by -mAx- View Post
I prefer waiting for dbs file
Here you go. It will be nice to have personal tutorial from you on how should I refine on this mesh.

Hope to hear good news from you.

https://dl.dropboxusercontent.com/u/...ambit/Mesh.zip
Ad.Y is offline   Reply With Quote

Old   March 27, 2014, 06:31
Default
  #16
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
*Surface Mesh with pave and size 0.2 (surface 1 & 6 are picked)
*Volume Mesh with size 0.2 (volume 1 is picked and automatically as hex/cooper detected
>> Total Element 10019
Untitled1.jpg

*Surface Mesh with pave and size 0.1 (surface 1 & 6 are picked)
*Volume Mesh with size 0.1 (volume 1 is picked and automatically as hex/cooper detected
>> Total Element 84194
Untitled2.jpg
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   March 27, 2014, 07:18
Default
  #17
New Member
 
Join Date: Dec 2013
Posts: 26
Rep Power: 12
Ad.Y is on a distinguished road
Quote:
Originally Posted by -mAx- View Post
*Surface Mesh with pave and size 0.2 (surface 1 & 6 are picked)
*Volume Mesh with size 0.2 (volume 1 is picked and automatically as hex/cooper detected
>> Total Element 10019
Attachment 29671

*Surface Mesh with pave and size 0.1 (surface 1 & 6 are picked)
*Volume Mesh with size 0.1 (volume 1 is picked and automatically as hex/cooper detected
>> Total Element 84194
Attachment 29672

I tried by changing the surface mesh and volume with size interval of 0.2 but still failed. Below attached are what I did following your instructions.
Attached Images
File Type: jpg 1.jpg (57.1 KB, 2 views)
File Type: jpg 2.jpg (62.7 KB, 2 views)
File Type: jpg 3.jpg (33.2 KB, 1 views)
File Type: jpg 4.jpg (65.5 KB, 1 views)
Ad.Y is offline   Reply With Quote

Old   March 27, 2014, 07:19
Default
  #18
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
delete ALL Mesh volumes first
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   March 27, 2014, 07:27
Default
  #19
New Member
 
Join Date: Dec 2013
Posts: 26
Rep Power: 12
Ad.Y is on a distinguished road
Quote:
Originally Posted by -mAx- View Post
delete ALL Mesh volumes first
You mean delete all the fluid 2,3,4 and 5 or just fluid 5? The "remove unused lower mesh" should be checked or unchecked?
Ad.Y is offline   Reply With Quote

Old   March 27, 2014, 07:30
Default
  #20
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
delete all volume mesh with lower geometry option enabled.
Then just work with fluid-5
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- 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
[Other] mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 13 March 7, 2022 17:22
AMI interDyMFoam for mixer danny123 OpenFOAM Running, Solving & CFD 4 June 19, 2013 04:49
[Netgen] Import netgen mesh to OpenFOAM hsieh OpenFOAM Meshing & Mesh Conversion 32 September 13, 2011 05:50
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 14:11
physical boundary error!! kris Siemens 2 August 3, 2005 00:32


All times are GMT -4. The time now is 06:54.