CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

max command hangs when using scotch decomposition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 2, 2020, 03:55
Default max command hangs when using scotch decomposition
  #1
Member
 
ssa
Join Date: Sep 2018
Posts: 93
Rep Power: 7
ssa_cfd is on a distinguished road
Hi everyone,



In my solver, there is a command as follows
Code:
Info << "max/min Massendefekt: " << max(massendefektFeld).value() << "     " << min(massendefektFeld).value() << endl;

There is no problem, when I run in serial or parallel with simple decomposition.



But when I use scotch decomposition, the solver hangs exactly at this point.

I tried to comment out this line and then it runs smoothly.



Does anyone know why?


Thanks,
ssa.

Last edited by ssa_cfd; July 2, 2020 at 10:35.
ssa_cfd is offline   Reply With Quote

Old   July 2, 2020, 10:59
Default
  #2
Senior Member
 
Join Date: Aug 2015
Posts: 494
Rep Power: 14
clapointe is on a distinguished road
If you want to find the max for a parallel case, try using gMax instead of max. There are loads of examples in the code, e.g. https://github.com/OpenFOAM/OpenFOAM...m/setRDeltaT.H.

Caelan
clapointe 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
y+ and u+ values with low-Re RANS turbulence models: utility + testcase florian_krause OpenFOAM 114 August 23, 2023 05:37
Converging Diverging Nozzle with dbnsTurbFoam Saleh Abuhanieh OpenFOAM Running, Solving & CFD 4 December 13, 2019 10:26
Near wall treatment in k-omega SST Arnoldinho OpenFOAM Running, Solving & CFD 38 March 8, 2017 13:48
On the damBreak4phaseFine cases paean OpenFOAM Running, Solving & CFD 0 November 14, 2008 21:14
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 18:07


All times are GMT -4. The time now is 18:23.