CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   How to decompose all time folders? (https://www.cfd-online.com/Forums/openfoam-post-processing/147059-how-decompose-all-time-folders.html)

Sören Sander January 12, 2015 11:14

How to decompose all time folders?
 
Hello Foamers,

how do I decompose all time steps in a given case folder and not only the start time?
E.g. my case is "case1". The folder already got precalculated time folders /0, /1, ... . Running decomposePar in a terminal will check for the start time written in the controlDict, e.g. "1" and decompose this time to the processeors. Is there any why to get the other times decomposed as well (e.g. "0", "2", ...)?

alexeym January 12, 2015 11:34

Hi,

Code:

myself at daphne in ~$ decomposePar -help

Usage: decomposePar [OPTIONS]
options:
  -allRegions      operate on all regions in regionProperties
  -case <dir>      specify alternate case directory, default is the cwd
  -cellDist        write cell distribution as a labelList - for use with
                    'manual' decomposition method or as a volScalarField for
                    post-processing.
  -constant        include the 'constant/' dir in the times list
  -copyUniform      copy any uniform/ directories too
  -fields          use existing geometry decomposition and convert fields only
  -force            remove existing processor*/ subdirs before decomposing the
                    geometry
  -ifRequired      only decompose geometry if the number of domains has changed
  -latestTime      select the latest time
  -noFunctionObjects
                    do not execute functionObjects
  -noSets          skip decomposing cellSets, faceSets, pointSets
  -noZero          exclude the '0/' dir from the times list, has precedence
                    over the -zeroTime option
  -region <name>    specify alternative mesh region
  -time <ranges>    comma-separated time ranges - eg, ':10,20,40:70,1000:'
  -srcDoc          display source code in browser
  -doc              display application documentation in browser
  -help            print the usage

decompose a mesh and fields of a case for parallel execution

Using: OpenFOAM-2.3.0 (see www.OpenFOAM.org)
Build: 2.3.0-f5222ca19ce6



All times are GMT -4. The time now is 19:06.