multithreading: CPU-utilization

A subforum specific to the development of the OpenFoam-based workbenches ( Cfd https://github.com/qingfengxia/Cfd and CfdOF https://github.com/jaheyns/CfdOF )

Moderator: oliveroxtoby

thschrader
Posts: 1394
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

multithreading: CPU-utilization

Postby thschrader » Mon Feb 26, 2018 10:56 pm

short question:
Why is FC consuming 18% cpu-loading when running an external program and FC is "not used"?
Here: simplefoam, running parallel on 4 cores.
cpu_utilization_4_cores.JPG
cpu_utilization_4_cores.JPG (320.55 KiB) Viewed 777 times
User avatar
oliveroxtoby
Posts: 271
Joined: Fri Dec 23, 2016 9:43 am
Location: South Africa

Re: multithreading: CPU-utilization

Postby oliveroxtoby » Tue Feb 27, 2018 5:48 am

Possibly writing the output to screen? If it's a small case then the output comes thick and fast and may consume quite a lot of processing to update the report view window. For a larger problem it should become negligible.
solosails
Posts: 22
Joined: Mon Feb 19, 2018 7:38 pm
Contact:

Re: multithreading: CPU-utilization

Postby solosails » Wed Mar 14, 2018 10:40 am

Not quite the same question, but is there a reason for not having a reconstructpar button having run a parallel case?

It's easy to open the folder and manually run reconstructpar, but would it not be a lot tidier to have the command within CFDOF?
User avatar
oliveroxtoby
Posts: 271
Joined: Fri Dec 23, 2016 9:43 am
Location: South Africa

Re: multithreading: CPU-utilization

Postby oliveroxtoby » Wed Mar 14, 2018 11:54 am

solosails wrote:
Wed Mar 14, 2018 10:40 am
Not quite the same question, but is there a reason for not having a reconstructpar button having run a parallel case?

It's easy to open the folder and manually run reconstructpar, but would it not be a lot tidier to have the command within CFDOF?
We haven't found the need, since paraview can deal with the decomposed case directly. But we'll gladly accept this as a contribution ;-)
solosails
Posts: 22
Joined: Mon Feb 19, 2018 7:38 pm
Contact:

Re: multithreading: CPU-utilization

Postby solosails » Wed Mar 14, 2018 1:54 pm

Hi,

I find that opening the deconstructed case in paraview ends up with weird blocks in the domain, However, if I reconstruct it using reconstructpar, all is normal?

Image
Image
Attachments
recomposed.png
recomposed.png (39.29 KiB) Viewed 528 times