Mailing-list archive http://engits.eu/vanilla/index.php?p=/categories/mailing-list-archive/feed.rss Thu, 17 Apr 14 05:33:48 -0400 Mailing-list archive en-CA Memory usage http://engits.eu/vanilla/index.php?p=/discussion/22/memory-usage Thu, 12 Mar 2009 20:54:26 -0400 admin 22@/vanilla/index.php?p=/discussions
I have successfully built a mesh with 1.3 million cells using enGrid 1.0.

However, when trying to refine the mesh, I quickly run out of memory -- I have
4 GB RAM.

Does anyone have suggestions to build finer meshes with enGrid?

Regards,
Jose Santos]]>
throttle.geo request http://engits.eu/vanilla/index.php?p=/discussion/23/throttle.geo-request Thu, 12 Mar 2009 20:56:50 -0400 admin 23@/vanilla/index.php?p=/discussions
Sorry for writing to you directly. I'm trying to write to the list, but
am having trouble. I have a simple request, however; maybe you can
help.

Can you send me the throttle.geo file used to generate throttle.msh?
I've spent hours working with Gmsh - importing a STEP file, meshing the
surface, creating physical groups and saving the mesh but my surface
orientations still come out wrong. I think reading throttle.geo
could help me on this.

Perhaps throttle.geo could be included with the download?

Best regards,

Mark.]]>
technological background of the layer processing? http://engits.eu/vanilla/index.php?p=/discussion/21/technological-background-of-the-layer-processing Thu, 12 Mar 2009 20:53:06 -0400 admin 21@/vanilla/index.php?p=/discussions
Did you publish any paper on the technological background of the layer processing?

Thanx

Michael]]>
Using enGrid on OpenSUSE 10.3 64bit http://engits.eu/vanilla/index.php?p=/discussion/20/using-engrid-on-opensuse-10.3-64bit Thu, 12 Mar 2009 19:05:19 -0400 admin 20@/vanilla/index.php?p=/discussions
I also had problems compiling enGrid_1.0 using opensuse 10.3 on a 64bit
workstation. Since I believe it might be due to the fact that the vtk-qt rpm
seems to use Qt3 instead of Qt4, I downloaded the prebuild version

http://engits.com/ogloth/enGrid_linux64bit_1.0.tar.gz

NOW it's running fine!! Thanks for the nice software.

HOWever, I've got one more secondary problem using enGrid, for which I haven't
found a solution yet. The problem is a blank output window on the left hand
side. When I compare to the tutorial of the enGrid manual, I should see some
information there sooner or later. This is not the case.

In short my question are:

--Do I really need the output-window? If not, how can I get rid of it?
--I like information about what's going on. If the output-window can provide
that, how can I activate the output?

Like I said, so far I'm not missing anything, but I'm curious and would be
happy about any help or hints.

regards
Swen]]>
Possible bug http://engits.eu/vanilla/index.php?p=/discussion/19/possible-bug Thu, 12 Mar 2009 19:04:21 -0400 admin 19@/vanilla/index.php?p=/discussions
First, thanks for the great software! I'm enjoying using it!

I created an unstructured 2-D mesh in Gmsh, extruded said mesh (ordered)
to form first order wedges, 1 element thick, defined Physical surfaces
and saved the mesh.

I imported the mesh into Engrid, reversed the surface orientation,
inspected which boundary codes were to be used for boundary layers,
and hit, 'Create prismatic boundary layer'.

Engrid returned:

Error: There seems to be a bug in enGrid.

file: createvolumemesh.cpp
line:84

The 'output' window in Engrid shows:

creating boundary layer mesh)

preparing prismatic layer

deleting tetrahedral cells

relaxing mesh size : 0% done

deleting tetrahedral cells

deleting Operation 0x9e1d68


I check the windows version (using wine), it generates the same error.

