CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Parallel Meshing

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By LuckyTran
  • 1 Post By LuckyTran
  • 1 Post By MFitl

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 13, 2021, 19:25
Default Parallel Meshing
  #1
Member
 
Bal
Join Date: Nov 2021
Posts: 49
Rep Power: 4
Bal21 is on a distinguished road
Hi all,

I'm trying to test parallel meshing on my computer. So I've enabled the "parallel" option and run the Java script. The mesher models that I'm using are polyhedral, prismatic and surface remesher. I'm running the case on 12 cores & am not really that impressed with the performance. The license that my university has is an educational license.
What could the reason be? What to do? Any advice?

I can also test the star case on a higher number of cores in the HPC (linux system). Anyone has tried to run the meshing java script on a linux system? I'm also worried that increasing the number of cores does nothing???!!

Thanks!!
Bal21 is offline   Reply With Quote

Old   December 13, 2021, 20:01
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,672
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
The parallel meshing option isn't a placebo button if that's what you are asking.

Use some system monitoring tools (e.g. task manager in Windows) to check the performance of your system. Check the cpu usage. Check your ram usage and throughput. Look for bottlenecks. If you run out of RAM for example, expect the meshing to take forever.


What kinds of timescales are we talking about here? If your mesh takes more than an hour than you probably exceeded some physical limit.
Bal21 likes this.
LuckyTran is offline   Reply With Quote

Old   December 13, 2021, 22:26
Default Reply
  #3
Member
 
Bal
Join Date: Nov 2021
Posts: 49
Rep Power: 4
Bal21 is on a distinguished road
Meshing has been ongoing since 12 hours.
Bal21 is offline   Reply With Quote

Old   December 14, 2021, 03:59
Default Mesh Linux Error
  #4
Member
 
Bal
Join Date: Nov 2021
Posts: 49
Rep Power: 4
Bal21 is on a distinguished road
So, i was able to create a mesh in star ccm in windows*using a .java file. However, when I tried to do the same in linux*system, there was an error saying that the macro file couldn't be opened

*Any thoughts?
Bal21 is offline   Reply With Quote

Old   December 14, 2021, 04:19
Default
  #5
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,672
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Are we debugging parallel Star here or is this your first attempt at meshing anything, like ever?

If it takes more than an hour on a 12-core build then you probably ran out of RAM. Have you checked the task manager!? Or try using coarser settings.... An hour of meshing on a 12-core build is gonna grab about 100GB of RAM.

If it says the file could not be opened then it means just that. It couldn't find the file or the file couldn't be opened due to the user not having read permissions (very unlikely). If it found the file and the .java was absolute garbage inside, it would give you all sort of errors with bad declarations and such. If you give it a blank .java macro, it will do nothing.
LuckyTran is offline   Reply With Quote

Old   December 14, 2021, 04:28
Default
  #6
Member
 
Bal
Join Date: Nov 2021
Posts: 49
Rep Power: 4
Bal21 is on a distinguished road
To start with, I'm a new user of star ccm and also new to the CFD world. I'm a chemical engineering student, with almost no programming background.

I thought that I can learn in this forum by discussing with experts who can communicate their "wisdom" :P

I opened the task manager and it seems that the memory usage is high. The mesh is running though, but it's taking alot of time.
Bal21 is offline   Reply With Quote

Old   December 14, 2021, 15:11
Default
  #7
Member
 
Bal
Join Date: Nov 2021
Posts: 49
Rep Power: 4
Bal21 is on a distinguished road
The error with the macro file, was as you mentioned, a simple one.
It's related to the names of the files & whatever is mentioned in the linux configuration script. This has been resolved. Thanks!!


Quote:
Originally Posted by LuckyTran View Post
Are we debugging parallel Star here or is this your first attempt at meshing anything, like ever?

If it takes more than an hour on a 12-core build then you probably ran out of RAM. Have you checked the task manager!? Or try using coarser settings.... An hour of meshing on a 12-core build is gonna grab about 100GB of RAM.

If it says the file could not be opened then it means just that. It couldn't find the file or the file couldn't be opened due to the user not having read permissions (very unlikely). If it found the file and the .java was absolute garbage inside, it would give you all sort of errors with bad declarations and such. If you give it a blank .java macro, it will do nothing.
Bal21 is offline   Reply With Quote

Old   December 14, 2021, 16:39
Default
  #8
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,672
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Quote:
Originally Posted by Bal21 View Post
I opened the task manager and it seems that the memory usage is high. The mesh is running though, but it's taking alot of time.
Of course the mesher is "running." It will be running until it finishes. And it might not ever finish.

Look at your cpu usage and make sure all 12 cores are running at 100%. That means it is actually meshing. Look at your RAM and make sure it's well below 90%. If you ran out of RAM then Star will keep trying to use the page file before throwing an out of memory error, which can take a very long time. If more than a few of your cores are sitting idle then it's not doing anything. I'm going to keep echoing this statement unless you tell me your machine has 1TB of RAM of some crazy amount.

When you get Star running on your cluster, all the same applies except you'll be using not Windows Task manager.
Bal21 likes this.
LuckyTran is offline   Reply With Quote

Old   December 15, 2021, 00:21
Default Thank you
  #9
Member
 
Bal
Join Date: Nov 2021
Posts: 49
Rep Power: 4
Bal21 is on a distinguished road
Thank you. I did monitor the performance & exactly as you suggested, the RAM isn't sufficient. It just doesn't show this error right away, like you said.
Bal21 is offline   Reply With Quote

Old   December 15, 2021, 01:55
Default
  #10
New Member
 
Matthias Fitl
Join Date: Mar 2009
Location: Austria
Posts: 20
Rep Power: 17
MFitl is on a distinguished road
Quote:
Originally Posted by Bal21 View Post
So, i was able to create a mesh in star ccm in windows*using a .java file. However, when I tried to do the same in linux*system, there was an error saying that the macro file couldn't be opened

*Any thoughts?
Take a look into the filenames in your JAVA-script. There is a difference in the path naming

Linux: /home/username/starccm/testcase.sim
Windows: C:\User\username\starccm\testcase.sim

And yes RAM could be an issue, set the mesh to coareser values.
Bal21 likes this.
MFitl 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
[Gmsh] gmshToFoam generates patches with 0 faces and 0 points Simurgh OpenFOAM Meshing & Mesh Conversion 4 August 25, 2023 07:58
[snappyHexMesh] Parallel meshing - SnappyHexMesh Akanksha90 OpenFOAM Meshing & Mesh Conversion 3 March 3, 2022 07:52
[blockMesh] Parallel meshing strategy of a (very) simple case ThibaultGET OpenFOAM Meshing & Mesh Conversion 1 September 9, 2021 05:56
The problem when i use parallel computation for mesh deforming. Hiroaki Sumikawa OpenFOAM Running, Solving & CFD 0 November 20, 2018 02:58
Parallel meshing using XP64 with PVM in CFX Mesh Huw ANSYS Meshing & Geometry 4 July 12, 2010 10:24


All times are GMT -4. The time now is 05:09.