CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [blockMesh] A Foam Warning on "libsimpleSwakFunctionObjects.so" in blockMesh command (https://www.cfd-online.com/Forums/openfoam-meshing/129219-foam-warning-libsimpleswakfunctionobjects-so-blockmesh-command.html)

immortality January 31, 2014 01:32

A Foam Warning on "libsimpleSwakFunctionObjects.so" in blockMesh command
 
why its complaining about a SWAK file after I run the command blockMesh?:confused:
Code:

Create time

--> FOAM Warning :
    From function dlOpen(const fileName&, const bool)
    in file POSIX.C at line 1179
    dlopen error : libsimpleSwakFunctionObjects.so: cannot open shared object file: No such file or directory
--> FOAM Warning :
    From function dlLibraryTable::open(const fileName&, const bool)
    in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
    could not load "libsimpleSwakFunctionObjects.so"
--> FOAM Warning :
    From function dlOpen(const fileName&, const bool)
    in file POSIX.C at line 1179
    dlopen error : libswakFunctionObjects.so: cannot open shared object file: No such file or directory
--> FOAM Warning :
    From function dlLibraryTable::open(const fileName&, const bool)
    in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
    could not load "libswakFunctionObjects.so"
Creating block mesh from
    "/home/ehsan/Desktop/high-Re_Grid_independence/turbulent_hR700$54/constant/polyMesh/blockMeshDict"
Creating curved edges
Creating topology blocks
Creating topology patches

Creating block mesh topology

Check topology

        Basic statistics
                Number of internal faces : 4
                Number of boundary faces : 16
                Number of defined boundary faces : 16
                Number of undefined boundary faces : 0
        Checking patch -> block consistency

Creating block offsets
Creating merge list .

Creating polyMesh from blockMesh
Creating patches
Creating cells
Creating points with scale 1

Writing polyMesh
----------------
Mesh Information
----------------
  boundingBox: (0 0 0) (0.069 0.004 0.001)
  nPoints: 77110
  nCells: 37800
  nFaces: 151954
  nInternalFaces: 74846
----------------
Patches
----------------
  patch 0 (start: 74846 size: 54) name: right
  patch 1 (start: 74900 size: 54) name: left
  patch 2 (start: 74954 size: 1400) name: walls
  patch 3 (start: 76354 size: 75600) name: empty_faces

End


gschaider January 31, 2014 05:24

Quote:

Originally Posted by immortality (Post 472701)
why its complaining about a SWAK file after I run the command blockMesh?:confused:
Code:

Create time

--> FOAM Warning :
    From function dlOpen(const fileName&, const bool)
    in file POSIX.C at line 1179
    dlopen error : libsimpleSwakFunctionObjects.so: cannot open shared object file: No such file or directory
--> FOAM Warning :
    From function dlLibraryTable::open(const fileName&, const bool)
    in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
    could not load "libsimpleSwakFunctionObjects.so"
--> FOAM Warning :
    From function dlOpen(const fileName&, const bool)
    in file POSIX.C at line 1179
    dlopen error : libswakFunctionObjects.so: cannot open shared object file: No such file or directory
--> FOAM Warning :
    From function dlLibraryTable::open(const fileName&, const bool)
    in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
    could not load "libswakFunctionObjects.so"
Creating block mesh from
    "/home/ehsan/Desktop/high-Re_Grid_independence/turbulent_hR700$54/constant/polyMesh/blockMeshDict"
Creating curved edges
Creating topology blocks
Creating topology patches

Creating block mesh topology

Check topology

        Basic statistics
                Number of internal faces : 4
                Number of boundary faces : 16
                Number of defined boundary faces : 16
                Number of undefined boundary faces : 0
        Checking patch -> block consistency

Creating block offsets
Creating merge list .

Creating polyMesh from blockMesh
Creating patches
Creating cells
Creating points with scale 1

Writing polyMesh
----------------
Mesh Information
----------------
  boundingBox: (0 0 0) (0.069 0.004 0.001)
  nPoints: 77110
  nCells: 37800
  nFaces: 151954
  nInternalFaces: 74846
----------------
Patches
----------------
  patch 0 (start: 74846 size: 54) name: right
  patch 1 (start: 74900 size: 54) name: left
  patch 2 (start: 74954 size: 1400) name: walls
  patch 3 (start: 76354 size: 75600) name: empty_faces

End


You probably got it in the libs-entry in controlDict and then OF tries to load the libraries there

immortality January 31, 2014 08:33

Dear Bernhard,its in controlDict,then the error is about not using it in the run?

gschaider January 31, 2014 18:55

Quote:

Originally Posted by immortality (Post 472799)
Dear Bernhard,its in controlDict,then the error is about not using it in the run?

Yeah.

But it's only a warning


All times are GMT -4. The time now is 11:50.