|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Olabode Ajenifujah
Join Date: Apr 2022
Posts: 15
Rep Power: 4 ![]() |
I have an openfoam 9 installed on my computer, and I successfully ran blockMesh of geometry created in openFoam 2 on my openFoam-9. When I tried to run paraFoam, I got an error shown below. I am thinking different version of openFoam may be causing the error, and I cant install openfoam 2 on my machine due to incompatibility with my machine. I will like to check if anyone has suggestion on what to do to fix the error.
Thanks. I/O : uncollated --> FOAM Warning : From function void* Foam::dlOpen(const Foam::fileName&, bool) in file POSIX.C at line 1247 dlopen error : libsimpleSwakFunctionObjects.so: cannot open shared object file: No such file or directory --> FOAM Warning : From function bool Foam::dlLibraryTable: ![]() in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 106 could not load "libsimpleSwakFunctionObjects.so" --> FOAM Warning : From function void* Foam::dlOpen(const Foam::fileName&, bool) in file POSIX.C at line 1247 dlopen error : libswakFunctionObjects.so: cannot open shared object file: No such file or directory --> FOAM Warning : From function bool Foam::dlLibraryTable: ![]() in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 106 could not load "libswakFunctionObjects.so" --> FOAM Warning : From function void* Foam::dlOpen(const Foam::fileName&, bool) in file POSIX.C at line 1247 dlopen error : libgroovyBC.so: cannot open shared object file: No such file or directory --> FOAM Warning : From function bool Foam::dlLibraryTable: ![]() in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 106 could not load "libgroovyBC.so" --> FOAM Warning : From function void* Foam::dlOpen(const Foam::fileName&, bool) in file POSIX.C at line 1247 dlopen error : libmarangoni.so: cannot open shared object file: No such file or directory --> FOAM Warning : From function bool Foam::dlLibraryTable: ![]() in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 106 could not load "libmarangoni.so" --> FOAM FATAL IO ERROR: Essential entry 'value' missing file: /home/cmu-mail/OpenFOAM/OpenFOAM-9/foamDude1/Meltpool/0/T/boundaryField/ceiling from line 31 to line 34. From function Foam::fvPatchField<Type>::fvPatchField(const Foam::fvPatch&, const Foam: ![]() in file /home/ubuntu/OpenFOAM/OpenFOAM-9/src/finiteVolume/lnInclude/fvPatchField.C at line 94. FOAM exiting Segmentation fault (core dumped) |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
MNM
Join Date: Aug 2017
Posts: 69
Rep Power: 9 ![]() |
Hi Olabode,
The issue does not seem to occur because of 2 versions of FOAM. Instead as we can clearly follow, the error lies here Code:
--> FOAM FATAL IO ERROR: Essential entry 'value' missing Maybe you already have fixedValue type BC like this in 0/T for ceiling ceiling { type fixedValue; value XXX; } But either the XXX is missing or a semi colon in both of the above lines. P.S. Maybe if you post your T file then it will be much easier to find the cause. Regards, Shubham |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Olabode Ajenifujah
Join Date: Apr 2022
Posts: 15
Rep Power: 4 ![]() |
Thank you very much Shubham, for the 0/T file, its shown below
FoamFile { version 2.0; format ascii; class volScalarField; location "0"; object T; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 0 1 0 0 0]; internalField uniform 300; boundaryField { floor { type zeroGradient; } ceiling { type groovyBC; variables "v=1;b=0.0001;P=150;n=0.2;s=pos().x-v*time();zi=pos().z;maxZ=max(pts().z);maxX=max(pts ().x);maxY=max(pts().y);yi=pos().y;"; gradientExpression "(1/10)*((1/(2*b*b*3.14))*P*n*exp(-pow(s-2*maxX/15,2)/(2*b*b)-pow(yi-maxY/2,2)/(2*b*b))-25*(T-300)-3e-8*(pow(T,4)-pow(300,4)))"; fractionExpression "0"; } fixedWalls { type zeroGradient; } } |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Member
MNM
Join Date: Aug 2017
Posts: 69
Rep Power: 9 ![]() |
try modifying
Code:
ceiling { type groovyBC; variables "v=1;b=0.0001;P=150;n=0.2;s=pos().x-v*time();zi=pos().z;maxZ=max(pts().z);maxX=max(pts ().x);maxY=max(pts().y);yi=pos().y;"; gradientExpression "(1/10)*((1/(2*b*b*3.14))*P*n*exp(-pow(s-2*maxX/15,2)/(2*b*b)-pow(yi-maxY/2,2)/(2*b*b))-25*(T-300)-3e-8*(pow(T,4)-pow(300,4)))"; fractionExpression "0"; } Code:
ceiling { type groovyBC; variables "v=1;b=0.0001;P=150;n=0.2;s=pos().x-v*time();zi=pos().z;maxZ=max(pts().z);maxX=max(pts ().x);maxY=max(pts().y);yi=pos().y;"; gradientExpression "(1/10)*((1/(2*b*b*3.14))*P*n*exp(-pow(s-2*maxX/15,2)/(2*b*b)-pow(yi-maxY/2,2)/(2*b*b))-25*(T-300)-3e-8*(pow(T,4)-pow(300,4)))"; fractionExpression "0"; value uniform 0; } |
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
Olabode Ajenifujah
Join Date: Apr 2022
Posts: 15
Rep Power: 4 ![]() |
Thank you very much Shubham, I believe it get better with different error
I/O : uncollated --> FOAM Warning : From function void* Foam::dlOpen(const Foam::fileName&, bool) in file POSIX.C at line 1247 dlopen error : libsimpleSwakFunctionObjects.so: cannot open shared object file: No such file or directory --> FOAM Warning : From function bool Foam::dlLibraryTable: ![]() in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 106 could not load "libsimpleSwakFunctionObjects.so" --> FOAM Warning : From function void* Foam::dlOpen(const Foam::fileName&, bool) in file POSIX.C at line 1247 dlopen error : libswakFunctionObjects.so: cannot open shared object file: No such file or directory --> FOAM Warning : From function bool Foam::dlLibraryTable: ![]() in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 106 could not load "libswakFunctionObjects.so" --> FOAM Warning : From function void* Foam::dlOpen(const Foam::fileName&, bool) in file POSIX.C at line 1247 dlopen error : libgroovyBC.so: cannot open shared object file: No such file or directory --> FOAM Warning : From function bool Foam::dlLibraryTable: ![]() in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 106 could not load "libgroovyBC.so" --> FOAM Warning : From function void* Foam::dlOpen(const Foam::fileName&, bool) in file POSIX.C at line 1247 dlopen error : libmarangoni.so: cannot open shared object file: No such file or directory --> FOAM Warning : From function bool Foam::dlLibraryTable: ![]() in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 106 could not load "libmarangoni.so" --> FOAM FATAL IO ERROR: Essential entry 'value' missing file: /home/cmu-mail/OpenFOAM/OpenFOAM-9/foamDude1/Meltpool/0/U/boundaryField/ceiling from line 32 to line 33. From function Foam::fvPatchField<Type>::fvPatchField(const Foam::fvPatch&, const Foam: ![]() in file /home/ubuntu/OpenFOAM/OpenFOAM-9/src/finiteVolume/lnInclude/fvPatchField.C at line 94. FOAM exiting Segmentation fault (core dumped) |
|
![]() |
![]() |
![]() |
![]() |
#6 |
New Member
Olabode Ajenifujah
Join Date: Apr 2022
Posts: 15
Rep Power: 4 ![]() |
The current ceiling line looks like this
internalField uniform 300; boundaryField { floor { type zeroGradient; } ceiling { type groovyBC; variables "v=1;b=0.0001;P=150;n=0.2;s=pos().x-v*time();zi=pos().z;maxZ=max(pts().z);maxX=max(pts ().x);maxY=max(pts().y);yi=pos().y;"; gradientExpression "(1/10)*((1/(2*b*b*3.14))*P*n*exp(-pow(s-2*maxX/15,2)/(2*b*b)-pow(yi-maxY/2,2)/(2*b*b))-25*(T-300)-3e-8*(pow(T,4)-pow(300,4)))"; fractionExpression "0"; value uniform 0; |
|
![]() |
![]() |
![]() |
![]() |
#7 |
New Member
Olabode Ajenifujah
Join Date: Apr 2022
Posts: 15
Rep Power: 4 ![]() |
I believe the new error is coming 0/U
ceiling { type marangoni; marangonicoeff 0.1; //(dsigma/dt)*1/mu //value uniform (0 0 0); } |
|
![]() |
![]() |
![]() |
![]() |
#8 |
Member
MNM
Join Date: Aug 2017
Posts: 69
Rep Power: 9 ![]() |
Yes, you need to uncomment the
Code:
ceiling { type marangoni; marangonicoeff 0.1; //(dsigma/dt)*1/mu //value uniform (0 0 0); } to Code:
ceiling { type marangoni; marangonicoeff 0.1; //(dsigma/dt)*1/mu value uniform (0 0 0); } |
|
![]() |
![]() |
![]() |
![]() |
#9 |
New Member
Olabode Ajenifujah
Join Date: Apr 2022
Posts: 15
Rep Power: 4 ![]() |
It works fine now, thank you very much Shubham, I uncomment the ceiling
//value uniform (0 0 0); I could see the mesh |
|
![]() |
![]() |
![]() |
![]() |
#10 |
New Member
Olabode Ajenifujah
Join Date: Apr 2022
Posts: 15
Rep Power: 4 ![]() |
I was able to generate the mesh, using Allrun file as shown below
#!/bin/sh cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions application=`getApplication` runApplication blockMesh #cp 0/alpha.solid.orig 0/alpha.solid runApplication topoSet -dict system/topoSetDict1 runApplication refineMesh -overwrite -dict system/refineMeshDict1 #rm log.topoSet #rm log.refineMesh #runApplication topoSet -dict system/topoSetDict2 #runApplication refineMesh -overwrite -dict system/refineMeshDict2 #runApplication setFields runApplication decomposePar runParallel `getApplication` However, I will like to generate meltpool with laser moving across the bed. I have other files which may be useful in achieving that, just that they have to be arranged well and included in the Allrun file. I believe those other files can be in the system folder. I attached them with this message. |
|
![]() |
![]() |
![]() |
![]() |
#11 |
Member
MNM
Join Date: Aug 2017
Posts: 69
Rep Power: 9 ![]() |
Hi Olabode,
Unfortunately, I'm not able to understand what exactly u want to do....Can u please elaborate little bit....and maybe its better if you can put tthat in a new thread....as this new question might not go hand in hand with this thread title......this will also enable other much experienced folks than me to help u.... ![]() |
|
![]() |
![]() |
![]() |
![]() |
#12 |
New Member
Olabode Ajenifujah
Join Date: Apr 2022
Posts: 15
Rep Power: 4 ![]() |
I was getting this error message when I open up my solution in paraview. although I am still try to understand the error from the files which I attached
Generic Warning: In /build/paraview-lH8wFv/paraview-5.4.1+dfsg3/VTK/Rendering/Volume/vtkVolumeTextureMapper3D.cxx, line 680 vtkVolumeTextureMapper3D::vtkVolumeTextureMapper3D was deprecated for VTK 7.0 and will be removed in a future version. Generic Warning: In /build/paraview-lH8wFv/paraview-5.4.1+dfsg3/VTK/Rendering/VolumeOpenGL/vtkOpenGLVolumeTextureMapper3D.cxx, line 57 vtkOpenGLVolumeTextureMapper3D::vtkOpenGLVolumeTex tureMapper3D was deprecated for VTK 7.0 and will be removed in a future version. |
|
![]() |
![]() |
![]() |
![]() |
#13 |
New Member
Olabode Ajenifujah
Join Date: Apr 2022
Posts: 15
Rep Power: 4 ![]() |
I was getting this error message when I open up my solution in paraview. although I am still try to understand the error from the files
Generic Warning: In /build/paraview-lH8wFv/paraview-5.4.1+dfsg3/VTK/Rendering/Volume/vtkVolumeTextureMapper3D.cxx, line 680 vtkVolumeTextureMapper3D::vtkVolumeTextureMapper3D was deprecated for VTK 7.0 and will be removed in a future version. Generic Warning: In /build/paraview-lH8wFv/paraview-5.4.1+dfsg3/VTK/Rendering/VolumeOpenGL/vtkOpenGLVolumeTextureMapper3D.cxx, line 57 vtkOpenGLVolumeTextureMapper3D::vtkOpenGLVolumeTex tureMapper3D was deprecated for VTK 7.0 and will be removed in a future version. |
|
![]() |
![]() |
![]() |
![]() |
#14 |
Member
MNM
Join Date: Aug 2017
Posts: 69
Rep Power: 9 ![]() |
Not sure but might be related to the incorrect installation of paraview.
Anyways, as it seems a WARNING instead of ERROR......u should still be able to analyze all the fields in the paraview... |
|
![]() |
![]() |
![]() |
![]() |
#15 |
New Member
Olabode Ajenifujah
Join Date: Apr 2022
Posts: 15
Rep Power: 4 ![]() |
Thank you Shubham, I attempted running blockmesh, but I was getting this error, Although I the folder in set it was locked.
From function bool Foam::rmDir(const Foam::fileName&) in file POSIX.C at line 888 failed to remove file "refineCell1Set" while removing directory "/home/cmu-mail/AM1/additiveTestCase/constant/polyMesh/sets" Killed |
|
![]() |
![]() |
![]() |
![]() |
#16 |
New Member
Olabode Ajenifujah
Join Date: Apr 2022
Posts: 15
Rep Power: 4 ![]() |
I was getting this error in my log.decomposePar file
Time = 0 marangoniFvPatchVectorField::snGrad(): object gradT not found! |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] paraFoam command not working (installed openFoam from source + its Third-party) | manle0312 | OpenFOAM Installation | 2 | April 2, 2022 07:18 |
[OpenFOAM.org] paraFoam Fatal Error upon run | Gallienus | OpenFOAM Installation | 2 | April 14, 2020 19:23 |
[OpenFOAM] Trouble opening parafoam | dsn | ParaView | 2 | March 17, 2015 11:28 |
Opening blockMesh File With VTK | Abbasi047 | Main CFD Forum | 0 | August 22, 2013 06:41 |
ParaFoam, blockMesh etc in vnc | SimonH. | OpenFOAM | 1 | March 6, 2011 11:27 |