CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Problem Setting floatTransfer Parameter (

GeoffreyJBell November 16, 2011 10:52

Problem Setting floatTransfer Parameter

I have a case in porousSimpleFoam that converges easily when run on a single processor as a serial job. However, when run in parallel using the follwing commands fails to converge:

runApplication blockMesh
runApplication setSet -batch createCanopy.setSet
runApplication setsToZones

runApplication decomposePar
runParallel redistributeMeshPar 4 -overwrite
runParallel renumberMesh 4 -overwrite

runParallel porousSimpleFoam 4

runApplication reconstructParMesh -constant
runApplication reconstructPar

Since my understanding is that failure to converge can result from only single-precision communication between the processors, and that this transfer is controlled using the floatTransfer parameter, and possibly nProcsSimpleSum parameters in controlDict, I have made the following entries in controlDict:

floatTransfer 1;
nProcsSimpleSum 4;

Despite this however, the following is what appears at the top of the log file for porousSimpleFoam.

Note that floatTransfer is still 0, and nProcsSimpleSum is also still 0:

nProcs : 4
Slaves :

Pstream initialized with:
floatTransfer : 0
nProcsSimpleSum : 0
commsType : nonBlocking
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

I would like to be able to change these parameters for trouble-shooting purposes, and I am not sure what I am doing wrong here when trying to change them. I was wondering if anyone might know how I could do this?


Geoff Bell

All times are GMT -4. The time now is 15:34.