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

2D planar cylinder meshing problem

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 22, 2010, 23:56
Default 2D planar cylinder meshing problem
  #1
Senior Member
 
---------
Join Date: Oct 2010
Posts: 303
Rep Power: 18
saisanthoshm88 is on a distinguished road
Hello every one, I'm a newbie user to ICEM CFD and I have a problem in meshing a 2D planar cylinder. I was making a 2D planar quad mesh in ICEM by a blocking approach to simulate the flow past a 2D cylinder. The attached image shows the block structure.

I wanted to have a denser mesh over the cylinder so as to capture well, the Boundary layer effects. I’ve used the curve mesh set up for the purpose. The first layer height on the circular curve was set to 0.003 mm and the height ratio was 1.1 I didn’t apply these settings to any other curves except the circle but when the premesh was computed, I had refinement in many unwanted regions of the mesh as shown in the attached image.



The domain size is: 1000×500 mm and the circle is of 100 mm diameter.

So please suggest some guidelines to achieve my objective of having a denser (refined) mesh over the cylinder and at the same time avoiding unwanted refinement. I some how suppose that the Bunching laws (or) the curve mesh set up can help but I’m not exactly clear about them. Please provide some clarification.
Attached Images
File Type: jpg Blocking.JPG (9.4 KB, 120 views)
File Type: jpg Meshing.JPG (53.5 KB, 166 views)
__________________
Best regards,
Santhosh.
saisanthoshm88 is offline   Reply With Quote

Old   November 23, 2010, 04:16
Default O-grid solution
  #2
Senior Member
 
---------
Join Date: Oct 2010
Posts: 303
Rep Power: 18
saisanthoshm88 is on a distinguished road
Yep the problem was solved by making an O-grid around the circle. The block topology was indeed made different ( Attached images can throw a better illustration.).
Attached Images
File Type: jpg blocking.JPG (9.4 KB, 104 views)
File Type: jpg Meshing.JPG (19.4 KB, 129 views)
__________________
Best regards,
Santhosh.

Last edited by saisanthoshm88; November 25, 2010 at 00:00.
saisanthoshm88 is offline   Reply With Quote

Old   November 24, 2010, 10:22
Default
  #3
Senior Member
 
PSYMN's Avatar
 
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,663
Blog Entries: 1
Rep Power: 47
PSYMN has a spectacular aura aboutPSYMN has a spectacular aura about
Great... If you have need of more wake refinement, you can always wrap that in a CGRID.

And Don't forget you can also move verticies, etc. to get that Ogrid just the size and shape you want.
PSYMN is offline   Reply With Quote

Old   December 26, 2010, 09:15
Default
  #4
New Member
 
amirhosein h
Join Date: Dec 2010
Posts: 22
Rep Power: 15
anno_x is on a distinguished road
Hi, I have the same 2D geometry. I created the same pre mesh with edge params and curve mesh setup. now for the analysis in ANSYS WB I should generate mesh from this pre mesh. my first question is about Pre-mesh smooth. when I click pre mesh smooth, this message appears:
max value can not be less or equal than min value; resetting the histogram min/max values to defaults.
I don't know what is this message concerning about!
and my second question is about surface mesh generation for 2D analysis in ANSYS WB. I reviewd ANSYS ICEM 2D tutorials but they are not continue after pre mesh. So I couldn't understand how to generate mesh from these pre mesh to export to ansys. I used compute surface mesh but I think the created mesh doesn't follow the pre mesh!!!

I am really sorry for my silly questions, but I am new to ICEM and I am running out of time for this project as a part of my thesis
anno_x is offline   Reply With Quote

Old   December 26, 2010, 09:28
Default
  #5
Senior Member
 
---------
Join Date: Oct 2010
Posts: 303
Rep Power: 18
saisanthoshm88 is on a distinguished road
I've never done any meshing in ANSYS WB. But then regarding your second question to export your mesh to ANSYS you need to convert it into an Unstruct mesh.

In ICEM CFD you can do this as:

Model tree-->Blocking--> Pre mesh Right click and select convert to unstruct

I'm sorry that I can't help you to the fullest extent.
__________________
Best regards,
Santhosh.
saisanthoshm88 is offline   Reply With Quote

Old   December 26, 2010, 10:19
Default
  #6
New Member
 
amirhosein h
Join Date: Dec 2010
Posts: 22
Rep Power: 15
anno_x is on a distinguished road
thank you for your quick help santhosh. after I generated unstructured mesh as you mentioned in your post, then I clicked Write Input (in output tab) to save the mesh as cfx5 format,but the following error appeared:
Error: No Volume elements found. child process exited abnormally

So, It would be great if you know what this problem is concerning about?
anno_x is offline   Reply With Quote

Old   December 26, 2010, 11:35
Default
  #7
Senior Member
 
---------
Join Date: Oct 2010
Posts: 303
Rep Power: 18
saisanthoshm88 is on a distinguished road
I suppose that you are working with a 2D mesh and indeed CFX doesn't allow you to export a 2D mesh.CFX always requires a volume (or) 3D mesh.

Fluent supports even the 2D meshes.

However there is a way by which you can probably fix this problem with CFX.
While writing the input file to the solver, set the solver as Fluent.
i.e.., output your mesh file in the Fluent format.

you'll now have a solver input file with the extension .msh Now open this .msh file CFX- Pre

When you do this CFX automatically extrudes the mesh and there should be no problem.

But again while writing the input file to the solver in Fluent format from ICEM CFD dont forget to choose the 2D option in the window that opens up.

Hope this helps you.
__________________
Best regards,
Santhosh.
saisanthoshm88 is offline   Reply With Quote

