|
[Sponsors] |
[snappyHexMesh] fail to create mesh using Allrun |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 13, 2019, 12:24 |
fail to create mesh using Allrun
|
#1 |
Member
Joe lee
Join Date: Nov 2018
Posts: 59
Rep Power: 8 |
I am new openFoam user. Currently I am trying to perform a CFD simulation on my cyclist stl model. I am using sMH for meshing. Since I do not know much about openFoam, I copied the motorBike directory as reference. After modifying those Dict files, I first tried to create a mesh by typing these command in sequence:
>> surfaceFeatures >> blockMesh >> decomposePar >> snappyHexMesh >> paraFoam and the mesh was successfully created. However, when I tried further process to the simulation, I followed the command in Allrun script. So I tried to change the command to these this time: >> surfaceFeatures >> blockMesh >> decomposePar -copyZero >> snappyHexMesh -overwrite >> paraFoam and this time, paraFoam crashed and quit, with an error: ------------------------------------------------------------------------- --> FOAM FATAL IO ERROR: Essential entry 'value' missing file: /home/<username>/OpenFOAM/<username>-dev/run/test/0/p.boundaryField.upperWall from line 11 to line 11. From function Foam::fvPatchField<Type>::fvPatchField(const Foam::fvPatch&, const Foam::DimensionedField<Type, Foam::volMesh>&, const Foam::dictionary&, bool) [with Type = double] in file /home/ubuntu/OpenFOAM/OpenFOAM-dev/src/finiteVolume/lnInclude/fvPatchField.C at line 97. FOAM exiting Segmentation fault (core dumped) -------------------------------------------------------------------------- It seems to be something wrong with the boundary conditions or the patches, but I am not sure. Could anyone help me to take a look in it? I would provide my directories after executing the above commands, so you could just type paraFoam and the error would exist. As my .stl and some of the files are too big for uploading to github, I would upload to google drive instead. Below is the link: https://drive.google.com/drive/folde...XU?usp=sharing Thank you very much! EDIT 1: I tried to change the wall type in frontBackUpperPatches from noslip to slip, and now I could open the mesh! Yet I do not know why it works, I hope someone would explain this, Thanks! Another Problem raised when I run potentialFoam after running patchSummary. PotentialFoam gave errors as follow: --> FOAM FATAL ERROR: bool IPstream::init(int& argc, char**& argv) : attempt to run parallel on 1 processor From function static bool Foam::UPstream::init(int&, char**&, bool) in file UPstream.C at line 112. FOAM aborting #0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::error::abort() at ??:? #2 Foam::UPstream::init(int&, char**&, bool) at ??:? #3 Foam::argList::argList(int&, char**&, bool, bool, bool) at ??:? #4 ? in "/opt/openfoam-dev/platforms/linux64GccDPInt32Opt/bin/potentialFoam" #5 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #6 ? in "/opt/openfoam-dev/platforms/linux64GccDPInt32Opt/bin/potentialFoam" [AdminPC:01241] *** Process received signal *** [AdminPC:01241] Signal: Aborted (6) [AdminPC:01241] Signal code: (-6) [AdminPC:01241] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x3ef20)[0x7f144382ef20] [AdminPC:01241] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7)[0x7f144382ee97] [AdminPC:01241] [ 2] /lib/x86_64-linux-gnu/libc.so.6(abort+0x141)[0x7f1443830801] [AdminPC:01241] [ 3] /opt/openfoam-dev/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam5error5abortEv+0x126)[0x7f1444a4a1c6] [AdminPC:01241] [ 4] /opt/openfoam-dev/platforms/linux64GccDPInt32Opt/lib/openmpi-system/libPstream.so(_ZN4Foam8UPstream4initERiRPPcb+0x3fc )[0x7f14435e5e8c] [AdminPC:01241] [ 5] /opt/openfoam-dev/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam7argListC1ERiRPPcbbb+0x8ef)[0x7f1444a7283f] [AdminPC:01241] [ 6] potentialFoam(+0x2f4b4)[0x7f144862f4b4] [AdminPC:01241] [ 7] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7f1443811b97] [AdminPC:01241] [ 8] potentialFoam(+0x3192a)[0x7f144863192a] [AdminPC:01241] *** End of error message *** Aborted (core dumped) Could anyone have a look in it and explain what do these error mean? Thanks a lot!! Last edited by Jinjolee; April 13, 2019 at 13:28. |
|
Tags |
boundaryfield, mesh 3d, parafoam, patch, snappyhexmesh 3d |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Salome, how to create non-structurd mesh to compound with structured one? | sheaker | Mesh Generation & Pre-Processing | 8 | August 11, 2017 15:47 |
Gambit problems | Althea | FLUENT | 22 | January 4, 2017 04:19 |
[Gmsh] 3D coil mesh: can't create the volume? | RomainBou | OpenFOAM Meshing & Mesh Conversion | 3 | July 18, 2016 06:09 |
[snappyHexMesh] snappyHexMesh does not create mesh in body volume | Illmatic | OpenFOAM Meshing & Mesh Conversion | 1 | July 11, 2016 22:35 |
[ICEM] how to create a 2d tri mesh with quad mesh in the boundary layer | seal2013 | ANSYS Meshing & Geometry | 3 | October 6, 2013 17:09 |