CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Bugs

using #calc in parallel with openFOAM 2.2.2

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By wyldckat

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   February 26, 2014, 17:56
Default using #calc in parallel with openFOAM 2.2.2
  #1
Member
 
Pascal
Join Date: Jun 2009
Location: Montreal
Posts: 65
Rep Power: 16
Pascal_doran is on a distinguished road
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";
But if I write this :
Code:
Lx      8;
Ly      4;
Lz      4;
dx      0.0555555555555555;
dy      0.0555555555555555;
dz      0.0555555555555555;
Everything is just fine on a serial or parallel run. Note that this :
Code:
Lx      #calc"8";
Ly      #calc"4";
Lz      #calc"4";
dx      0.0555555555555555;
dy      0.0555555555555555;
dz      0.0555555555555555;
still doesn't work on a parallel run. I have no error message at all time.

Anyone has notice such a behavior using #calc with OF 2.2.2?

Thank you,
Pascal
Pascal_doran is offline   Reply With Quote

 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 21:49.