cfdOF install

A subforum specific to the development of the OpenFoam-based workbenches ( Cfd https://github.com/qingfengxia/Cfd and CfdOF https://github.com/jaheyns/CfdOF )

Moderator: oliveroxtoby

Syres
Posts: 137
Joined: Thu Aug 09, 2018 11:14 am

Re: cfdOF install

Postby Syres » Wed Sep 05, 2018 4:39 pm

That does sound like it's got stuck because that part of the installation isn't that big. Not sure whether there's a log recording through the setup process for someone to investigate.
I've seen on the https://www.cfd-online.com forum whether some users have had to kill the install but happy for someone else to advise if they've seen this behaviour before.
ljb
Posts: 43
Joined: Tue Sep 04, 2018 3:56 pm

Re: cfdOF install

Postby ljb » Wed Sep 05, 2018 4:51 pm

Dang - never mind, I figured it out.

An install window (for ms-mpi) was hidden behind some other stuff.

As soon as I ack'ed it the whole process finished in a few seconds.

It has been a while since I got bitten by that one. Sorry.
thschrader
Posts: 1363
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: cfdOF install

Postby thschrader » Wed Sep 05, 2018 5:06 pm

ljb wrote:
Wed Sep 05, 2018 4:12 pm
Should I be concerned?
Keep cool, installing cfd-wb is not easy. My workflow:

Download bluecfd-core/cfmesh/HiSA directly from

http://bluecfd.github.io/Core/Downloads/
https://sourceforge.net/projects/cfmesh ... p/download
https://sourceforge.net/projects/hisa/f ... p/download

Install bluecfd-core 2017-2 without using preferences, use the downloaded exe.
bluecfd-core installs bluecfd-core, paraview, notepad, MS-MPI7.1.
Warning: before install, all existing MPIs must be uninstalled, otherwise
bluecfd-core terminates install with error (after 1 hour install, happened on my machine...)
After installing, activate the bluecfd-console and run a tutorial to check openfoam.

Start FC, goto preferences/cfd:
Fill in path to openfoam install directory (should be the same as in pic).
Set your default output directory. In this directory the meshCase/case files
are written.

Install cfmesh by using the „Choose existing file option“ with your downloaded
cfmesh-cfdof.zip. Click install button. Installing cfmesh needed approx 90 min
on my laptop.

Do the same with Hisa-master.zip. Needs 40 min.

Check dependencies.

The whole installation including download needed several hours for me.
But its worth to do that

About compressible solver:
Yes button is active. I try to get HiSA running...

regards Thomas
ljb
Posts: 43
Joined: Tue Sep 04, 2018 3:56 pm

Re: cfdOF install

Postby ljb » Wed Sep 05, 2018 6:04 pm

Thanks Thomas,

I was halfway into the cfMesh install when your post hit, so I just let it run, followed by HISA.

All via the Preferences install.

Dependency check

Code: Select all

Checking dependencies...
No missing dependencies detected
But there were many error messages during the mesh install, and a few during the hisa install.

Running the mesh operation on my elbow model worked better than before, but still had some trouble

Status window in CFD Mesh window of task tab

Code: Select all

0.0: Starting meshing ...
0.0: Exporting mesh region data ...
0.3: Exporting the part surfaces ...
0.3: Running gmsh ...
8.5: Meshing completed

Code: Select all

Checking CFD workbench dependencies...
Checking FreeCAD version
Checking for OpenFOAM:
Running  echo $WM_PROJECT_VERSION
Raw command:  [u'C:/Program Files/FreeCAD 0.17/bin\\python.exe', '-u', 'C:\\Users\\LB17\\AppData\\Roaming\\FreeCAD\\Mod\\CfdOF\\WindowsRunWrapper.py', 'C:\\PROGRA~1\\BLUECF~1\\OPENFO~1.X\\..\\msys64\\usr\\bin\\bash', '--login', '-O', 'expand_aliases', '-c', 'echo $WM_PROJECT_VERSION']
Setting environment for OpenFOAM 5.x mingw-w64 Double Precision (of5-64), using MSMPI71 - please wait...
Environment is now ready. Notes:
   - You can change between installed versions by running: ofmenu
   - You can change to other predefined versions by running: ofmenuNew
5.x
Running  cartesianMesh -help
Raw command:  [u'C:/Program Files/FreeCAD 0.17/bin\\python.exe', '-u', 'C:\\Users\\LB17\\AppData\\Roaming\\FreeCAD\\Mod\\CfdOF\\WindowsRunWrapper.py', 'C:\\PROGRA~1\\BLUECF~1\\OPENFO~1.X\\..\\msys64\\usr\\bin\\bash', '--login', '-O', 'expand_aliases', '-c', 'cartesianMesh -help']
Setting environment for OpenFOAM 5.x mingw-w64 Double Precision (of5-64), using MSMPI71 - please wait...
Environment is now ready. Notes:
   - You can change between installed versions by running: ofmenu
   - You can change to other predefined versions by running: ofmenuNew

Usage: cartesianMesh [OPTIONS]
options:
  -case <dir>       specify alternate case directory, default is the cwd
  -fileHandler <handler>
                    override the fileHandler
  -listFunctionObjects
                    List functionObjects
  -listRegisteredSwitches
                    List switches registered for run-time modification
  -listSwitches     List switches declared in libraries but not set in
                    etc/controlDict
  -listUnsetSwitches
                    List switches declared in libraries but not set in
                    etc/controlDict
  -noFunctionObjects
                    do not execute functionObjects
  -parallel         run in parallel
  -roots <(dir1 .. dirN)>
                    slave root directories for distributed running
  -srcDoc           display source code in browser
  -doc              display application documentation in browser
  -help             print the usage

Using: OpenFOAM-5.x (see www.OpenFOAM.org)
Build: 5.x-963176928289

Running  hisa -help
Raw command:  [u'C:/Program Files/FreeCAD 0.17/bin\\python.exe', '-u', 'C:\\Users\\LB17\\AppData\\Roaming\\FreeCAD\\Mod\\CfdOF\\WindowsRunWrapper.py', 'C:\\PROGRA~1\\BLUECF~1\\OPENFO~1.X\\..\\msys64\\usr\\bin\\bash', '--login', '-O', 'expand_aliases', '-c', 'hisa -help']
Setting environment for OpenFOAM 5.x mingw-w64 Double Precision (of5-64), using MSMPI71 - please wait...
Environment is now ready. Notes:
   - You can change between installed versions by running: ofmenu
   - You can change to other predefined versions by running: ofmenuNew

Usage: hisa [OPTIONS]
options:
  -case <dir>       specify alternate case directory, default is the cwd
  -fileHandler <handler>
                    override the fileHandler
  -listFunctionObjects
                    List functionObjects
  -listRegisteredSwitches
                    List switches registered for run-time modification
  -listScalarBCs    List scalar field boundary conditions (fvPatchField<scalar>)
  -listSwitches     List switches declared in libraries but not set in
                    etc/controlDict
  -listUnsetSwitches
                    List switches declared in libraries but not set in
                    etc/controlDict
  -listVectorBCs    List vector field boundary conditions (fvPatchField<vector>)
  -noFunctionObjects
                    do not execute functionObjects
  -parallel         run in parallel
  -roots <(dir1 .. dirN)>
                    slave root directories for distributed running
  -srcDoc           display source code in browser
  -doc              display application documentation in browser
  -help             print the usage

Using: OpenFOAM-5.x (see www.OpenFOAM.org)
Build: 5.x-963176928289

Checking for gmsh:
Completed CFD dependency check
Loading Sketcher module... done
Loading PartDesign module... done
Loading GUI of Part module... done
Loading GUI of Sketcher module... done
Loading GUI of PartDesign module... done
Analysis the Mesh belongs to was activated.
Loading MeshPart module... done
Loading Mesh module... done
Mesh GMSH object does not belong to an analysis. Group meshing will be deactivated.

Starting meshing ...

  Part to mesh: Name --> Pad,  Label --> Pad, ShapeType --> Solid
  CharacteristicLengthMax: 800.0
  ElementDimension: 3D
  No mesh regions.
Populating mesh dictionaries in folder c:\users\lb17\appdata\local\temp\meshCase
Successfully wrote meshCase to folder c:\users\lb17\appdata\local\temp\meshCase
Executing: C:\PROGRA~1\BLUECF~1\OPENFO~1.X\..\msys64\usr\bin\bash --login -O expand_aliases -c cd "/c/users/lb17/appdata/local/temp/meshCase" && ./Allmesh
Setting environment for OpenFOAM 5.x mingw-w64 Double Precision (of5-64), using MSMPI71 - please wait...
Environment is now ready. Notes:
   - You can change between installed versions by running: ofmenu
   - You can change to other predefined versions by running: ofmenuNew
Info    : Running 'C:\Program Files\FreeCAD 0.17\bin\gmsh.exe - gmsh/Pad_Geometry.geo' [Gmsh 3.0.6, 1 node, max. 1 thread]
Info    : Started on Wed Sep 05 12:45:16 2018
Info    : Reading 'gmsh/Pad_Geometry.geo'...
Info    : Reading 'c:\users\lb17\appdata\local\temp\meshCase\gmsh\Pad_Geometry.brep'...
Info    : Done reading 'c:\users\lb17\appdata\local\temp\meshCase\gmsh\Pad_Geometry.brep'
Info    : Finalized high order topology of periodic connections
Info    : Meshing 1D...
Info    : Meshing curve 1 (Line)
Info    : Meshing curve 2 (Line)
Info    : Meshing curve 3 (Line)
Info    : Meshing curve 4 (Line)
Info    : Meshing curve 5 (Line)
Info    : Meshing curve 6 (Line)
Info    : Meshing curve 7 (Line)
Info    : Meshing curve 8 (Line)
Info    : Meshing curve 9 (Line)
Info    : Meshing curve 10 (Line)
Info    : Meshing curve 11 (Line)
Info    : Meshing curve 12 (Circle)
Info    : Meshing curve 13 (Circle)
Info    : Meshing curve 14 (Line)
Info    : Meshing curve 15 (Line)
Info    : Meshing curve 16 (Line)
Info    : Meshing curve 17 (Line)
Info    : Meshing curve 18 (Line)
Info    : Meshing curve 19 (Line)
Info    : Meshing curve 20 (Line)
Info    : Meshing curve 21 (Line)
Info    : Meshing curve 22 (Line)
Info    : Meshing curve 23 (Line)
Info    : Meshing curve 24 (Circle)
Info    : Meshing curve 25 (Circle)
Info    : Meshing curve 26 (Line)
Info    : Meshing curve 27 (Line)
Info    : Meshing curve 28 (Line)
Info    : Meshing curve 29 (Line)
Info    : Meshing curve 30 (Line)
Info    : Meshing curve 31 (Line)
Info    : Meshing curve 32 (Line)
Info    : Meshing curve 33 (Line)
Info    : Meshing curve 34 (Line)
Info    : Meshing curve 35 (Circle)
Info    : Meshing curve 36 (Circle)
Info    : Done meshing 1D (0.015625 s)
Info    : Meshing 2D...
Info    : Meshing surface 1 (Plane, Delaunay)
Info    : Meshing surface 2 (Plane, Delaunay)
Info    : Meshing surface 3 (Plane, Delaunay)
Info    : Meshing surface 4 (Cylinder, Delaunay)
Info    : Meshing surface 5 (Plane, Delaunay)
Info    : Meshing surface 6 (Plane, Delaunay)
Info    : Meshing surface 7 (Plane, Delaunay)
Info    : Meshing surface 8 (Cylinder, Delaunay)
Info    : Meshing surface 9 (Plane, Delaunay)
Info    : Meshing surface 10 (Plane, Delaunay)
Info    : Meshing surface 11 (Plane, Delaunay)
Info    : Meshing surface 12 (Cylinder, Delaunay)
Info    : Meshing surface 13 (Plane, Delaunay)
Info    : Meshing surface 14 (Plane, Delaunay)
Info    : Done meshing 2D (1.32813 s)
Info    : Meshing 3D...
Info    : Delaunay Meshing 1 volumes with 1 connected components
Info    : Meshing volume 1 (Delaunay)
Delaunizing vertices...
Delaunay seconds:  0.201
Creating surface mesh ...
Surface mesh seconds:  0.024
Recovering boundaries...
Boundary recovery seconds:  0.051
Removing exterior tetrahedra ...
Exterior tets removal seconds:  0.019
Recovering Delaunayness...
Delaunay recovery seconds:  0.136
Optimizing mesh...
Optimization seconds:  0.039

Writing nodes.
Writing elements.
Writing faces.
Writing edges.

Output seconds:  0.016
Total running seconds:  0.488

Statistics:

  Input points: 7523
  Input facets: 15042
  Input segments: 22563
  Input holes: 0
  Input regions: 0

  Mesh points: 7537
  Mesh tetrahedra: 22106
  Mesh faces: 51733
  Mesh edges: 37163
  Mesh faces on exterior boundary: 15042
  Mesh edges on exterior boundary: 22563
  Mesh faces on input facets: 15042
  Mesh edges on input segments: 22563
  Steiner points inside domain: 14

Info    : 7537 points 37163 edges and 15042 faces in the initial mesh
Info    : Found region 1
Info    : 0 points created - Worst tet radius is 1.72483 (PTS removed 0 0)
Info    : 3D point insertion terminated (7558 points created):
Info    :  - 0 Delaunay cavities modified for star shapeness
Info    :  - 34 points could not be inserted
Info    :  - 22263 tetrahedra created in 0 sec. (-2147483648 tets/sec.)
Info    : Done meshing 3D (0.796875 s)
Info    : Optimizing 3D mesh...
Info    : Optimizing volume 1
Info    : Opti : STARTS with  1.68261E+12 QBAD  6.15878E-03 QAVG  6.07392E-01
Info    : Opti : 0.00 < QUAL < 0.10 :        65 elements
Info    : Opti : 0.10 < QUAL < 0.20 :       131 elements
Info    : Opti : 0.20 < QUAL < 0.30 :       177 elements
Info    : Opti : 0.30 < QUAL < 0.40 :       287 elements
Info    : Opti : 0.40 < QUAL < 0.50 :      1223 elements
Info    : Opti : 0.50 < QUAL < 0.60 :      7658 elements
Info    : Opti : 0.60 < QUAL < 0.70 :      9887 elements
Info    : Opti : 0.70 < QUAL < 0.80 :      2233 elements
Info    : Opti : 0.80 < QUAL < 0.90 :       584 elements
Info    : Opti : 0.90 < QUAL < 1.00 :        18 elements
Info    : Opti : (361,0,1) =  1.68261E+12 QBAD  6.15878E-03 QAVG  6.14953E-01 (   0.016 sec)
Info    : Opti : (375,0,1) =  1.68261E+12 QBAD  6.15878E-03 QAVG  6.15085E-01 (   0.031 sec)
Info    : Opti : 2 ill-shaped tets are still in the mesh
Info    : Opti : 0.00 < QUAL < 0.10 :         3 elements
Info    : Opti : 0.10 < QUAL < 0.20 :         1 elements
Info    : Opti : 0.20 < QUAL < 0.30 :         7 elements
Info    : Opti : 0.30 < QUAL < 0.40 :       249 elements
Info    : Opti : 0.40 < QUAL < 0.50 :      1145 elements
Info    : Opti : 0.50 < QUAL < 0.60 :      7724 elements
Info    : Opti : 0.60 < QUAL < 0.70 :     10025 elements
Info    : Opti : 0.70 < QUAL < 0.80 :      2199 elements
Info    : Opti : 0.80 < QUAL < 0.90 :       575 elements
Info    : Opti : 0.90 < QUAL < 1.00 :        18 elements
Info    : Done optimizing 3D mesh (0.046875 s)
Info    : 7558 vertices 37699 elements
Info    : Writing 'c:\users\lb17\appdata\local\temp\meshCase\gmsh\Pad_Geometry.msh'...
Info    : Done writing 'c:\users\lb17\appdata\local\temp\meshCase\gmsh\Pad_Geometry.msh'
Info    : Done reading 'gmsh/Pad_Geometry.geo'
Info    : Stopped on Wed Sep 05 12:45:18 2018
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  5.x                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
/*   Windows 32 and 64 bit porting by blueCAPE: http://www.bluecape.com.pt   *\
|  Based on Windows porting (2.0.x v4) by Symscape: http://www.symscape.com   |
\*---------------------------------------------------------------------------*/
Build  : 5.x-963176928289
Exec   : C:/PROGRA~1/BLUECF~1/OpenFOAM-5.x/platforms/mingw_w64GccDPInt32Opt/bin/gmshToFoam.exe gmsh/Pad_Geometry.msh
Date   : Sep 05 2018
Time   : 12:45:18
Host   : "BAKER17"
PID    : 17896
I/O    : uncollated
Case   : C:/users/lb17/appdata/local/temp/meshCase
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

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Starting to read mesh format at line 2
Read format version 2.2  ascii 0

Starting to read physical names at line 5
Physical names:15
    Surface 2	face12
    Surface 3	face13
    Surface 4	face10
    Surface 5	face11
    Surface 6	face4
    Surface 7	face5
    Surface 8	face6
    Surface 9	face7
    Surface 10	face0
    Surface 11	face1
    Surface 12	face2
    Surface 13	face3
    Surface 14	face8
    Surface 15	face9
    Volume 1	Internal

Starting to read points at line 23
Vertices to be read:7558
Vertices read:7558

Starting to read cells at line 7584
Cells to be read:36995

Mapping region 10 to Foam patch 0
Mapping region 11 to Foam patch 1
Mapping region 12 to Foam patch 2
Mapping region 13 to Foam patch 3
Mapping region 6 to Foam patch 4
Mapping region 7 to Foam patch 5
Mapping region 8 to Foam patch 6
Mapping region 9 to Foam patch 7
Mapping region 14 to Foam patch 8
Mapping region 15 to Foam patch 9
Mapping region 4 to Foam patch 10
Mapping region 5 to Foam patch 11
Mapping region 2 to Foam patch 12
Mapping region 3 to Foam patch 13
Mapping region 1 to Foam cellZone 0
Cells:
    total:21953
    hex  :0
    prism:0
    pyr  :0
    tet  :21953

CellZones:
Zone	Size
    0	21953

Skipping tag  at line 44582
Patch 0 gets name face0
Patch 1 gets name face1
Patch 2 gets name face2
Patch 3 gets name face3
Patch 4 gets name face4
Patch 5 gets name face5
Patch 6 gets name face6
Patch 7 gets name face7
Patch 8 gets name face8
Patch 9 gets name face9
Patch 10 gets name face10
Patch 11 gets name face11
Patch 12 gets name face12
Patch 13 gets name face13

--> FOAM Warning : 
    From function Foam::polyMesh::polyMesh(const Foam::IOobject&, const Foam::Xfer<Foam::Field<Foam::Vector<double> > >&, const cellShapeList&, const faceListList&, const wordList&, const wordList&, const Foam::word&, const Foam::word&, const wordList&, bool)
    in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 595
    Found 15042 undefined faces in mesh; adding to default patch.
Finding faces of patch 0
Finding faces of patch 1
Finding faces of patch 2
Finding faces of patch 3
Finding faces of patch 4
Finding faces of patch 5
Finding faces of patch 6
Finding faces of patch 7
Finding faces of patch 8
Finding faces of patch 9
Finding faces of patch 10
Finding faces of patch 11
Finding faces of patch 12
Finding faces of patch 13

FaceZones:
Zone	Size

Writing zone 0 to cellZone Internal and cellSet
End

/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  5.x                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
/*   Windows 32 and 64 bit porting by blueCAPE: http://www.bluecape.com.pt   *\
|  Based on Windows porting (2.0.x v4) by Symscape: http://www.symscape.com   |
\*---------------------------------------------------------------------------*/
Build  : 5.x-963176928289
Exec   : C:/PROGRA~1/BLUECF~1/OpenFOAM-5.x/platforms/mingw_w64GccDPInt32Opt/bin/transformPoints.exe -scale (0.001 0.001 0.001)
Date   : Sep 05 2018
Time   : 12:45:19
Host   : "BAKER17"
PID    : 5684
I/O    : uncollated
Case   : C:/users/lb17/appdata/local/temp/meshCase
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

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Scaling points by (0.001 0.001 0.001)
Writing points into directory "C:/users/lb17/appdata/local/temp/meshCase/constant/polyMesh"

End

/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  5.x                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
/*   Windows 32 and 64 bit porting by blueCAPE: http://www.bluecape.com.pt   *\
|  Based on Windows porting (2.0.x v4) by Symscape: http://www.symscape.com   |
\*---------------------------------------------------------------------------*/
Build  : 5.x-963176928289
Exec   : C:/PROGRA~1/BLUECF~1/OpenFOAM-5.x/platforms/mingw_w64GccDPInt32Opt/bin/surfaceMeshTriangulate.exe mesh_outside.stl
Date   : Sep 05 2018
Time   : 12:45:19
Host   : "BAKER17"
PID    : 19708
I/O    : uncollated
Case   : C:/users/lb17/appdata/local/temp/meshCase
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

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Extracting surface from boundaryMesh ...

Including all processor patches.

Reading mesh from time 0
Create polyMesh for time = 0

surfZone 0 : face3
surfZone 1 : face13
surfZone 2 : face1
surfZone 3 : face0
surfZone 4 : face8
surfZone 5 : face12
surfZone 6 : face4
surfZone 7 : face2
surfZone 8 : face5
surfZone 9 : face11
surfZone 10 : face6
surfZone 11 : face10
surfZone 12 : face7
surfZone 13 : face9
Writing merged surface to "C:/users/lb17/appdata/local/temp/meshCase/mesh_outside.stl"
End

/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  5.x                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
/*   Windows 32 and 64 bit porting by blueCAPE: http://www.bluecape.com.pt   *\
|  Based on Windows porting (2.0.x v4) by Symscape: http://www.symscape.com   |
\*---------------------------------------------------------------------------*/
Build  : 5.x-963176928289
Exec   : C:/PROGRA~1/BLUECF~1/OpenFOAM-5.x/platforms/mingw_w64GccDPInt32Opt/bin/surfaceTransformPoints.exe -scale (1000 1000 1000) mesh_outside.stl mesh_outside.stl
Date   : Sep 05 2018
Time   : 12:45:20
Host   : "BAKER17"
PID    : 8652
I/O    : uncollated
Case   : C:/users/lb17/appdata/local/temp/meshCase
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

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Reading surf from "mesh_outside.stl" ...
Writing surf to "mesh_outside.stl" ...
Scaling points by (1000 1000 1000)
End

Fem::FemMeshObjectPython: Links go out of the allowed scope
last few lines from above suggest that all those error messages might be a problem ... :-)
*****************
Reading surf from "mesh_outside.stl" ...
Writing surf to "mesh_outside.stl" ...
Scaling points by (1000 1000 1000)
End

Fem::FemMeshObjectPython: Links go out of the allowed scope
*****************


Am I going to have to un-install a bunch of stuff, before I can try again?

edit shMesh to cfMesh
Syres
Posts: 137
Joined: Thu Aug 09, 2018 11:14 am

Re: cfdOF install

Postby Syres » Wed Sep 05, 2018 7:24 pm

I don't think you need to re-install anything, I've had the FEM::FemMeshPythonObject warning on:

OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14555 (Git)
Build type: Release
Branch: master
Hash: 7d8e53aaab17961d85c5009de34f69f2af084e8b
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedKingdom (en_GB)


and I can complete the Elbow Tutorial successfully.

Just try the tutorial and maybe ignore the Report View unless something actually doesn't work, there are occasional advisory warnings/errors and it's just knowing what is important and that will only come with time and going through each of the tutorials until you're comfortable with it.
thschrader
Posts: 1363
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: cfdOF install

Postby thschrader » Wed Sep 05, 2018 7:34 pm

ljb wrote:
Wed Sep 05, 2018 6:04 pm
Am I going to have to un-install a bunch of stuff, before I can try again?
edit shMesh to cfMesh
No, dont do that. Can you post your FC-file with a description?
I will try a new run....
What means "edit shMesh to cfMesh".
Thomas
thschrader
Posts: 1363
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: cfdOF install

Postby thschrader » Wed Sep 05, 2018 7:41 pm

Syres wrote:
Wed Sep 05, 2018 7:24 pm
I don't think you need to re-install anything, I've had the FEM::FemMeshPythonObject warning on:
Sir, no python warnings on my machine.
FC-version:
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14315 (Git)
Build type: Release
Branch: master
Hash: 5f8f26824486b55b2bf72c579e95f0f6d4a19284
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: German/Germany (de_DE)
engine_inlet.JPG
engine_inlet.JPG (119.91 KiB) Viewed 287 times
ljb
Posts: 43
Joined: Tue Sep 04, 2018 3:56 pm

Re: cfdOF install

Postby ljb » Wed Sep 05, 2018 8:51 pm

Thanks Syres, thschrader

I'll try a new run through the sim, but I expect those errors to show up somewhere, somehow ... eventually.

The edit was to correct a reference in my comments from my 1:04 PM post.

What kind of description for my FC file do you want?

I did a manual copy of the model from the picture in the tutorial.
I ended with 1 degree of freedom I could not eliminate.
I saw some msgs in the report view that referred to a cylinder. All I used was lines and arcs and points.

I find it amusing that computers are able to do something useful with hundreds of error messages from the install process and a model that is not mathematically 'right'. Such things have to go bonkers sooner or later, don't they?

