|
[Sponsors] |
February 26, 2014, 17:56 |
using #calc in parallel with openFOAM 2.2.2
|
#1 |
Member
Pascal
Join Date: Jun 2009
Location: Montreal
Posts: 65
Rep Power: 16 |
Hi all,
Does anyone had problem using using #calc in parallel with openFOAM 2.2.2? I use #calc to evaluate algebraic expressions in a file which is read by the controlDict and blockMeshDict. Everything seems to work just fine when I run with 1 processor but in parallel the simulation stop while evaluating some #calc expressions like that : Code:
ptX0 -4.00 ; ptX1 4.00 ; ptY0 0.00 ; ptY1 4.00 ; ptZ0 0.00 ; ptZ1 4.00 ; Nx 144 ; Ny 72 ; Nz 72 ; Lx #calc"$ptX1 - $ptX0"; Ly #calc"$ptY1 - $ptY0"; Lz #calc"$ptZ1 - $ptZ0"; dx #calc"$Lx/$Nx"; dy #calc"$Ly/$Ny"; dz #calc"$Lz/$Nz"; Code:
Lx 8; Ly 4; Lz 4; dx 0.0555555555555555; dy 0.0555555555555555; dz 0.0555555555555555; Code:
Lx #calc"8"; Ly #calc"4"; Lz #calc"4"; dx 0.0555555555555555; dy 0.0555555555555555; dz 0.0555555555555555; Anyone has notice such a behavior using #calc with OF 2.2.2? Thank you, Pascal |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Large test case for running OpenFoam in parallel | fhy | OpenFOAM Running, Solving & CFD | 23 | April 6, 2019 09:55 |
[mesh manipulation] Problem with RenumberMesh in parallel in OpenFOAM 2.1.1 | srini_esi | OpenFOAM Meshing & Mesh Conversion | 1 | November 8, 2013 02:48 |
OpenFOAM 2.2.2 source pack installation on Xubuntu 13.10 | zordiack | OpenFOAM Installation | 1 | October 26, 2013 13:08 |
OpenFOAM doesn't run in parallel | callumso | OpenFOAM Running, Solving & CFD | 0 | July 11, 2013 12:17 |
Parallel cluster solving with OpenFoam? P2P Cluster? | hornig | OpenFOAM Programming & Development | 8 | December 5, 2010 16:06 |