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

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: MartinB
Forum: OpenFOAM Programming & Development January 11, 2013, 09:25
Replies: 8
Views: 1,758
Posted By MartinB
May be you can find the answer in this code...

May be you can find the answer in this code snippet, where slave processors are sending data to the master processor with Pstream:...
Forum: OpenFOAM Programming & Development January 11, 2013, 08:36
Replies: 8
Views: 1,758
Posted By MartinB
Since every processor calls the gSum, too, the...

Since every processor calls the gSum, too, the sum is distributed already, I think. So every processor can calculate the U^2 value and set it locally.
You can check it with the Pout command again.
...
Forum: OpenFOAM Programming & Development January 11, 2013, 08:26
Replies: 8
Views: 1,758
Posted By MartinB
Hi Nicklas, use "Pout<< " instead of "Info<<...

Hi Nicklas,

use "Pout<< " instead of "Info<< ", then each processor will output its local size.

With "Info<< " only processor0 will print its value, and you must use a gSum command to gather...
Showing results 1 to 3 of 3

 
Forum Jump

All times are GMT -4. The time now is 01:13.