update: this appears fine when running under windows compiled cfmesh binaries. I should be able to find the problem as it seems to be the way I compiled cfmesh. So don't worry, I should be able to fix.
I was going to propose a patch so that binary could be selected for the mesh and openfoam output (unless this options already exists and I haven't seen it?)
I changed the mesh and case controldict files to use binary so I could test.
snappyHexMesh and gmsh work fine in binary mode.
However, cfmesh throws errors like this during the mesh step.
Before I investiagte fully, any thoughts on where the problem might be?
--> FOAM FATAL IO ERROR:
Expected a ')' while reading binaryBlock, found on line 19 the word ''
file: /tmp/meshCase/constant/polyMesh/faces at line 19.
From function Foam::Istream& Foam::Istream::readEnd(const char*)
in file db/IOstreams/IOstreams/Istream.C at line 109.
FOAM exiting
06:20:34
06:20:34 Checking CFD workbench dependencies...
06:22:39 Checking FreeCAD version
06:22:39 Checking for OpenFOAM:
06:22:39 System: Linux
Runtime: Posix
OpenFOAM directory: /home/openfoam
06:22:39 Running echo $WM_PROJECT_VERSION
06:22:39 Executing: echo $WM_PROJECT_VERSION in None
06:22:39 9
06:22:39 Running cartesianMesh -version
06:22:40 Executing: cartesianMesh -version in None
06:22:40 /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 9
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
Build : 9-b456138dc4bc
Exec : cartesianMesh -version
Date : Oct 23 2022
Time : 19:22:40
Host : "e9a4476046cb"
PID : 2716
06:22:40 I/O : uncollated
Case : /home/openfoam
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
cfMesh-CfdOF (cfMesh 1.1.2) 1.17
06:22:40 Running hisa -version
06:22:40 Executing: hisa -version in None
06:22:40 /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 9
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
Build : 9-b456138dc4bc
Exec : hisa -version
Date : Oct 23 2022
Time : 19:22:40
Host : "e9a4476046cb"
PID : 2851
06:22:40 I/O : uncollated
Case : /home/openfoam
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
hisa 1.7.3
06:22:40 Checking for paraview:
06:22:41 Paraview executable: /usr/bin/paraview
06:22:41 Checking Plot module:
06:22:41 Checking for gmsh:
06:22:41 gmsh executable: gmsh
06:22:41 Running 'gmsh' -version
06:22:41 Executing: 'gmsh' -version in None
06:22:41 4.4.1
06:22:41 Completed CFD dependency check
Using binary for mesh and results - problem with cfmesh (update: unix only)?
Moderator: oliveroxtoby
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum