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

Meshing on hpc using ansys mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 31, 2017, 14:02
Default Meshing on hpc using ansys mesh
  #1
Senior Member
 
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14
AS_Aero is on a distinguished road
Hi All

I am using Ansys mesh for meshing my geometry. And I have a huge geometry which is not axisymetric or so, hence I need to do the entire geometry using ansys mesh- Unstructured mesh. The problem here is the time. Im my local machine it takes hours to get a mesh done of 18 million elements. And hence I find it waste of time. My desktop is 16 GB RAM and 8 core and eventhough I give parallel option Ansys doesnt utilize it completly, dont know why. But now my question is, can i do the meshing in HPC cluster with some batch scripting and automating the meshing process on cluster ? Kindly let me know if there is any way to do that.
My second concern is that , I just have fluid volume to mesh, but during the meshing process the Ansys workbench update model status shows
Status: Meshing Solids... (30%) and so on...but where did this solid come from or is it just considering the volume as solid ?
Thanks
AS_Aero is offline   Reply With Quote

Old   April 1, 2017, 05:57
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Have a look for parallel meshing options. There are not many available, but ANSYS has a few options. And if parallel meshing was easy then it would already be in there.......

Check you are not running out of RAM. Or split it up into sections and mesh them separately. Otherwise you will just have to be patient and wait.
ghorrocks is offline   Reply With Quote

Old   April 1, 2017, 06:05
Default
  #3
Senior Member
 
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14
AS_Aero is on a distinguished road
What do you mean by parallel meshing ? HPC or just doing the meshing in my computer parallel. I selected all the CPUs and still it sometimes just take 50% of my RAM and 6 CPU instead of 8 or sometimes 8 but its still slow.

Secondly what do you mean by '' split up into sections and mesh them separately ? '' You mean to split the geometry into different parts and how can I merge them in CFX to apply the solver ? And what about the interface etc ? Could you give me an example. I just have a long pipe with a swirl diffuser at the end. And I am taking the internal fluid volume and meshing it in Ansys Mesh using Workbench platform. So how I can do it into two parts ? Thanks
AS_Aero is offline   Reply With Quote

Old   April 1, 2017, 06:42
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
By split them up I mean just chop the geometry in half and join it up later, probably with a GGI. This is not desirable in most cases and personally I would just put up with a long meshing time.
ghorrocks is offline   Reply With Quote

Old   April 1, 2017, 06:50
Default
  #5
Senior Member
 
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14
AS_Aero is on a distinguished road
GGI ? And how to join it later and where ?

The problem is I am ok to wait but then after waiting for hours when I want to convert the ansys mesh to cfx mesh or fluent mesh .msh format it says the conversion failed contact the support...and obviously my mesh was of 31e6 nodes. So 'I dont know what to do. And also I have a doubt..When I just mesh the fluid volume of my mesh in the meshing it shows meshing solids 30 % ..etc but why ? Why solids ?
AS_Aero is offline   Reply With Quote

Old   April 1, 2017, 19:29
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The mesher does not know if a solid body is assigned a fluid or a solid. It just calls them all solids.

Before you go too much further, please watch your memory usage during a meshing operation. If you are running out of memory you have to fix that before considering anything else.
ghorrocks is offline   Reply With Quote

Old   April 1, 2017, 19:35
Default
  #7
Senior Member
 
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14
AS_Aero is on a distinguished road
Thats the problem , I have only 16GB RAM and it gets full while running Ansys mesh and I have to wait for long time or it gets crashed and I am wasting time on that hence I wanted a solution to mesh it in HPC cluster using some batch script!! For example StarCCM from CD Adapco has that facility where we can create a macro and do the meshing on HPC with script.
AS_Aero is offline   Reply With Quote

Old   April 2, 2017, 06:57
Default
  #8
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The easiest solution is to get more memory. Alternately, other meshing strategies use less memory, for instance the ICEM meshing approach is much more memory friendly. Note you can use the ICEM mesher in ANSYS Mesh by selecting patch insensitive meshing.

Of course, you need to think about whether your mesh really needs to be that big as well.
ghorrocks is offline   Reply With Quote

Old   April 3, 2017, 09:08
Default
  #9
Senior Member
 
Join Date: Jul 2011
Location: Berlin, Germany
Posts: 173
Rep Power: 14
monkey1 is on a distinguished road
Just wondering a bit about "hours of meshing for 18 Mio Elements"....
I have a core i7 Quad Workstation with 16 gb RAM and meshes with 18 Mio. Elements certainly do take some time but not HOURS not even one Hour...

What does your geometry look like? Have you set your refinement conditions properly, so that only relevant parts have a fine mesh and regions without significance are meshed coarser?

It sounds as if you were using the Workbench and the Workbench mesher?
monkey1 is offline   Reply With Quote

Old   April 3, 2017, 09:28
Default
  #10
Senior Member
 
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14
AS_Aero is on a distinguished road
Well My geometry is a 200 mm pipe with 7mm Diameter and at the end of the pipe is a Difuser which is 20mm length and that is the most important region of interest. this pipe i used to make the flow fully developed, thats it. And the only options in meshing (Workbench Meshing) I gave was Inflation layer, body sizing with the region close to the difuser and a body sizing with minimum size as one value. So once I give all these with a fine mesh it creates a mesh of around 18e6 elements in 4 or 5 hours and my memory shows full around 15GB out of 16GB RAM.
AS_Aero is offline   Reply With Quote

Old   April 3, 2017, 09:29
Default
  #11
Senior Member
 
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14
AS_Aero is on a distinguished road
Or even sometimes that my program crashes
AS_Aero is offline   Reply With Quote

Old   April 3, 2017, 09:37
Default
  #12
Senior Member
 
Join Date: Jul 2011
Location: Berlin, Germany
Posts: 173
Rep Power: 14
monkey1 is on a distinguished road
Did you try defining elemnt sizes on the different surfaces with an element growth rate. Beginning with quite coarse elements and then refining only the regions of interest or regions that look too bad?

Or try using icem maybe this helps...Personally I prefer ICEM because it gives me the feeling of better beeing in control of what happens during the mesh process.
monkey1 is offline   Reply With Quote

Old   April 3, 2017, 09:42
Default
  #13
Senior Member
 
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14
AS_Aero is on a distinguished road
Yeah ICEM is good enough provided I have enough time to spend on it and learn it. And I am doing unstructured mesh and hence I thought its better to use the easy and decent one
Btw I havent tried this element growth rate starting from inlet to outlet
AS_Aero is offline   Reply With Quote

Old   April 3, 2017, 19:05
Default
  #14
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Quote:
my memory shows full around 15GB out of 16GB RAM
Well, that is your problem. You don't have enough memory, so it is using swap files and that slows it down a lot. If you want to mesh faster get more memory.

The alternative is to use different meshing approaches which use less memory - ICEM is likely to be more memory friendly.
ghorrocks 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
[Commercial meshers] Problems with ANSYS mesh conversion tdog OpenFOAM Meshing & Mesh Conversion 1 March 31, 2016 17:36
Mesh Seeds in ANSYS WorkBench Meshing smcp ANSYS 1 March 12, 2012 13:16
[ANSYS Meshing] Export Gambit mesh into something Ansys workbench meshing can read? amad11 ANSYS Meshing & Geometry 1 February 21, 2012 12:26
How To save a created mesh file in Ansys Meshing ashtonJ CFX 4 January 7, 2012 22:04
[Other] Ansys meshing - periodic mesh for fluent jsm ANSYS Meshing & Geometry 4 September 24, 2010 14:25


All times are GMT -4. The time now is 15:27.