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

CPU usage

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 2, 2011, 09:32
Default CPU usage
  #1
Member
 
Join Date: Jun 2010
Posts: 77
Rep Power: 16
Echidna is on a distinguished road
I run Ansys CFX with an Intel Core i7 920 (4-core, 8 threads).
I would like to ask why the processor is never used to its maximum power. Whenever i make runs in CFX, i get only up to 13% load on the processor. Is there any way to exploit the full power of my CPU, so it will run close to 100% load? I am attaching a print screen picture to let you see.
Attached Images
File Type: jpg CPU usage.jpg (94.2 KB, 232 views)
Echidna is offline   Reply With Quote

Old   February 2, 2011, 09:41
Default
  #2
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
Maybe a silly question but are you using Run Mode: Serial or Local Parallel in the solver ?
Lance is offline   Reply With Quote

Old   February 2, 2011, 09:45
Default
  #3
Member
 
Join Date: Jun 2010
Posts: 77
Rep Power: 16
Echidna is on a distinguished road
Hi Lance,
I used the defaults, can you help me on these options?
Echidna is offline   Reply With Quote

Old   February 2, 2011, 09:50
Default
  #4
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
Um, that explains it I guess.
Try PVM Local Parallel or HP MPI Local Parallel (see documentation!) and set the number of partitions to 4 and see if you use more cores. I think there is a tutorial when local parallel is used, have a look at that.
Lance is offline   Reply With Quote

Old   February 2, 2011, 09:55
Default
  #5
Member
 
Join Date: Jun 2010
Posts: 77
Rep Power: 16
Echidna is on a distinguished road
Thanks Lance, i used partitioning with both HP MPI local parallel and MPICH2 Local parallel and i got an error. See the attached picture.
Attached Images
File Type: jpg partitioning.jpg (88.6 KB, 228 views)
Echidna is offline   Reply With Quote

Old   February 2, 2011, 10:05
Default
  #6
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
Looks strange. Dont really know what to do if the simulation runs in serial but not in parallel. The error is something about vertex, mesh problem?
Lance is offline   Reply With Quote

Old   February 2, 2011, 10:07
Default
  #7
Member
 
Join Date: Jun 2010
Posts: 77
Rep Power: 16
Echidna is on a distinguished road
That's the problem reported. The exact same analysis runs OK in serial.

+--------------------------------------------------------------------+
| Partitioning Information |
+--------------------------------------------------------------------+

+--------------------------------------------------------------------+
| ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| Signal caught: Segmentation violation |
| |
| |
| |
| |
| |
+--------------------------------------------------------------------+

+--------------------------------------------------------------------+
| ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| Stopped in routine FPX: SIG_HANDLER |
| |
| |
| |
| |
| |
+--------------------------------------------------------------------+

+--------------------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| The ANSYS CFX partitioner exited with return code 1. |
+--------------------------------------------------------------------+


This run of the ANSYS CFX Solver has finished.
Echidna is offline   Reply With Quote

Old   February 2, 2011, 11:15
Default
  #8
Member
 
Join Date: Jun 2010
Posts: 77
Rep Power: 16
Echidna is on a distinguished road
Anyone please?
Echidna is offline   Reply With Quote

Old   February 2, 2011, 11:17
Default
  #9
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
You'll have to provide more information about your case. What are you modeling, types of mesh, etc.

And also, can you run the tutorials in parallel?
Lance is offline   Reply With Quote

Old   February 2, 2011, 11:21
Default
  #10
Member
 
Join Date: Jun 2010
Posts: 77
Rep Power: 16
Echidna is on a distinguished road
The results refer to "Overflow". Maybe this helps a bit?


+--------------------------------------------------------------------+
| ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| Floating point exception: Overflow |
| |
| |
| |
| |
| |
+--------------------------------------------------------------------+

+--------------------------------------------------------------------+
| ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| Stopped in routine FPX: C_FPX_HANDLER |
| |
| |
| |
| |
| |
+--------------------------------------------------------------------+

+--------------------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| The ANSYS CFX solver exited with return code 1. No results file |
| has been created. |
+--------------------------------------------------------------------+

