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

[ICEM] complex 2D meshing on ICEM

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

Like Tree3Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 29, 2010, 15:29
Default complex 2D meshing on ICEM
  #1
New Member
 
Amal Kassab
Join Date: Jun 2010
Posts: 7
Rep Power: 15
kassab is on a distinguished road
Dear Simon,

Thank you very much for the wonderful tutorials that you have posted on youtube, it helped me enormously in jump-starting the process of learning ICEM specially that it came at a critical time when my job was brought to a halt because of an Ansys warranty change that did not include Gambit, which I was previously using to generate the meshes.

Although ICEM is indeed much better than Gambit, however it is much more complex, I managed to learn Gambit in 1 week, and finished my meshes in 4-5 hours, creating the geometry from scratch that is. But with ICEM I have been trying for 3 weeks now to familiarize myself with it so that I can recreate my geometry and mesh it, I realize that I only need to mesh one airfoil zone so that I can copy and mirror it to create the 3 turbine complex that I need for my analysis, two front counter-rotating turbines and a third one at the back, but it is still not working. I have tried to follow your instructions for the airfoil creation but with a different far-field zone, since this is a different complex, the block lines would not fit the curves, the o-grid will not always work for some reason and although I specify everywhere I find that I want an ?all tri? mesh, I keep getting a hexa mesh instead. I tried to find a way to open/import my gambit mesh so I can edit it, but of all the programs that ICEM accepts Gambit seems to be an odd exception. I have attached a picture of the mesh that I did with Gambit so you can have an idea of what I am trying to do, and I have seen the posts on the forum of other people trying to mesh a turbine, but the mesh is not that good, I would really appreciate any help that you can provide in this matter. Here at Concordia we are trying to get an ICEM tutor to give some of us a crash course about ICEM but I don?t know when that course will be taking place yet.

Thanks again for all the support and wonderful tutorials, by the way, in the tutorials you seem to work on choosing and applying quite quickly while based on the tutorials I?ve been reading we need to left click, middle click and then choose apply every time? is there a short cut key that you are using to work so fast?
kassab is offline   Reply With Quote

Old   June 29, 2010, 15:32
Default 2D meshing on ICEM - reply from Simon
  #2
New Member
 
Amal Kassab
Join Date: Jun 2010
Posts: 7
Rep Power: 15
kassab is on a distinguished road
ICEM CFD has a lot of options, but If you want to generate a mesh like you had in Gambit, you should try a different method.

If you go into ICEM CFD and set sizes on he geometry and then try "Patch Dependent" meshing, you will get something much more like you have in those images. It can be done automatically, without blocking, after just a
few minutes of setup. You could also try the 2D Meshing in ANSYS meshing (where many other gambit users are migrating too because it has the Gambit sizing function, etc). One suggestion would be that you should add prisms to your blades... I guess it would be tough with such a tight space between the airfoil and the rotating boundary. Pehaps we could do something special and have mapped mesh between the airfoil and the boundary...

If you send me an ACIS file of your model, I may find time to try it out and
send you a replay script for the patch dependent method. I could also send you a blocking replay, if you wanted a quad mesh, but it wouldn't be worth blocking something like that just to change the block types to "All Tri" (you would need to do this under the Blocking Tab since it occurs at the block level.)

As for getting Gambit mesh into ICEM CFD... A gambit file isn't actually a mesh file. It is instructions for Gambit to generate a Mesh file. If you have access to Gambit, you could output it as a fluent.msh file and then read that into ICEM CFD.

And yes, in my demo, I had "Settings => Selection => Auto Pick Mode" made things go much faster. It auto pics when you enter a command and if there are no required adjustments to the DEZ, it will also auto apply.
kassab is offline   Reply With Quote

Old   June 29, 2010, 17:09
Default 2D meshing without a block
  #3
New Member
 
Amal Kassab
Join Date: Jun 2010
Posts: 7
Rep Power: 15
kassab is on a distinguished road
Hi,

