|November 5, 2013, 12:37||
Visualizing imported meshes
Join Date: Feb 2013
Posts: 24Rep Power: 6
Ok, so I am still a beginner at OF trying to figure how things work out. I imported 2 meshes with varying success:
1. From HyperMesh in .cas format, then imported via fluentMeshToFoam. Importing was successful, but could not visualize w/ paraFoam, used
> foamToVtk > paraview
2. From Star CCM+ 8.04, I imported the 2D mesh from the back step tutorial. ccm26ToFoam worked fine and updated the files in the polyMesh folder (all but blockMesh).
Now I tried to do exactly as I did before:
1. deleted the p, U 0-files.
2. foamToVtk (so that I can use paraview)
but I received the following error(s):
Build : 2.2.2-9240f8b967db Exec : foamToVTK Date : Nov 05 2013 Time : 09:18:47 Host : "UbuntuAres" PID : 6301 Case : /home/openfoam/OpenFOAM/openfoam-2.2.2/Third_Party_Downloads/ccm26ToFoam/cavity nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Deleting old VTK files in "/home/openfoam/OpenFOAM/openfoam-2.2.2/Third_Party_Downloads/ccm26ToFoam/cavity/VTK" Time: 0 volScalarFields : cellId cellType Internal : "/home/openfoam/OpenFOAM/openfoam-2.2.2/Third_Party_Downloads/ccm26ToFoam/cavity/VTK/cavity_0.vtk" --> FOAM FATAL ERROR: Serious problem: asked to split a face with < 3 vertices From function face::split(const face::splitMode, const pointField&, label&, label&, faceList&, faceList&) in file meshes/meshShapes/face/face.C at line 143. FOAM aborting #0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::error::abort() at ??:? #2 Foam::face::split(Foam::face::splitMode, Foam::Field<Foam::Vector<double> > const&, int&, int&, Foam::List<Foam::face>&, Foam::List<Foam::face>&) const at ??:? #3 Foam::face::nTrianglesQuads(Foam::Field<Foam::Vector<double> > const&, int&, int&) const at ??:? #4 at ??:? #5 at ??:? #6 at ??:? #7 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #8 at ??:? Aborted (core dumped)
|November 9, 2013, 16:23||
Join Date: Mar 2009
Location: Lisbon, Portugal
Blog Entries: 39Rep Power: 108
Well, the problem is that the mesh is far from perfect, which leads to foamToVTK not be able to split a strange looking cell.
You can try using the option "-poly", which preserves the structures of polyhedral cells, without splitting/decomposing them; but I'm guessing you'll get another similar problem sooner or later, since the mesh is not perfect.
As for not being able to open the mesh with paraFoam, I won't be able to help without seeing the complete error message.
|ccm+ foamtovtk paraview|
|Thread||Thread Starter||Forum||Replies||Last Post|
|using METIS functions in fortran||dokeun||Main CFD Forum||7||January 29, 2013 05:06|
|Rotor-Stator with separate imported meshes||jrrygg||OpenFOAM Pre-Processing||4||October 29, 2012 10:42|
|keeping/changing dimensions in imported meshes||bigred||Open Source Meshers: Gmsh, Netgen, CGNS, ...||2||September 28, 2009 03:38|
|OpenFOAM141dev linking error on IBM AIX 52||matthias||OpenFOAM Installation||24||April 28, 2008 15:49|
|Using stitchmesh on imported gmsh meshes||christian67||OpenFOAM Meshing Format & General Technical||0||November 26, 2005 05:22|