MicroNanoFlows / OpenFOAM-2.4.0-MNF

OpenFOAM 2.4.0 plus the MicroNanoFlow Group Codes
http://www.micronanoflows.ac.uk/
Other
50 stars 37 forks source link

Dynamic load balance #5

Closed azacharos closed 5 years ago

azacharos commented 5 years ago

During the process of the dynamic load balance, more specific by the end of the process, the routine try to execute the command rmTimeDirs from the bash and it cannot be found and the run stops.

craigwhite87 commented 5 years ago

I have pushed the script to ~/OpenFOAM/OpenFOAM-2.4.0-MNF/bin . You can pull from the devel-craig branch. You might have to change the permissions and/or make it executable on your machine once it's been pulled down.

skyer1900 commented 5 years ago

Sorry,I don't find the script. when I perform parallel calculations of dsmcFoamPlus with scotch decompose method. But I also encountered an error: sh: 1: rmTimeDirs: not found

  1. In decomposePar, I set method : scotch;
  2. In loadbalanceDir, enableBalancing true; maximumAllowableImbalance 0.05;
  3. In balanceParDir numberOfSubdomains 6; method scotch; weightField dsmcRhoN_mixture;

I also use the script in paper dsmcFoam+: An OpenFOAM based direct simulation Monte Carlo solver If possible, please show more details about how to solve it and where is the file

craigwhite87 commented 5 years ago

Are you pulling from the devel-craig branch? https://github.com/MicroNanoFlows/OpenFOAM-2.4.0-MNF/tree/devel-craig/bin