I am trying to mesh the area around one airfoil using curve meshing parameters and then surface meshing, the way we used to do it in Gambit, without blocking, but I can't get a surface mesh... even when I created 3 surfaces surrounding the airfoil and I tried to mesh them, it didn't work too. What do you think the problem is?

I looked over the Ansys workbench, I prefer to stick with ICEM at least there are much more options for creating a geometry and manipulating them, I couldn't find any options on Ansys workbench to create geometry, only to import them, I didn't give it a thorough look though...
Attached Images
File Type: jpg airfoil.jpg (49.3 KB, 715 views)
kassab is offline   Reply With Quote

Old   June 30, 2010, 16:39
Default Patch Dependent
  #4
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
Ok, so I took a quick look. There are two things necessary for patch dependent mesh.

1) you must have curves around (and attached) to the perimeter of every surface.

2) you must have mesh size set on those curves.

The algorithm works by first creating line elements along the curves around each surface (we call these loops). If you delete a curve between two surfaces (topologically attached), it becomes dormant and the loops are joined into one larger loop. Ignore size works the same way (absorbs small loops into larger neighbors). After meshing the perimeter, it does a recursive loop algorithm to mesh the surfaces. Because all the loops share curves, the final mesh comes out already connected between all the surfaces, etc.

In your case, you had problems with 1 and 2. You had curves, but they were not shared between surfaces. By turning on color by count (right click display option under "curves" in the model tree), I could see that your seams were "yellow" and therefore not connected. So I used "Geometry (tab) => Repair Geometry => Build Diagnostic Topology" to tie those surfaces and curves together. Next, I saw that some curves had sizes set others did not. For the ones that didn't it tries to use a single element along those curves and just can't generate a good mesh. So I just set all the curve sizes to 0.01. That worked and I got my first mesh.

Next I wanted to improve the mesh a bit. For the radial curves, I setup biasing from 0.01 to 0.02 with a growth ratio of 1.2. That gave me this...
AMAL_02.jpg

But I wanted some inflation... You can use ICEM CFD Prism with the "BLAYER2D" option, but with your surface patches like this, that failed for me. Rather than figure out how to get it to work, I just set the width on the "BLADE" curves to 2 and then regenerated to get this mesh. (I will send the tetin file).
AMAL_03.jpg

But then I figured I should show you the hexa way. It took about 5 minutes. I will send you the replay file.
AMAL_04.jpg

Then I smoothed it. I used 10 iterations of orthogonality followed by 10 iterations of Sorenson/THomas&Middlecoff (new in 13.0)

AMAL_05.jpg
PSYMN is offline   Reply With Quote

Old   June 30, 2010, 16:43
Default
  #5
New Member
 
Amal Kassab
Join Date: Jun 2010
Posts: 7
Rep Power: 15
kassab is on a distinguished road
wow... thanks a million really... you saved me at least a week of poking around, thanks...
kassab is offline   Reply With Quote

Old   July 2, 2010, 11:12
Default troubleshooting
  #6
New Member
 
Amal Kassab
Join Date: Jun 2010
Posts: 7
Rep Power: 15
kassab is on a distinguished road
Hi Simon,

Really appreciate all the help, but I have been trying to make the replay script work, it is giving an error message and stopping... as for the meshing process... I did follow your instructions fixed the lines... checked the geometry using "build diagnostic topology" and defined a size for all curves of 0.01, and then went to surface mesh.. chose the surfaces and clicked apply... nothing.. no mesh..., I will be working on the block concept again, and see where that will take me, at this point, hexa mesh is just great... so I will try to get that one, at least... thanks for everything...
kassab is offline   Reply With Quote

Old   November 1, 2010, 18:31
Default
  #7
New Member
 
chetraj
Join Date: Nov 2010
Posts: 2
Rep Power: 0
chetraj is on a distinguished road
hi simon,
i saw your youtube video and that was just awesome..hoping u add some more...i folllowed ur steps ...i would really appreciate if u would advice me on having hybrid mesh around the airfoil...something like quad meshing on the boundary layer and the remaining area with tri meshing././.
chetraj is offline   Reply With Quote

