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 Members List Search Today's Posts Mark Forums Read

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: 83
Rep Power: 3
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: 408
Rep Power: 10
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Converging Diverging Nozzle with dbnsTurbFoam Saleh Abuhanieh OpenFOAM Running, Solving & CFD 4 December 13, 2019 10:26
y+ and u+ values with low-Re RANS turbulence models: utility + testcase florian_krause OpenFOAM 113 June 25, 2019 00:58
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 08:00.