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

[ANSYS Meshing] Mesher uses 100% CPU while writing completed mesh and freezes

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 5, 2023, 18:27
Default Mesher uses 100% CPU while writing completed mesh and freezes
  #1
New Member
 
Kevin Jones
Join Date: Feb 2011
Posts: 17
Rep Power: 15
jones007 is on a distinguished road
On a new install of Ansys 2023 R1 I've run into a pretty consistent problem with mashes over a few million nodes where the Mesher ramps up to 100% CPU usage after it has completed the meshing and is trying to save the mesh. Usually the Mesher window goes black, and in the task manager the Mesher shows up as "not responding." In some cases it will recover after a few seconds to a minute, and then everything is fine. Other times it hangs, and never recovers.

I've been using Ansys for about a decade, and with previous versions I've been able to get meshes of 20 million nodes or so without issue. I'm not sure what is different now.

Any suggestions?

Edit: The above was running on a Core I9 with 64GB RAM. I copied the project over to a machine with Dual Xeon CPUs and 96 GB RAM, and I also get 100% CPU usage during the last moments of the mesh generation, and the Mesher screen goes black for a bit, but so far, the Mesher recovers and I get a valid mesh. For what it's worth, it's a 6-block mesh and the total node count is under 910k.
jones007 is offline   Reply With Quote

Old   August 8, 2023, 17:12
Default
  #2
New Member
 
Kevin Jones
Join Date: Feb 2011
Posts: 17
Rep Power: 15
jones007 is on a distinguished road
Does nobody else have this problem? I get it on multiple machines, and it seems to be more problematic with multi-block meshes than with node count. I can have the mesher hang with meshes well under 1 million nodes if there are several blocks. If I mesh one block at a time, sometimes i can get the job done, but if I let it mesh all blocks simultaneously, that's a recipe for disaster. I can make meshes with several million nodes if it's a single block. The actual meshing works fine - it's only after all faces and volumes are complete, when it tries to save the data that it hangs.
jones007 is offline   Reply With Quote

Old   August 9, 2023, 01:37
Default
  #3
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,827
Rep Power: 27
Gert-Jan will become famous soon enough
Did you ask ANSYS?

I never install R1 releases. Generally these contain bugs, that are corrected in R2 releases. Therefore I solely use R2 releases.
I installed 2023R2 last week. If I observe the same in the coming month, I will let you know.
Gert-Jan is offline   Reply With Quote

Old   August 9, 2023, 14:06
Default
  #4
New Member
 
Kevin Jones
Join Date: Feb 2011
Posts: 17
Rep Power: 15
jones007 is on a distinguished road
Thanks, that's good to know. So in general R1 is roughly a Beta version?

Edit: Thanks - that seems to have resolved the problem.

Edit 2: Shoot - not quite resolved. If I have enough blocks and enough nodes. it will still hang with a black screen. However, I found a couple of fixes that seem to help.
1). Generate meshes in smaller groups of blocks at a time, rather than the whole thing. If one block is really large, occasionally this will still hang.
2). If it hangs, find the DSBrowserService.exe process and kill it. Definitely an ad hoc fix, but it seems to work. Mesher returns. You can go back and try (1) to get a complete mesh.

Last edited by jones007; August 10, 2023 at 12:37. Reason: Update
jones007 is offline   Reply With Quote

Old   August 10, 2023, 02:43
Default
  #5
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,827
Rep Power: 27
Gert-Jan will become famous soon enough
That is good to hear.

I would not say R1-releases are beta versions. Every year ANSYS has a new version which comes with releases R1, R2 and sometimes even R3. And as every software contains bugs, generally speaking R1 contains more bugs than R2 and R3 versions.
Since I don't rely on features in new versions, I can wait for R2 version.
Gert-Jan is offline   Reply With Quote

Old   August 10, 2023, 12:42
Default
  #6
New Member
 
Kevin Jones
Join Date: Feb 2011
Posts: 17
Rep Power: 15
jones007 is on a distinguished road
If I had a choice, I would have delayed, as 2022R2 definitely had everything iIneed, but we teach with it, and our IT people already installed 2023R1 on all the student machines.
jones007 is offline   Reply With Quote

Old   August 11, 2023, 03:21
Default
  #7
siw
Senior Member
 
Stuart
Join Date: Jul 2009
Location: Portsmouth, England
Posts: 733
Rep Power: 25
siw will become famous soon enough
Just as another datapoint, I also skip the R1 versions at my work Ansys installations (FEA and CFD) for the same reasons as Gert-Jan said, although I still read each release's Highlights presentations and documents to see the new stuff.
siw is offline   Reply With Quote

Old   August 22, 2023, 14:39
Default
  #8
Senior Member
 
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 1,167
Rep Power: 23
evcelica is on a distinguished road
I believe I may have experienced this issue a long time ago, and it was related to RAM. Very large meshes that max out the RAM were problematic, which is why meshing smaller blocks can be helpful. Did you check RAM usage at the time?
I'm not sure if limiting the CPU cores would help, nor how to do it.
evcelica 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
Can't get chtMultiRegionSimpleFoam to working. shiromaniac OpenFOAM Running, Solving & CFD 11 October 18, 2021 08:40
splitMeshRegions 1D Wirman OpenFOAM Running, Solving & CFD 4 May 5, 2020 16:05
FFD shape deformation for 3D wing not changing the mesh lwc24 SU2 Shape Design 5 August 1, 2019 15:17
Star CCM Overset Mesh Error (Rotating Turbine) thezack Siemens 7 October 12, 2016 11:14
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 18:10


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