So, should i submit a bug report via the bugtracker available of
Sourceforge? (I'm new to this!)

Best regards,

Mark.]]>
Unable to build/install on Ubuntu Heron 64, with fresh VTK i http://engits.eu/vanilla/index.php?p=/discussion/18/unable-to-buildinstall-on-ubuntu-heron-64-with-fresh-vtk-i Thu, 12 Mar 2009 19:02:39 -0400 admin 18@/vanilla/index.php?p=/discussions
I've been trying to install Engrid for a few days now, on Ubuntu Heron,
64 bit. I installed VTK with QVTK gui support, but so far, have left
the default Qt installation. I used 'desired QT version' 4. I
performed

$ sudo make install

to install the build to /usr/local. All seemed well.

Back in the engrid directory, I did:

$ qmake

then edited 'Makefile' so INCPATH pointed at

-I$(VTKDIR)/include/vtk-$(VTKVERSION)

and set

VTKDIR = /usr/local
VTKVERSION = 5.2

above the lines referencing them. Then, I performed:

$ make clean
$ make

Some time was spent building, then the build failed at:

g++ -Wl,--no-undefined -o engrid main.o boundarycondition.o
celllayeriterator.o cellneighbouriterator.o correctsurfaceorientation.o
createvolumemesh.o deletecells.o deletepickedcell.o deletetetras.o
deletevolumegrid.o egvtkobject.o elements.o error.o fixstl.o
foamreader.o foamwriter.o geometrytools.o gmshiooperation.o gmshreader.o
gmshwriter.o gridsmoother.o iooperation.o iterator.o layeriterator.o
neutralwriter.o nodelayeriterator.o operation.o optimisation.o
polydatareader.o polymesh.o seedsimpleprismaticlayer.o setboundarycode.o
simplefoamwriter.o stlreader.o stlwriter.o swaptriangles.o vtkreader.o
vtkEgBoundaryCodesFilter.o vtkEgEliminateShortEdges.o
vtkEgExtractVolumeCells.o vtkEgGridFilter.o vtkEgNormalExtrusion.o
vtkEgPolyDataToUnstructuredGridFilter.o guicreateboundarylayer.o
guideletebadaspecttris.o guidivideboundarylayer.o
guieditboundaryconditions.o guiimproveaspectratio.o guimainwindow.o
guinormalextrusion.o guiselectboundarycodes.o guisetboundarycode.o
guismoothsurface.o guisettingstab.o guisettingsviewer.o
moc_guicreateboundarylayer.o moc_guideletebadaspecttris.o
moc_guieditboundaryconditions.o moc_guiimproveaspectratio.o
moc_guimainwindow.o moc_guinormalextrusion.o
moc_guiselectboundarycodes.o moc_guisetboundarycode.o
moc_guismoothsurface.o moc_guisettingstab.o moc_guisettingsviewer.o
qrc_engrid.o -L/usr/lib -L/usr/X11R6/lib -lvtkCommon -lvtkGraphics
-lvtkImaging -lvtkHybrid -lQVTK -lng -L./netgen_svn -L/usr/local/lib/5.2
-L/usr/local/lib/vtk-5.2 -Wl,-rpath -lpthread -lQtXml -lQtOpenGL -lQtGui
-lQtNetwork -lQtCore -lGLU -lGL

reporting:

createvolumemesh.o: In function `CreateVolumeMesh::prepare()':
createvolumemesh.cpp:(.text+0x463d): undefined reference to
`vtkUnstructuredGrid::InsertNextCell(int, long long, long long*)'

and many more, similar errors.

---------------------

I then attempted to use the link,
http://engits.com/ogloth/enGrid_linux64bit_1.0.tar.gz

from the discussion at

http://sourceforge.net/mailarchive/foru ... grid-users

I attempted the following:

$ sudo ./setup
$ start_engrid

with the result:

/opt/enGrid/engrid: error while loading shared libraries: `=
: invalid
mode for dlopen(): Invalid argument

Then I attempted to build with the files included with the download:

$ make clean
$ make

resulted in some building, then a failure at the line:

g++ -Wl,--no-undefined -o engrid main.o boundarycondition.o
celllayeriterator.o cellneighbouriterator.o correctsurfaceorientation.o
createvolumemesh.o deletecells.o deletepickedcell.o deletetetras.o
deletevolumegrid.o egvtkobject.o elements.o error.o fixstl.o
foamreader.o foamwriter.o geometrytools.o gmshiooperation.o gmshreader.o
gmshwriter.o gridsmoother.o iooperation.o iterator.o layeriterator.o
neutralwriter.o nodelayeriterator.o operation.o optimisation.o
polydatareader.o polymesh.o seedsimpleprismaticlayer.o setboundarycode.o
simplefoamwriter.o stlreader.o stlwriter.o swaptriangles.o vtkreader.o
vtkEgBoundaryCodesFilter.o vtkEgEliminateShortEdges.o
vtkEgExtractVolumeCells.o vtkEgGridFilter.o vtkEgNormalExtrusion.o
vtkEgPolyDataToUnstructuredGridFilter.o guicreateboundarylayer.o
guideletebadaspecttris.o guidivideboundarylayer.o
guieditboundaryconditions.o guiimproveaspectratio.o guimainwindow.o
guinormalextrusion.o guiselectboundarycodes.o guisetboundarycode.o
guismoothsurface.o guisettingstab.o guisettingsviewer.o
moc_guicreateboundarylayer.o moc_guideletebadaspecttris.o
moc_guieditboundaryconditions.o moc_guiimproveaspectratio.o
moc_guimainwindow.o moc_guinormalextrusion.o
moc_guiselectboundarycodes.o moc_guisetboundarycode.o
moc_guismoothsurface.o moc_guisettingstab.o moc_guisettingsviewer.o
qrc_engrid.o -L/usr/lib -L/usr/X11R6/lib -lvtkCommon -lvtkGraphics
-lvtkImaging -lvtkHybrid -lQVTK -lng -L./netgen_svn
-L/usr/local/lib/vtk-5.2 -Wl,-rpath -lpthread -lQtXml -lQtOpenGL -lQtGui
-lQtNetwork -lQtCore -lGLU -lGL

the failure being:

/usr/bin/ld: cannot find -lng

That seemed a bit odd to me, but I'm not a C / Fortran programmer and am
relatively new to linux, so am stumped! Engrid looks to be just what I
want (enabling me to move away from an unmentioned commercial mesher /
CFD solver), but this is preventing me from even trying it.

I read elsewhere, that it might be possible to release a linux version,
with all the linked libraries included (though the file would be large).
If that were available, I could crack on with work and maybe optimise an
installation for my linux, later. As it is, I can't use the program at
all.

So - a help request! If someone could help me with the problems above,
great! Alternatively, if a bundled package could be generated, great
too!

Best regards,

Mark.]]>
WARNING: Failure to find: vtksmoothpolydatafilter2.cpp from http://engits.eu/vanilla/index.php?p=/discussion/17/warning-failure-to-find-vtksmoothpolydatafilter2.cpp-from Thu, 12 Mar 2009 19:01:38 -0400 admin 17@/vanilla/index.php?p=/discussions
After reading some of the posts here, I decided to try the cvs version
after failing to install otherwise:

$ cd downloads
$ mkdir engrid_cvs
$ cd engrid_cvs

$ cvs -d:pserver:anonymous@en...:/cvsroot/engrid
login

(pressed return, I think)

$ cvs -d:pserver:anonymous@en...:/cvsroot/engrid co
src

OK, got the source.

$ cd src
$ ./build-nglib.sh

Looks ok.

$ qmake
WARNING: Failure to find: vtksmoothpolydatafilter2.cpp
WARNING: Failure to find: vtksmoothpolydatafilter2.h

Should I be worried about this?

Best regards,

Mark.]]>
Rocket project http://engits.eu/vanilla/index.php?p=/discussion/16/rocket-project Thu, 12 Mar 2009 19:01:00 -0400 admin 16@/vanilla/index.php?p=/discussions
First of all, thanks for all the work involved with enGrid, as it is a great Open-Source alternative and the best is yet to come, so keep up the good work!

I have a little question. I am involved in a aerospace project and I need to calculate the aerodynamic forces on a sounding rocket. I can see in your examples in the enGrid website that you have made some work on a similar matter. Which OpenFOAM solver did you use? I am about to try rhoCentralFoam and AeroFoam (italian, worth a look, http://www.aero.polimi.it/freecase/). Have you run any validation case?

Thanks very much

Regards,


Esteban]]>
Grid generation without GUI http://engits.eu/vanilla/index.php?p=/discussion/15/grid-generation-without-gui Thu, 12 Mar 2009 19:00:18 -0400 admin 15@/vanilla/index.php?p=/discussions
I wonder if it is possible to generate grids without using enGrid GUI.

This would be very useful when using enGrid on a remote machine, as I do.

Regards,
Jose Santos]]>
compile errors - enGrid_1.0 on SUSE 11.0 at 64 bit. http://engits.eu/vanilla/index.php?p=/discussion/14/compile-errors-engrid_1.0-on-suse-11.0-at-64-bit. Thu, 12 Mar 2009 18:58:30 -0400 admin 14@/vanilla/index.php?p=/discussions As far as I know, enGrid looks very promissing for mesh generation for
CFD and I am willing to test it. Meanwhile, however, I tried to compile
enGrid_1.0 on SUSE 11.0 at 64 bit, but the make command was followed by
a lot of errors. The first lines of errors were:

/In file included from main.cpp:30:
guimainwindow.h:37:33: error: vtkUnstructuredGrid.h: No such file or
directory
guimainwindow.h:38:22: error: vtkActor.h: No such file or directory
guimainwindow.h:39:31: error: vtkPolyDataMapper.h: No such file or directory
guimainwindow.h:40:31: error: vtkGeometryFilter.h: No such file or directory
guimainwindow.h:41:32: error: vtkCubeAxesActor2D.h: No such file or
directory
guimainwindow.h:42:27: error: vtkCellPicker.h: No such file or directory
guimainwindow.h:43:29: error: vtkSphereSource.h: No such file or directory
/
Apparently, the compiler does not find the VTK dir. I have installed VTK
5.1.1-6.2, using YAST with a suse repository.

Regards,
Vítor]]>
running enGrid on OS X 10.5.6 + Qt 4.3.5 + VTK 5.2.1 http://engits.eu/vanilla/index.php?p=/discussion/13/running-engrid-on-os-x-10.5.6-qt-4.3.5-vtk-5.2.1 Thu, 12 Mar 2009 18:57:13 -0400 admin 13@/vanilla/index.php?p=/discussions
Congratulations for the 1.0 release. I would like to drop a quick note
about my experience with building and running enGrid-1.0 on OS X
10.5.6 Intel + Qt 4.3.5 + VTK 5.2.1.

1. Building: OS X issues
The only modification required with the source code itself was to change
typedef unsigned int uint_t;
in mathvector.h to
typedef unsigned long uint_t;
because it clashes with the uint_t definition in OpenTransport.h:
typedef unsigned long uint_t;
. Another required modification was to the project setting. The libraries
-lvtkRendering
-lvtkIO
-lvtkFiltering
were needed to the linker flags.

2. Building: Qt 4.3 issues
I am still using Qt 4.3.5 because it is an officially supported
version of ParaView. The problems that came from the version were that
there are no
QSettings::organizationName()
QSettings::applicationName()
(used in guisettingsviewer.cpp) nor
class QFormLayout
(used in guisettingstab.cpp) in Qt.4.3.

3. Running issue
After having got around the issues enGrid compiled. However when I
load the sample throttle.msh and choose Mesh -> create/improve volume
mesh (NETGEN), enGrid crashed after a bit of meshing calculations at
(gdb) backtrace
#0 0x000c3306 in netgen::CalcBad ()
#1 0x000bc180 in netgen::MeshOptimize3d::SwapImprove ()
#2 0x0011833b in netgen::MeshVolume ()
#3 0x000a2745 in nglib::Ng_GenerateVolumeMesh ()
#4 0x0001028e in CreateVolumeMesh::operate ()
#5 0x0004d0d7 in OperationThread::run ()
#6 0x028692c6 in QThreadPrivate::start ()
#7 0x92742095 in _pthread_start ()
#8 0x92741f52 in thread_start ()
I have to admit that obviously I tried this operation without reading
Tutorial 1, but a more graceful behavior would be nice. On the
contrary if I follow the tutorial procedure, enGrid ran fine.

Hope this information is useful.

Regards,
Takuya]]>
pre-built package for 1.0 http://engits.eu/vanilla/index.php?p=/discussion/12/pre-built-package-for-1.0 Thu, 12 Mar 2009 18:56:26 -0400 admin 12@/vanilla/index.php?p=/discussions I downloaded your package too but it is not working for me. I have
ubuntu 8.04 64 bit. if I execute

stargate:/home/osman-bash-> start_engrid
/opt/enGrid/engrid: error while loading shared libraries: `=�: invalid
mode for dlopen(): Invalid argument