Old   December 26, 2010, 15:19
Default
  #8
New Member
 
amirhosein h
Join Date: Dec 2010
Posts: 22
Rep Power: 15
anno_x is on a distinguished road
thank you Santhosh. the problem is concerning cfx doesn't accept 2D mesh! I saved the file as fluent mesh.
and one other question about importing the mesh to Ansys WB;
in ansys WB, I opened Fluid Flow (cfx) and imported the mesh. although I determined BCs in ICEM before saving the file, when I want to determine boundaries in cfx setup, the parts don't appear to select as wall. inlet and outlet.

also I need to ask if I want to model FSI, should I change the meshing type?

thanks for you kind help.
anno_x is offline   Reply With Quote

Old   December 27, 2010, 01:52
Default
  #9
New Member
 
amirhosein h
Join Date: Dec 2010
Posts: 22
Rep Power: 15
anno_x is on a distinguished road
I also extruded my mesh with 1 layer thickness and exported as cfx5 file. but still when I want to select a location for boundaries, non of my ICEM parts appears!
anno_x is offline   Reply With Quote

Old   December 27, 2010, 07:58
Default
  #10
Senior Member
 
---------
Join Date: Oct 2010
Posts: 303
Rep Power: 18
saisanthoshm88 is on a distinguished road
Are you working with the .msh file as suggested
__________________
Best regards,
Santhosh.
saisanthoshm88 is offline   Reply With Quote

Old   December 27, 2010, 09:31
Default
  #11
New Member
 
amirhosein h
Join Date: Dec 2010
Posts: 22
Rep Power: 15
anno_x is on a distinguished road
yes Santosh! As you mentioned, I used msh file format, but when I open it in cfx, no boundary appears to select!

I wonder if you have any time to check the ICEM file as attached. I am really confused!!!

link:
http://www.4shared.com/file/FPtQ6BW3/MESH.html

Last edited by anno_x; December 27, 2010 at 10:05.
anno_x is offline   Reply With Quote

Old   December 27, 2010, 10:01
Default check elements are in the boco parts.
  #12
Senior Member
 
PSYMN's Avatar
 
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,663
Blog Entries: 1
Rep Power: 47
PSYMN has a spectacular aura aboutPSYMN has a spectacular aura about
The boundary condition names are based on the parts the elements are in in ICEM CFD. If your geometry curves have those part names (such as INLET), but you did not associate the blocking to the curves, the line elements will not form around the shells and your boundary conditions will not be associated with any elements...

To check this, please go back to your unstructured mesh in ICEM CFD... Go to Info => Mesh info, and see if it lists elements in those parts (such as INLET). You could also turn off all the parts except Inlet and see if any line elements are displayed on the screen (make sure to turn on display for mesh=>Lines).

If you don't have the elements in the parts, that totally explains your problem.

Go back to Hexa, associate edges with curves (even straight ones that already seem aligned. Generate a new premesh, convert to a new unstructured 2D mesh, output in fluent format and then read that into CFX-Pre (which should automatically extrude it to 2.5D).

Best regards,

Simon
PSYMN is offline   Reply With Quote

Old   December 27, 2010, 10:08
Default
  #13
Senior Member
 
PSYMN's Avatar
 
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,663
Blog Entries: 1
Rep Power: 47
PSYMN has a spectacular aura aboutPSYMN has a spectacular aura about
About the Premesh smooth error...

Try to get a newer version and maybe convert to premesh and use the Edit Mesh => Orthogonality Smoother instead.
PSYMN is offline   Reply With Quote

Old   December 27, 2010, 10:18
Default
  #14
New Member
 
amirhosein h
Join Date: Dec 2010
Posts: 22
Rep Power: 15
anno_x is on a distinguished road
Thanks for the reply Simon, I checked the parts as you instructed. But I guess only closed shape parts eg. circles export to .msh format. Inlet is a line part, but
it can't be exported to fluent as BC
anno_x is offline   Reply With Quote

Old   December 27, 2010, 10:41
Default
  #15
Senior Member
 
---------
Join Date: Oct 2010
Posts: 303
Rep Power: 18
saisanthoshm88 is on a distinguished road
There is nothing like only closed shapes get exported as Boundaries. Just try the steps suggested by Simon i.e.., make proper associations and then try outputting in fluent format. I suppose you should be able to fix the problem.
__________________
Best regards,
Santhosh.
saisanthoshm88 is offline   Reply With Quote

Old   December 27, 2010, 11:14
Default
  #16
New Member
 
amirhosein h
Join Date: Dec 2010
Posts: 22
Rep Power: 15
anno_x is on a distinguished road
I did every step Simon mentioned above! but the problem was concerned about splitting the block. when I created the first 2D block, I associated it to box BCs. but I didn't know after splitting the block, again edges of newly constructed blocks should be associated to the box!
Now everything seems to be alright! now it's the time for cfx Analysis!!!

Thanks again Simon and Santhosh for really useful helps
anno_x is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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] Hex meshing problem DM12 patrick ANSYS Meshing & Geometry 7 January 9, 2015 07:21
[ICEM] (ICEM CFD) meshing over a cylinder vmlxb6 ANSYS Meshing & Geometry 6 August 11, 2010 14:37
[ICEM] Problem with boundary layers for cylinder in channel nik ANSYS Meshing & Geometry 0 October 27, 2009 06:01
the classical problem of the flow around a Cylinder Re=35? behrang2009 FLUENT 4 October 16, 2009 19:35
solving airfoil like square cylinder problem? zonexo Main CFD Forum 1 May 27, 2006 15:16


All times are GMT -4. The time now is 21:30.