I'm working though Michael Hindley's OpenFOAM CFD tutorial and can get as far as performing an analysis (mesh, inlet, outlet and walls declared OK) but I can't get the solver to play...
Code: Select all
21:39:07 Traceback (most recent call last):
File "C:\Users\Mike.Griew\AppData\Roaming\FreeCAD\Mod\CfdOF\CfdAnalysis.py", line 123, in onChanged
self.makePartTransparent(vobj)
File "C:\Users\Mike.Griew\AppData\Roaming\FreeCAD\Mod\CfdOF\CfdAnalysis.py", line 141, in makePartTransparent
FreeCAD.getDocument(docName).getObject(obj.Name).ViewObject.Transparency = 70
<class 'AttributeError'>: 'Gui.ViewProviderLink' object has no attribute 'Transparency'
21:39:07 Traceback (most recent call last):
File "C:\Users\Mike.Griew\AppData\Roaming\FreeCAD\Mod\CfdOF\CfdAnalysis.py", line 123, in onChanged
self.makePartTransparent(vobj)
File "C:\Users\Mike.Griew\AppData\Roaming\FreeCAD\Mod\CfdOF\CfdAnalysis.py", line 141, in makePartTransparent
FreeCAD.getDocument(docName).getObject(obj.Name).ViewObject.Transparency = 70
<class 'AttributeError'>: 'Gui.ViewProviderLink' object has no attribute 'Transparency'
21:39:07 Traceback (most recent call last):
File "C:\Users\Mike.Griew\AppData\Roaming\FreeCAD\Mod\CfdOF\CfdAnalysis.py", line 123, in onChanged
self.makePartTransparent(vobj)
File "C:\Users\Mike.Griew\AppData\Roaming\FreeCAD\Mod\CfdOF\CfdAnalysis.py", line 141, in makePartTransparent
FreeCAD.getDocument(docName).getObject(obj.Name).ViewObject.Transparency = 70
<class 'AttributeError'>: 'Gui.ViewProviderLink' object has no attribute 'Transparency'
21:39:07 Traceback (most recent call last):
File "C:\Users\Mike.Griew\AppData\Roaming\FreeCAD\Mod\CfdOF\CfdAnalysis.py", line 123, in onChanged
self.makePartTransparent(vobj)
File "C:\Users\Mike.Griew\AppData\Roaming\FreeCAD\Mod\CfdOF\CfdAnalysis.py", line 141, in makePartTransparent
FreeCAD.getDocument(docName).getObject(obj.Name).ViewObject.Transparency = 70
<class 'AttributeError'>: 'Gui.ViewProviderLink' object has no attribute 'Transparency'
21:39:07 Traceback (most recent call last):
File "C:\Users\Mike.Griew\AppData\Roaming\FreeCAD\Mod\CfdOF\CfdAnalysis.py", line 123, in onChanged
self.makePartTransparent(vobj)
File "C:\Users\Mike.Griew\AppData\Roaming\FreeCAD\Mod\CfdOF\CfdAnalysis.py", line 141, in makePartTransparent
FreeCAD.getDocument(docName).getObject(obj.Name).ViewObject.Transparency = 70
<class 'AttributeError'>: 'Gui.ViewProviderLink' object has no attribute 'Transparency'
21:44:50 Writing case to folder C:\Users\MIKE~1.GRI\AppData\Local\Temp
21:44:50 Matching boundary conditions ...
21:44:50 Populating createPatchDict to update BC names
21:44:50 Successfully wrote case to folder C:\Users\MIKE~1.GRI\AppData\Local\Temp
21:44:56 Solver run command: C:\Program Files\ESI-OpenCFD\OpenFOAM\v2012\msys64\usr\bin\bash --login -O expand_aliases -c echo Sourcing OpenFOAM environment...; source $HOME/OpenFOAM/OpenFOAM-v2012/etc/bashrc; export PATH=$FOAM_LIBBIN/msmpi:$FOAM_LIBBIN:$WM_THIRD_PARTY_DIR/platforms/linux64MingwDPInt32/lib:$PATH; cd "/c/Users/MIKE~1.GRI/AppData/Local/Temp/case" && ./Allrun
21:44:56 C:\Program Files\ESI-OpenCFD\OpenFOAM\v2012\msys64\usr\bin\bash --login -O expand_aliases -c echo Sourcing OpenFOAM environment...; source $HOME/OpenFOAM/OpenFOAM-v2012/etc/bashrc; export PATH=$FOAM_LIBBIN/msmpi:$FOAM_LIBBIN:$WM_THIRD_PARTY_DIR/platforms/linux64MingwDPInt32/lib:$PATH; cd "/c/Users/MIKE~1.GRI/AppData/Local/Temp/case" && ./Allrun
21:44:56 Raw command: ['C:/Program Files/FreeCAD_0.19/bin\\python.exe', '-u', 'C:\\Users\\Mike.Griew\\AppData\\Roaming\\FreeCAD\\Mod\\CfdOF\\WindowsRunWrapper.py', 'C:\\Program Files\\ESI-OpenCFD\\OpenFOAM\\v2012\\msys64\\usr\\bin\\bash', '--login', '-O', 'expand_aliases', '-c', 'echo Sourcing OpenFOAM environment...; source $HOME/OpenFOAM/OpenFOAM-v2012/etc/bashrc; export PATH=$FOAM_LIBBIN/msmpi:$FOAM_LIBBIN:$WM_THIRD_PARTY_DIR/platforms/linux64MingwDPInt32/lib:$PATH; cd "/c/Users/MIKE~1.GRI/AppData/Local/Temp/case" && ./Allrun']
21:44:57 Sourcing OpenFOAM environment...
21:44:57 openfoam: windows support (mingw64) is runtime only
21:45:15 /*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2012 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 79e353b84e-20201222 OPENFOAM=2012
Arch : "LSB;label=32;scalar=64"
Exec : C:\Program Files\ESI-OpenCFD\OpenFOAM\v2012\msys64\home\ofuser\OpenFOAM\OpenFOAM-v2012\platforms\win64MingwDPInt32Opt\bin\createPatch.exe -overwrite
Date : Mar 19 2021
Time : 21:45:15
Host : NM-064-D52604
PID : 5144
21:45:15 I/O : uncollated
Case : C:/Users/MIKE~1.GRI/AppData/Local/Temp/case
nProcs : 1
trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 5, maxFileModificationPolls 20)
allowSystemOperations : Allowing user-supplied system call operations
21:45:15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time
--> FOAM Warning :
From void* Foam::dlLibraryTable::openLibrary(const Foam::fileName&, bool)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 188
Could not load "libmomentumTransportModels.so"
Error 8676208: pc„
Create polyMesh for time = 0
21:45:15 Reading "system/createPatchDict"
21:45:15 Adding new patch inlet as patch 1 from
{
type patch;
}
Adding new patch outlet as patch 2 from
{
type patch;
}
Adding new patch wall as patch 3 from
{
type wall;
}
Adding new patch defaultFaces as patch 4 from
{
type patch;
}
21:45:15 --> FOAM Warning :
From const Foam::HashTable<Foam::List<int> >& Foam::polyBoundaryMesh::groupPatchIDs() const
in file meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C at line 510
Removed patchGroup 'wall' which clashes with patch 3 of the same name.
--> FOAM Warning :
From Foam::labelHashSet Foam::polyBoundaryMesh::patchSet(const Foam::UList<Foam::wordRe>&, bool, bool) const
in file meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C at line 896
Cannot find any patch or group names matching "patch_1_.*"
--> FOAM Warning :
From Foam::labelHashSet Foam::polyBoundaryMesh::patchSet(const Foam::UList<Foam::wordRe>&, bool, bool) const
in file meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C at line 896
Cannot find any patch or group names matching "patch_2_.*"
--> FOAM Warning :
From Foam::labelHashSet Foam::polyBoundaryMesh::patchSet(const Foam::UList<Foam::wordRe>&, bool, bool) const
in file meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C at line 896
Cannot find any patch or group names matching "patch_3_.*"
Moving faces from patch patch_0_0 to patch 4
Doing topology modification to order faces.
21:45:15 Not synchronising points.
Removing patches with no faces in them.
Removing zero-sized patch patch_0_0 type wall at position 0
Removing patches.
Writing repatched mesh to 0
21:45:15 End
21:45:15 /*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2012 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 79e353b84e-20201222 OPENFOAM=2012
Arch : "LSB;label=32;scalar=64"
Exec : C:\Program Files\ESI-OpenCFD\OpenFOAM\v2012\msys64\home\ofuser\OpenFOAM\OpenFOAM-v2012\platforms\win64MingwDPInt32Opt\bin\potentialFoam.exe -initialiseUBCs -pName p -writep
Date : Mar 19 2021
Time : 21:45:15
Host : NM-064-D52604
PID : 12860
I/O : uncollated
Case : C:/Users/MIKE~1.GRI/AppData/Local/Temp/case
nProcs : 1
21:45:15 trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 5, maxFileModificationPolls 20)
allowSystemOperations : Allowing user-supplied system call operations
21:45:15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time
--> FOAM Warning :
From void* Foam::dlLibraryTable::openLibrary(const Foam::fileName&, bool)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 188
Could not load "libmomentumTransportModels.so"
Error 8679328: o„
Create mesh for time = 0
21:45:15
potentialFlow: Operating solver in PISO mode
Reading velocity field U
21:45:15