CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] motorBike error in snappyHexMesh in OF 1.6

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 3, 2009, 09:47
Cool motorBike error in snappyHexMesh in OF 1.6
  #1
New Member
 
Francesco
Join Date: Jul 2009
Posts: 13
Rep Power: 17
franzisko is on a distinguished road
Hi,
motorBike tutorial case gives errors in running snappyHexMesh in my OpenFoam 1.6:

Determining initial surface intersections
-----------------------------------------

#0 Foam::error:rintStack(Foam::Ostream&) in "/work/ady/fsalvado/COMPILED_OPENFOAM/1.6//OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::sigSegv::sigSegvHandler(int) in "/work/ady/fsalvado/COMPILED_OPENFOAM/1.6//OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 __restore_rt at sigaction.c:0
#3 Foam:rimitiveMesh::cellEdges(int, Foam:ynamicList<int, 0u, 2u, 1u>&) const in "/work/ady/fsalvado/COMPILED_OPENFOAM/1.6//OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so"
#4 Foam::hexRef8::getLevel0EdgeLength() const in "/work/ady/fsalvado/COMPILED_OPENFOAM/1.6//OpenFOAM-1.6/lib/linux64GccDPOpt/libdynamicMesh.so"
#5 Foam::hexRef8::hexRef8(Foam:olyMesh const&, Foam::List<int> const&, Foam::List<int> const&, Foam::refinementHistory const&) in "/work/ady/fsalvado/COMPILED_OPENFOAM/1.6//OpenFOAM-1.6/lib/linux64GccDPOpt/libdynamicMesh.so"
#6 Foam::meshRefinement::meshRefinement(Foam::fvMesh& , double, bool, Foam::refinementSurfaces const&, Foam::shellSurfaces const&) in "/work/ady/fsalvado/COMPILED_OPENFOAM/1.6//OpenFOAM-1.6/lib/linux64GccDPOpt/libautoMesh.so"
#7 main in "/work/ady/fsalvado/COMPILED_OPENFOAM/1.6/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/snappyHexMesh"
#8 __libc_start_main in "/lib64/libc.so.6"
#9 Foam::regIOobject::writeObject(Foam::IOstream::str eamFormat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType) const in "/work/ady/fsalvado/COMPILED_OPENFOAM/1.6/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/snappyHexMesh"

Any suggestion?

I have got also problems with foamToVTK (maybe linked to previous problems):
Cannot find 'value' entry on patch lowerWall of field k in file "/work/ady/fsalvado/COMPILED_OPENFOAM/1.6/RUN/incompressible/simpleFoam/motorBike/0/k"
which is required to set the values of the generic patch field.
(Actual type kqRWallFunction)

Please add the 'value' entry to the write function of the user-defined boundary-condition
or link the boundary-condition into libfoamUtil.so

file: /work/ady/fsalvado/COMPILED_OPENFOAM/1.6/RUN/incompressible/simpleFoam/motorBike/0/turbulentBoundaryField::lowerWall from line 22 to line 22.

From function genericFvPatchField<Type>::genericFvPatchField(con st fvPatch&, const Field<Type>&, const dictionary&)
in file fields/fvPatchFields/basic/generic/genericFvPatchField.C at line 72.

FOAM exiting


thanks, Francesco
franzisko is offline   Reply With Quote

Old   August 4, 2009, 10:26
Default maybe I understand something
  #2
New Member
 
Francesco
Join Date: Jul 2009
Posts: 13
Rep Power: 17
franzisko is on a distinguished road
I believe that the problem is that after running snappyHexMesh, I copy the subdir PolyMesh of the last directory created by snappyHexMesh (named 3 for me) to the constant/polyMesh dir. But, if I erase the directories created by snappyHexMesh -- except the 0 directory containing the initial conditions -- the run fails. Why?
fr.
franzisko is offline   Reply With Quote

Old   August 12, 2009, 15:43
Default franzisko
  #3
Member
 
Ulrich Heck
Join Date: Mar 2009
Location: Krefeld, Germany
Posts: 41
Rep Power: 17
ulli is on a distinguished road
Hi Franzisko,

I had the same problem. I think there was bug in the definition of the omega wall function. Omega seems to use kqRWallFunction instead of omegaWallFunction. It is fixed in 1.6.x.

