Menu

#147 (version 0.5.6) --clear option of pyFoamDecompose does not work

assigned
None
normal
minor
always
none
A Utility
0.5.4
general
2012-08-02
2012-08-02
code-red
No

When I decompose a case and try to decompose this case again with a different number of processes using the --clear option, I get an error message (see additional information).

pyFoamDecompose.py . 4
pyFoamDecompose.py --clear . 6

It seems that the pyFoamDecompose calls decomposePar without the --force option.
---- additional_information ----
user@host:~/OpenFOAM/user-2.1.x/run/twoPhaseEulerFoam/aa_bubblyJet/bubblyJet$ pyFoamDecompose.py --clear . 6
/*---------------------------------------------------------------------------*\
| =========ŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒ |ŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒ |
| \\ŒŒŒŒŒ /Œ F ieldŒŒŒŒŒŒŒŒ | OpenFOAM: The Open Source CFD ToolboxŒŒŒŒŒŒŒŒŒŒ |
|Œ \\ŒŒŒ /ŒŒ O perationŒŒŒŒ | Version:Œ 2.1.xŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒ |
|ŒŒ \\Œ /ŒŒŒ A ndŒŒŒŒŒŒŒŒŒŒ | Web:ŒŒŒŒŒ www.OpenFOAM.orgŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒ |
|ŒŒŒ \\/ŒŒŒŒ M anipulationŒ |ŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒ |
\*---------------------------------------------------------------------------*/
BuildŒ : 2.1.x-9d344f6ac6af
ExecŒŒ : decomposePar -case /home/user/OpenFOAM/user-2.1.x/run/twoPhaseEulerFoam/aa_bubblyJet/bubblyJet
DateŒŒ : Aug 02 2012
TimeŒŒ : 16:40:04
HostŒŒ : "host"
PIDŒŒŒ : 9089
CaseŒŒ : /home/user/OpenFOAM/user-2.1.x/run/twoPhaseEulerFoam/aa_bubblyJet/bubblyJet
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

--> FOAM FATAL ERROR:
Case is already decomposed with 4 domains, use the -force option or manually
remove processor directories before decomposing. e.g.,
rm -rf /home/user/OpenFOAM/user-2.1.x/run/twoPhaseEulerFoam/aa_bubblyJet/bubblyJet/processor*

From function decomposePar
in file decomposePar.C at line 241.

FOAM exiting

user@host:~/OpenFOAM/user-2.1.x/run/twoPhaseEulerFoam/aa_bubblyJet/bubblyJet$

Discussion

  • Bernhard Gschaider

     
  • Bernhard Gschaider

    Happens that I fixed this problem a couple of weeks ago on my development copy.

    Uploaded a patch with the fix. Try to apply the patch with

    patch -p0 <DecomposerClear.patch

    (you have to be in the right directory for this to work) and report. If it works I'll close the bug. The fix will be in the next release anyway

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.