GIGO

Dang - I hope the guy that designed the plane I'll be using next week had better luck.

edit: 6:04 to 1:04
Attachments
test_elbow_1.FCStd
(19.57 KiB) Downloaded 6 times
ljb
Posts: 43
Joined: Tue Sep 04, 2018 3:56 pm

Re: cfdOF install

Postby ljb » Thu Sep 06, 2018 12:57 am

So I went to the next step in the tutorial, after creating the mesh. Said step is adding boundary conditions.

After some ... fiddling ... I managed to get the first inlet set up. At least I think I did.
I started wondering if those errors I saw during installation might be nibbling on my butt.

Inlet1 velocity set to 1,0,0 m/sec.

I also had to fiddle with things when I began working on the second inlet.
More fiddling than with the first inlet.

I wish I could be more descriptive here.
I know you guys like to hear from people like me, trying to do stuff like this.
It helps a lot, in your understanding of what you have actually produced and distributed to the real world.

I wish I could be more descriptive here. But 'fiddling' is as close as I can get.
I'm sorry.
I don't have enough experience to be able to tell you what you need to hear.

Attached is a shot of my FC screen at this point.
Everything has disappeared except the inlet1 face and the inlet2 face.

I think it is bed time.
Attachments
fc_cfdAnalysis_addingBoundaryConditionsFor_test_elbow_v1.png
fc_cfdAnalysis_addingBoundaryConditionsFor_test_elbow_v1.png (88.25 KiB) Viewed 269 times
Syres
Posts: 137
Joined: Thu Aug 09, 2018 11:14 am

Re: cfdOF install

Postby Syres » Thu Sep 06, 2018 9:46 am

You've most likely accidently had the Pad and/or the Body_elbow1 selected in the Model Tree and caught the Space Bar which toggles visibility on and off. Items will be ghosted where the visibility is off and coloured in when visible.