End of solution stage.
Echidna is offline   Reply With Quote

Old   February 2, 2011, 11:31
Default
  #11
Member
 
Join Date: Jun 2010
Posts: 77
Rep Power: 16
Echidna is on a distinguished road
Quote:
Originally Posted by Lance View Post
You'll have to provide more information about your case. What are you modeling, types of mesh, etc.

And also, can you run the tutorials in parallel?
Lance, thanks for your time.
I make an analysis for a simple racecar diffuser.
Please look at the attached pictures.
Attached Images
File Type: jpg model.jpg (84.2 KB, 185 views)
File Type: jpg mesh.jpg (97.1 KB, 197 views)
File Type: jpg parallel.jpg (57.1 KB, 150 views)
Echidna is offline   Reply With Quote

Old   February 2, 2011, 18:07
Default
  #12
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The 13% CPU load is simply because you are running single processor. You have 8 cores (well, probably 4 with 4 virtual ones), so a single core is 12.5%. Run parallel to access more CPU load.

You have a partition problem, but it look like you got past that yourself.

A floating point error just means the simulation diverged. You need to improve numerical stability - better mesh quality, smaller timesteps, double precision numerics, better initial conditions.

Also, why are you not taking advantage of the symmetry plane of the geometry? Also the very fine mesh along one edge of your geometry suggests you meshing is poor. Did you intend to concentrate the mesh there?

By the way, there is nothing simple about a race car diffuser. You will have to know what you are doing to get this analysis accurate.
ghorrocks is offline   Reply With Quote

Old   February 2, 2011, 18:41
Default
  #13
Member
 
Join Date: Jun 2010
Posts: 77
Rep Power: 16
Echidna is on a distinguished road
TBH, i am doing my first steps in the world of CFD, the mesh concentration at the front edge of the diffuser was not intended. Most of the meshing options were left as default. I am currently working on learning efficient meshing in CFX.
And yes, a race car diffuser is a delicate and important "instrument". By writing "a simple diffuser" i meant that my design is simple, it wasn't an advanced design of a diffuser.
Echidna is offline   Reply With Quote

Old   February 2, 2011, 18:48
Default
  #14
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I would fix that meshing problem on the edge before proceeding. That is going to double the size of your mesh and cause lots of problems.

While you are at it, cut the geometry in half and use symmetry. That will help a lot too.

I am glad you realise a diffuser is a delicate "instrument", my point was more that an accurate CFD analysis of something like this is also a challenge. Don't expect to get good results quickly if you are new to CFD.
ghorrocks is offline   Reply With Quote

Old   February 2, 2011, 18:52
Default
  #15
Member
 
Join Date: Jun 2010
Posts: 77
Rep Power: 16
Echidna is on a distinguished road
A last question: While i can overcome the problem of CPU usage in solution by using parallel solution, while meshing the CPU load is again 13% maximum. Any way to overcome this and exploit all the CPU power during meshing too?
Echidna is offline   Reply With Quote

Old   February 2, 2011, 18:59
Default
  #16
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Exactly the same issue - meshing runs on a single core by default. There is a parallel meshing thing available but I generally don't use it. If you are generating meshes which require parallel meshing then most of the time something is wrong. Fix the problem (see my previous post for what is wrong) and it will mesh quickly on a single core.
ghorrocks is offline   Reply With Quote

Old   February 2, 2011, 19:08
Default
  #17
Member
 
Join Date: Jun 2010
Posts: 77
Rep Power: 16
Echidna is on a distinguished road
Thank you Glenn!
Echidna 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
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
FloWorks and CPU usage? cvp_dk FloEFD, FloWorks & FloTHERM 6 June 20, 2011 09:57
50% CPU usage AEsco48 CFX 9 March 13, 2008 17:44
OpenFOAM 13 Intel quadcore parallel results msrinath80 OpenFOAM Running, Solving & CFD 13 February 5, 2008 06:26
OpenFOAM 13 AMD quadcore parallel results msrinath80 OpenFOAM Running, Solving & CFD 1 November 11, 2007 00:23


All times are GMT -4. The time now is 04:57.