Ulrich
ulli is offline   Reply With Quote

Old   November 27, 2009, 06:41
Default
  #4
New Member
 
Juan Manuel Mompó Laborda
Join Date: Nov 2009
Location: Valencia (Spain)
Posts: 10
Rep Power: 17
juanma is on a distinguished road
Dear all

I've the same problem with my 1.6 version. I'm trying to parallelize the case and I try both:

blockMesh-snappyHexMesh-decomposePar (only 2 nodes)
and
blockMesh-decomposePar-snappyHesMesk

with the same errors in the log,decompodePar...

1.- missed headers in the files placed on the /0 folder (already fixed), like:
FoamFile
{
version 2.0;
format ascii;
class IOobject;
location "0";
object frontBackUpperPatches;
}

2.-
Cannot find 'value' entry on patch lowerWall of field k in file "/home/OpenFOAM/OpenFOAM/juanma-1.6/tutorials/incompressible/simpleFoam/motorBike/0/k"
which is required to set the values of the generic patch field.
(Actual type kqRWallFunction)

Please add the 'value' entry to the write function of the user-defined boundary-condition
or link the boundary-condition into libfoamUtil.so

3.-
file: /home/OpenFOAM/OpenFOAM/juanma-1.6/tutorials/incompressible/simpleFoam/motorBike/0/turbulentBoundaryField::lowerWall from line 30 to line 30.

From function genericFvPatchField<Type>::genericFvPatchField(con st fvPatch&, const Field<Type>&, const dictionary&)
in file fields/fvPatchFields/basic/generic/genericFvPatchField.C at line 72.

FOAM exiting

Note that are the same errors franzisko found

Any suggestion to fix the problem? thanks in advance

Juanma
juanma is offline   Reply With Quote

Old   January 6, 2010, 02:46
Default OF - 1.6 parallel execution of snappyHexMesh
  #5
New Member
 
amgode's Avatar
 
Amol
Join Date: Jul 2009
Location: Limerick, Ireland
Posts: 24
Blog Entries: 2
Rep Power: 17
amgode is on a distinguished road
Try this !

blockMesh
decomposePar
foamJob -p -s snappyHexMesh
reconstructParMesh -mergeTol 1e-06 -time 1
reconstructParMesh -mergeTol 1e-06 -time 2
reconstructParMesh -mergeTol 1e-06 -time 3
checkMesh

If it complains about the absence of triSurface in the constant directory of the processor.....just copy the triSurface from the case/constant to the processor/constant directory and it should work fine...........


Regards,

Amol
amgode is offline   Reply With Quote

Old   January 6, 2010, 04:51
Default
  #6
Member
 
Wolfram Kretzschmar
Join Date: Dec 2009
Posts: 71
Rep Power: 17
Wolle is on a distinguished road
Hi,

at the moment I'm investigating other errors in the standard 1.6 case respectively differences between the 1.6 and the 1.6.x version of the case.

Have a look here:
http://www.cfd-online.com/Forums/ope...k-out-box.html

BUT I have to admit, that my 1.6 version ran properly at first run without complaining about the missing value entries... (despite of the wrong results resp. not reaching convergence).

Cheers
Wolle
Wolle is offline   Reply With Quote

Reply

Tags
lib.so.6, motorbike, openfoam1.6, snappyhexmesh


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[snappyHexMesh] Problems to mesh motorBike case with snappyHexMesh matheusmonjon OpenFOAM Meshing & Mesh Conversion 0 March 30, 2017 20:44
[snappyHexMesh] Proper y+ in boundary layer on lowerWall - motorBike tutorial petr.f. OpenFOAM Meshing & Mesh Conversion 2 June 9, 2015 06:47
Motorbike tutorial for snappyhexmesh taking forever to run? massive_turbulence OpenFOAM Running, Solving & CFD 0 April 27, 2014 03:00
motorBike running snappyHexMesh in parallel? klausb OpenFOAM Running, Solving & CFD 0 December 5, 2011 19:58
[snappyHexMesh] OF 1.5-dev or OF 1.6 for snappyHexMesh gdbaldw OpenFOAM Meshing & Mesh Conversion 0 December 23, 2009 11:43


All times are GMT -4. The time now is 13:52.