On a happier note, I was able to build from the source files, and it
works.
Thanks for the nice software!

Best regards,
-osman]]>
Compilation problem -- Engrid 1.0 http://engits.eu/vanilla/index.php?p=/discussion/11/compilation-problem-engrid-1.0 Thu, 12 Mar 2009 18:54:56 -0400 admin 11@/vanilla/index.php?p=/discussions
I am having the following problem while compiling Engrid 1.0:

guimainwindow.o: In function `Ui_GuiMainWindow::setupUi(QMainWindow*)':
guimainwindow.cpp:
(.text._ZN16Ui_GuiMainWindow7setupUiEP11QMainWindow[Ui_GuiMainWindow::setupUi(QMainWindow*)]+0x3abd):
undefined reference to `QVTKWidget::QVTKWidget(QWidget*,
QFlags<Qt::WindowType>)'
collect2: ld returned 1 exit status
make: *** [engrid] Error 1

The specifications of my OS are:
openSUSE 11.1
Qt-4.4.3
VTK-5.2.1

I should stress that I have compiled the previous versions of Engrid withouth
any errors.

Any help is appreciated.

Regards,
Jose]]>
ENGRID 1.0 http://engits.eu/vanilla/index.php?p=/discussion/10/engrid-1.0 Thu, 12 Mar 2009 18:54:07 -0400 admin 10@/vanilla/index.php?p=/discussions
We have prepared the 1.0 release of ENGRID for download (see
http://engits.com/engrid). This release has the possibility to directly
export grids to OpenFOAM. Furthermore we have corrected a few bugs,
updated the manual, and provided an options dialogue.

Best regards,
Oliver Gloth]]>
Surface Mesh that comes with the volume / Layer mesh thickne http://engits.eu/vanilla/index.php?p=/discussion/9/surface-mesh-that-comes-with-the-volume-layer-mesh-thickne Thu, 12 Mar 2009 18:51:52 -0400 admin 9@/vanilla/index.php?p=/discussions
is it possible:

- to get rid of the surface mesh before exporting the mesh to e.g. to gmsh? It puzzles the transfer to my application which does not accept the additional surface mesh (converting it is not as simple as nodes have to be renumbered).

- to set the layer thickness of the surface layer?

- to inhibit layer creation at the inlet?

apart of that I'd like to mention that I appreciate your work a lot!

Regards

Michael]]>
compilation problems with VTK-5.2 http://engits.eu/vanilla/index.php?p=/discussion/8/compilation-problems-with-vtk-5.2 Thu, 12 Mar 2009 18:50:32 -0400 admin 8@/vanilla/index.php?p=/discussions
There have been problems compiling Engrid withVTK-5.2. The data-types
"int" and "vtkIdType" have been mixed throughout the source code of
Engrid. This has been fixed and is in the CVS repository. Anybody having
problems compiling: Feel free to try the source code from CVS.

Due to preparatory work (funding) for next years project the first
"proper" release will have to be postponed until January -- sorry. This
release will have the possibility to change a few optimisation
parameters for the prismatic layers, as well as direct export to
OpenFOAM (not only the experimental polyhedral export).

Regards,
Oliver]]>
engrid build http://engits.eu/vanilla/index.php?p=/discussion/7/engrid-build Thu, 12 Mar 2009 18:48:27 -0400 admin 7@/vanilla/index.php?p=/discussions I am trying to build engrid on 64 bit ubuntu 7.10 (gutsy). I was able to
build netgen libs. But when I try engrid I am getting an error about not
finding QVTKWidget.h. Then I found it in my OpenFOAM directory. So I
added that in the Makefile. But I am still getting
---------------------------------------------------------------------------------------------------------------
In file included from ui_guimainwindow.h:32,
from guimainwindow.h:45,
from main.cpp:30:
/home/osman/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/VTK/GUISupport/Qt/QVTKWidget.h:48:29: error: QVTKWin32Header.h: No such file or directory
In file included from createvolumemesh.h:31,
from std_includes.h:33,
from guimainwindow.h:51,
from main.cpp:30:
netgen_cvs/netgen/libsrc/interface/nglib.h:221:7: warning: no newline at
end of file
In file included from foamwriter.h:29,
from std_includes.h:38,
from guimainwindow.h:51,
from main.cpp:30:
polymesh.h:119:7: warning: no newline at end of file
/home/osman/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/VTK/GUISupport/Qt/QVTKWidget.h:51: error: invalid function declaration
/home/osman/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/VTK/GUISupport/Qt/QVTKWidget.h:248: error: invalid function declaration
ui_guimainwindow.h:106: error: ISO C++ forbids declaration of
‘QVTKWidget’ with no type
ui_guimainwindow.h:106: error: expected ‘;’ before ‘*’ token
ui_guimainwindow.h: In member function ‘void
Ui_GuiMainWindow::setupUi(QMainWindow*)’:
ui_guimainwindow.h:405: error: ‘qvtkWidget’ was not declared in this
scope
ui_guimainwindow.h:405: error: expected type-specifier before
‘QVTKWidget’
ui_guimainwindow.h:405: error: expected `;' before ‘QVTKWidget’
optimisation.h: At global scope:
optimisation.h:31: warning: ‘class Optimisation’ has virtual functions
but non-virtual destructor
make: *** [main.o] Error 1
stargate:/home/osman/enGrid_20081119-bash->
----------------------------------------------------------------------------------------------------------------

I checked that I have vtk5.0 installed. What am I missing??

Thanks in advance,
-osman]]>
local mesh refinement http://engits.eu/vanilla/index.php?p=/discussion/6/local-mesh-refinement Thu, 12 Mar 2009 18:45:03 -0400 admin 6@/vanilla/index.php?p=/discussions I'm trying to generate a mesh with engrid for a a few simple geometries.
Now I got two questions:
Is it already possible to refine the mesh locally working with the
snapshot release? And I can't open the meshing options, is that because
it's only a snapshot?
Best regards,

Julian]]>
(no subject) http://engits.eu/vanilla/index.php?p=/discussion/5/no-subject Thu, 12 Mar 2009 18:42:28 -0400 admin 5@/vanilla/index.php?p=/discussions I' m using engrid to mesh a simple object like the ahmed body with a tetrahedral mesh and all is OK. I' ve seen in the examples page a case with polyhedral mesh: I suppose you use polydualMesh by Openfoam. I tried to pply polyDualMesh to the mesh that I' ve created in engrid (and that pass the checkmesh control) in order to have a polyhedral mesh, but I' ve a lot of errors both during polyDualMesh creation then applying checkMesh: here is some option (or some trick) in engrid in order to have a tetrahedral mesh that is compatible with polyDualMesh ?
Regards
Marco]]>