Old   November 2, 2010, 09:05
Default Icem
  #8
New Member
 
pouyan Jodat
Join Date: Nov 2010
Posts: 4
Rep Power: 15
pouyan is on a distinguished road
Can you send me the youtube link?
pouyan is offline   Reply With Quote

Old   November 2, 2010, 09:07
Default Icem
  #9
New Member
 
pouyan Jodat
Join Date: Nov 2010
Posts: 4
Rep Power: 15
pouyan is on a distinguished road
Hi Simon


I use ICEM CFD in University through an Academic license.
I have tried to use ICEM CFD on a Dell Studio with Intel Core i3 3.2GHz with 6.00 GB RAM and 1.00 GB Graphic Card but anytime I try to load my the mesh ( 1 million elements) to edit it, the ICEM CFD is showing " is not responding" sign.
I used the same software and mesh on a Dell Workstation Intel Xeon CPU 2.33GHz (2 Processors) and 8.00 GB RAM and gives me same message.

Any recommendation? How can I fix this problem?
pouyan is offline   Reply With Quote

Old   November 2, 2010, 14:04
Default Lots of options...
  #10
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
Cheterj,

No problem... there are lots of ways to do it.

You can do it in 2D using patch conforming... Set the mesh type to all tri, but set a "width", "height" and "number of layers" on the airfoil... That will create quad layers...

