Hi, CfdOF / CFD members!
I want to run simulations on several cores. So, i write in Solver:
Parallel = true
Parallel cores = 4.
Then i press “Write OpenFOAM case”. When it completes, i press “Run Solver”. After about 30 seconds, it exits with an error:
ERROR: Failed to post close command error 1726
ERROR: unable to tear down the job tree. exiting...
— there are the same two lines in log.simpleFoam only.
Status window:
0.0: Checking dependencies...
0.0: OpenFOAM case writer is called
3.8: Write OpenFOAM case is completed
0.2: Starting solver command:
0.2: C:\BLUECF~1\OPENFO~1.X\..\msys64\usr\bin\bash --login -O expand_aliases -c cd "/c/tselli/FreeCAD CFDOF/Cube/case" && ./Allrun
0.3: Solver started
36.3: Simulation exited with error
Report window:
ERROR: Failed to post close command error 1726
ERROR: unable to tear down the job tree. exiting...
Last lines in Python window:
>>> FreeCAD.getDocument("Cube").getObject("OpenFOAM").Parallel = True
>>> FreeCAD.getDocument("Cube").getObject("OpenFOAM").ParallelCores = 4
If i don’t run parallel, it works ok. So, what should i do to run the parallel solver?
P. S. Before FreeCAD/BlueCFD/CfdOF i made parallel simulations in STAR CCM+: 4 cores worked great.
___
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13541 (Git)
Build type: Release
Branch: releases/FreeCAD-0-17
Hash: 9948ee4f1570df9216862a79705afb367b2c6ffb
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: Russian/RussianFederation (ru_RU)