|
[Sponsors] |
May 8, 2020, 14:36 |
Running Case in Parallel
|
#1 |
New Member
Join Date: Apr 2020
Posts: 19
Rep Power: 6 |
Hello,
i wanted to run the Case "damBreak" in Parallel on 6 Processors. But when i excecute my Allrun file the calculation just finish really quick and i have no time directory or processor0, processor1... directorys in my case directory. First I changed the decomposeParDict like this: Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v1912 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object decomposeParDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // numberOfSubdomains 6; method simple; coeffs { n (3 2 1); } distributed no; roots ( ); // ************************************************************************* // Code:
#!/bin/sh cd "${0%/*}" || exit # Run from this directory . ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions #------------------------------------------------------------------------------ runApplication decomposePar -force runApplication blockMesh runParallel setFields runParallel $(getApplication) runApplication reconstructPar -newTimes #------------------------------------------------------------------------------ Code:
/mnt/c/users/typus/tutorials/multiphase/interfoam/laminar/damBreak/damBreak$ ./Allrun Running decomposePar on /mnt/c/users/typus/tutorials/multiphase/interfoam/laminar/damBreak/damBreak Running blockMesh on /mnt/c/users/typus/tutorials/multiphase/interfoam/laminar/damBreak/damBreak Running setFields (6 processes) on /mnt/c/users/typus/tutorials/multiphase/interfoam/laminar/damBreak/damBreak Running interFoam (6 processes) on /mnt/c/users/typus/tutorials/multiphase/interfoam/laminar/damBreak/damBreak Running reconstructPar on /mnt/c/users/typus/tutorials/multiphase/interfoam/laminar/damBreak/damBreak |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is Playstation 3 cluster suitable for CFD work | hsieh | OpenFOAM | 9 | August 16, 2015 14:53 |
simpleFoam parallel | AndrewMortimer | OpenFOAM Running, Solving & CFD | 12 | August 7, 2015 18:45 |
damBreak case parallel run problem | behzad-cfd | OpenFOAM Running, Solving & CFD | 5 | August 2, 2015 17:18 |
Performance of GGI case in parallel | hannes | OpenFOAM Running, Solving & CFD | 26 | August 3, 2011 03:07 |
Free surface boudary conditions with SOLA-VOF | Fan | Main CFD Forum | 10 | September 9, 2006 12:24 |