Or you can do it with 2D patch conforming and run regular prism with it (but you need to turn on the advanced option for "BLAYER2D".

Or you could actually use the automatic hexa blocking (it will create an unstructured block), then insert an Ogrid for the boundary layer.

And I am sure there are a bunch of other ways too.
Dronzer likes this.
PSYMN is offline   Reply With Quote

Old   November 3, 2010, 18:30
Default
  #11
New Member
 
chetraj
Join Date: Nov 2010
Posts: 2
Rep Power: 0
chetraj is on a distinguished road
thank you simon,
i am just a beginner and the first lessons were your tutorial. that has given confidence....i tried following the steps u mentioned..but unfortunately, i couldnt find Blayer2D option, nor the patch conforming,nor the automatic hexa blocking..i am sorry if it is because i use a non-commercial package available in my university or was it my ignorance in ICEM? please suggest me..
as far as trying is concerned , i tried creating parts by selecting the blocks near the airfoil, amd tried meshing by parts, i was unsuccessful..i thought i would quad mesh the part(block which is near to the airfoil), and the remaining with tri..
if you could provide me with few simpler, detailed steps, i would follow easily and be really grateful in this learning process...

once again thank you
chetraj is offline   Reply With Quote

Old   December 5, 2010, 20:50
Default Better late than never?
  #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
Blayer2D is under Global Params => Prism Meshing Params => Advanced Options. When you turn it on, it lets prism run on a 2D triangle Mesh (it usually just works with 3D).

To do 2D patch conforming, you setup the method under Global Params => Shell Meshing Params. Set your mesh type to what ever and set your mesh method to patch dependent. THis mesher primarily relies on curve parameters, so it is essential that you run build topology on the geometry (to connect the surfaces and curves), and make sure you set the sizes on the curves. To actually compute your mesh, you go to Mesh (tab) => Compute Mesh => Surface mesh only and it will use what ever global shell settings you setup...

To use the automatic surface blocking, setup as above with build topology (establishes connectivity), then go to the blocking tab => Create Block => set the Type to "2D Surface Blocking". You can figure out the rest (or check the help).

Have you tried the tutorials?
Dronzer likes this.
PSYMN is offline   Reply With Quote

Old   December 8, 2010, 11:41
Default
  #13
Member
 
Fabian E.
Join Date: Nov 2009
Posts: 38
Rep Power: 16
galap is on a distinguished road
Quote:
Originally Posted by pouyan View Post
Can you send me the youtube link?
I also would like to know the link. But I assume the videos are these puplished by ansysinc? Anyway great job Simon. I do learn a lot!
galap is offline   Reply With Quote

Old   December 8, 2010, 12:17
Default
  #14
siw
Senior Member
 
Stuart
Join Date: Jul 2009
Location: Portsmouth, England
Posts: 732
Rep Power: 25
siw will become famous soon enough
Is this the link you want for the videos?

http://www.youtube.com/user/ansysinc
siw is offline   Reply With Quote

Old   December 13, 2010, 10:22
Default
  #15
New Member
 
Join Date: May 2010
Posts: 4
Rep Power: 15
undersea is on a distinguished road
this is the link of Simons work
http://www.youtube.com/watch?v=tYrbS...eature=related

I have a question for simon,
if I use the unstructure grids,can I set the periodic settings?
Or the periodic condition can only be set in blocking structured grid as tutorial?
many thanks
undersea is offline   Reply With Quote

Old   January 8, 2011, 17:10
Default Global periodicity
  #16
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
Yes, for unstructured tetra/prism, you start the same way. Just set the global periodicity type and offset. Then just generate your mesh. The mesher always checks these settings and runs accordingly.

For the hexa blocking (which can be used to generate a structured or unstructured hexa mesh), you must then go an extra step to tell it which verts are periodic.
PSYMN is offline   Reply With Quote

Old   February 16, 2011, 08:03
Default help on 2D Geometry
  #17
Member
 
anonymous
Join Date: Jan 2011
Posts: 42
Rep Power: 15
fek66 is on a distinguished road
dear Simon ;
I want to make a 2D geometry with ICEM in my project but I have problem because I am new user of ICEM. I started with tutoriel but steel have problem.
to make this geometry and use it in Cfx. Some posts say that we need to transform a 2D geom to 3D to work with CfX ? . I want your email adress to send you a geom file
thanks.
fek66 is offline   Reply With Quote

Old   February 16, 2011, 09:57
Default 2D.msh is easiest.
  #18
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
Yes, many CFX users are in the habit of using "Edit Mesh (tab) => Extrude" to extrude their mesh by one cell (2.5D) before outputting to CFX.

But I think an easier way is to output the 2D model in Fluent_V6 (or later) format (*.msh) file. When CFX reads in a 2D Fluent.msh file, it automatically extrudes.
rikio likes this.
PSYMN is offline   Reply With Quote

Old   February 16, 2011, 18:06
Default
  #19
New Member
 
Adrian Dunne
Join Date: Jan 2011
Location: Ireland
Posts: 26
Rep Power: 15
ad281 is on a distinguished road
Quote:
Originally Posted by PSYMN View Post
Yes, many CFX users are in the habit of using "Edit Mesh (tab) => Extrude" to extrude their mesh by one cell (2.5D) before outputting to CFX.

But I think an easier way is to output the 2D model in Fluent_V6 (or later) format (*.msh) file. When CFX reads in a 2D Fluent.msh file, it automatically extrudes.
I've tried this, but Pre won't read it for me.
Do you make the output solver ANSYS too?
ad281 is offline   Reply With Quote

Old   February 17, 2011, 22:10
Default
  #20
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
Nope, it is the Fluent.msh file that matters. The second output is only if you were doing some sort of FSI and wanted to output the FEA portion also.

My guess is that your version of CFX Pre is too old? I am not sure how long ago this 2D Fluent import feature was added.

Maybe someone else who has been successful with this could comment?
PSYMN 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
[ANSYS Meshing] Problem with meshing a complex Geometry (Hex) fluent_beiyo ANSYS Meshing & Geometry 8 April 26, 2014 05:55
[ICEM] problem with meshing in icem cfd saurabhjoshi2011 ANSYS Meshing & Geometry 13 March 12, 2013 12:27
[Other] Ansys Meshing vs Ansys ICEM CFD JuPa ANSYS Meshing & Geometry 5 September 19, 2012 10:48
[ICEM] Meshing adjacent wall geometry and simple ICEM questions everdimension ANSYS Meshing & Geometry 25 June 20, 2012 05:25
Missing tets along line when meshing with ICEM CFD Georges P. Côté CFX 6 March 23, 2006 01:34


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