|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Dmitry
Join Date: Sep 2018
Posts: 12
Rep Power: 9 ![]() |
Hello everyone!
There was a problem, I can not create a script to run a parallel calculation. I have a script that launches a solver for parallel calculation, it works fine. I want to make a script that allows you to run a parallel calculation with the mesh builder. Here is an example of a script that is currently running. Code:
#!/bin/bash procs=8 foamCleanTutorials rm -rf 0 > /dev/null 2>&1 #cp -r 0_org 0 > /dev/null 2>&1 blockMesh | tee log.blockMesh snappyHexMesh -overwrite | tee log.shm createBaffles -overwrite | tee log.createBaffles mergeOrSplitBaffles -split -overwrite | tee log.mergeOrsplite renumberMesh -overwrite | tee log.renumberMesh cp -r 0.orig 0 decomposePar | tee log.decomposePar mpirun -np $procs pimpleFoam -parallel | tee log.pimpleFoam touch open.foam |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [OLAFLOW] The OLAFLOW Thread | Phicau | OpenFOAM Community Contributions | 461 | June 6, 2025 17:44 |
| Error running openfoam in parallel | fede32 | OpenFOAM Programming & Development | 5 | October 4, 2018 17:38 |
| mapField error | rvl565 | OpenFOAM Pre-Processing | 1 | September 6, 2018 17:13 |
| [Other] dynamicTopoFVMesh and pointDisplacement | RandomUser | OpenFOAM Meshing & Mesh Conversion | 6 | April 26, 2018 08:30 |
| cyclicAMI crashes in parallel when processor has faces for only on AMI patch | AndreasG | OpenFOAM Running, Solving & CFD | 1 | April 9, 2014 10:37 |