CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > enGrid

Towards a new release

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree7Likes
  • 5 Post By ogloth
  • 2 Post By kittychunk

Reply
 
LinkBack Thread Tools Display Modes
Old   June 24, 2014, 11:52
Default Towards a new release
  #1
Super Moderator
 
Oliver Gloth
Join Date: Mar 2009
Location: Todtnau, Germany
Posts: 116
Rep Power: 8
ogloth is on a distinguished road
Hello,

I am happy to report, that finally enGrid is moving forward again. In the last couple of weeks an interface to TetGen has been implemented. TetGen became open-source in November 2013 and we believe that it better fits into enGrid and that the resulting grids have a smoother mesh size distribution. At the same time we have also moved to using CGAL for geometric surface projections. This removed the annoying requirement of different boundary codes in order to conserve feature edges.

As a result the overall meshing process got quicker, easier to use, and more reliable. Of course there are still a few kinks which need ironing out, but feel free to test the code and report problems (or success).

You can find the development version on GitHub in the branch "new_concept".

Best regards,
Oliver
ogloth is offline   Reply With Quote

Old   August 10, 2014, 23:13
Default
  #2
New Member
 
Fa-Gung Fan
Join Date: Nov 2009
Posts: 4
Rep Power: 7
ffan is on a distinguished road
Hi enGrid users,

Has anyone successfully built this "new_concept" version? Please post the build steps. Thank you.

- ffan
ffan is offline   Reply With Quote

Old   August 11, 2014, 01:27
Default
  #3
Super Moderator
 
Oliver Gloth
Join Date: Mar 2009
Location: Todtnau, Germany
Posts: 116
Rep Power: 8
ogloth is on a distinguished road
Hello,

In the meantime the new_concept branch has been merged into the master branch. It is now using CMake as build system, so building it should hopefully be fairly straightforward. We will put together some instructions, but haven't had the time yet.

Regards,
Oliver
ogloth is offline   Reply With Quote

Old   August 18, 2014, 05:31
Default
  #4
Senior Member
 
M. C.
Join Date: May 2013
Location: Italy
Posts: 108
Rep Power: 4
student666 is on a distinguished road
Hi all,

I'm also interested on new version of Engrid.

Ffan did you suceffully build the program?

Quote:
Has anyone successfully built this "new_concept" version? Please post the build steps.
Shall I compile every single one http://todtnau.engits.de/engrid/master/html/files.html
student666 is offline   Reply With Quote

Old   August 21, 2014, 12:04
Default
  #5
New Member
 
Marco
Join Date: Mar 2014
Posts: 4
Rep Power: 3
geronimo_750 is on a distinguished road
Hi All,

I really would like to try this new release but the previous scripts are not working.
The netgen_svn directory is not present anymore as well as the patch "nglib_engrid_mods.diff" so the builder just stops!

Any info is more than welcome!

Regards
geronimo_750 is offline   Reply With Quote

Old   November 2, 2014, 18:29
Default
  #6
Senior Member
 
M. C.
Join Date: May 2013
Location: Italy
Posts: 108
Rep Power: 4
student666 is on a distinguished road
Hi all,

can someone light me how to use new version for Engrid? thanks a lot!
student666 is offline   Reply With Quote

Old   June 21, 2015, 16:17
Default
  #7
New Member
 
Javier de la Sierra
Join Date: May 2015
Posts: 8
Rep Power: 2
javier.delasierra is on a distinguished road
I am looking to the installation instructions for master branch. I home someone could help
thanks!
javier.delasierra is offline   Reply With Quote

Old   June 23, 2015, 07:15
Default
  #8
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 579
Blog Entries: 5
Rep Power: 13
elvis is on a distinguished road
Hi,

there is a install instruction which points on install script
https://github.com/enGits/engrid/wik...D-Installation

there is a script that should do the job, it fetches the sources ...
https://github.com/enGits/engrid/blob/master/build.bash
elvis is offline   Reply With Quote

Old   June 28, 2015, 14:51
Default
  #9
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,511
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Quote:
Originally Posted by elvis View Post
there is a install instruction which points on install script
https://github.com/enGits/engrid/wik...D-Installation

there is a script that should do the job, it fetches the sources ...
https://github.com/enGits/engrid/blob/master/build.bash
Quick answer: Unfortunately at this point in time, both links refer to enGrid 1.4.

The latest enGrid on the master branch uses CMake for the build system and brief instructions have been given here: https://github.com/enGits/engrid/issues/52
wyldckat is offline   Reply With Quote

Old   July 27, 2015, 04:00
Default
  #10
New Member
 
Javier de la Sierra
Join Date: May 2015
Posts: 8
Rep Power: 2
javier.delasierra is on a distinguished road
I have been able to install the new "master-branch" in Ubuntu 14.04, please follow instructions here:

https://github.com/enGits/engrid/issues/52
javier.delasierra is offline   Reply With Quote

Old   August 6, 2015, 05:14
Default enGrid 1.5 install summary, Ubuntu 14.04
  #11
New Member
 
Quinn Reynolds
Join Date: Jun 2014
Posts: 2
Rep Power: 0
kittychunk is on a distinguished road
First of all, thanks very much to all the previous posts and those who gave instructions on GitHub. Because it's a bit complicated and I tripped up on a lot of things along the way, I thought it might be worth documenting a full step-by-step install procedure for the enGrid 1.5 beta on an Ubuntu 14.04 LTS system. This is offered strictly on an “it worked for me, but YMMV” basis


Pre-installation

0. All the instructions below assume you're working on an up-to-date Ubuntu 14.04 LTS system, on the Linux command prompt in a bash shell as a normal non-root user (unless otherwise specified).

1. I try and keep all my compiled-from-source software in a location away from the main system, typically a directory like /home/user_name/software. I keep a directory inside that location for the actual compiled executables and libraries, eg. /home/user_name/software/local. It's up to you if you want to put them anywhere else, but you'll need to modify all paths below accordingly if you do. NB - remember to add these lines to the end of the .bashrc file in your home directory, so that your new executables and libraries can find each other:
Code:
export PATH=/home/user_name/software/local/bin:$PATH
export LD_LIBRARY_PATH=/home/user_name/software/local/lib:$LD_LIBRARY_PATH
2. Install various tools you'll probably need, if you don't already have them:
Code:
user@machine:~$ sudo apt-get install git subversion build-essential vtk-qt qt-devel vtk-devel patch cmake cmake-qt-gui

Updating CGAL

3(a). The CGAL library in the Ubuntu repositories is too old for enGrid 1.5. Get the source for a newer one from any of the links in the “Build from Source” section on this page. I downloaded the 4.6.1 tar.gz file, and unpacked it into /home/user_name/software/CGAL-4.6.1:
Code:
user@machine:/home/user_name/software$ tar -zxvf CGAL-4.6.1.tar.gz
3(b). Create a “build” directory inside /home/user_name/software/CGAL-4.6.1, and cd into it. From there, run either “ccmake ../” or “cmake-gui ../” depending on your preference. On my system cmake-gui seems to work more reliably:
Code:
user@machine:/home/user_name/software/CGAL-4.6.1/build$ cmake-gui ../
(If no variables show up in the central box, click the “Configure” button lower left - that should load up all the default cmake settings for CGAL).

3(c). Find and change the CMAKE_INSTALL_PREFIX variable from the default (“/usr/local”) to your local user software directory (“/home/user_name/software/local”). Optionally, change CMAKE_BUILD_TYPE to “Release”. Once that's done, click the “Generate” button lower left. Unless you get any errors, you can then close cmake-gui and go back to the command line.

3(d). Build the CGAL library:
Code:
user@machine:/home/user_name/software/CGAL-4.6.1/build$ make install
(Optionally add a “-j N” switch after “make install” to use N processors on a multicore machine, to speed up compilation).


Updating VTK

4(a). The VTK library in the Ubuntu repositories is also too old for enGrid 1.5. Get the source for a newer one (version >= 6) from any of the links on this page. I downloaded the 6.1.0 Source tar.gz file, and unpacked it into /home/user_name/software/VTK-6.1.0:
Code:
user@machine:/home/user_name/software$> tar -zxvf VTK-6.1.0.tar.gz
4(b). Create a “build” directory inside /home/user_name/software/VTK-6.1.0, and cd into it. From there, run either “ccmake ../” or “cmake-gui ../”. Using cmake-gui:
Code:
user@machine:/home/user_name/software/VTK-6.1.0/build$ cmake-gui ../
(See note in point 3(b) if you don't see any cmake variables displayed at first).

4(c). Change the CMAKE_INSTALL_PREFIX variable from the default (“/usr/local”) to your local user software directory (“/home/user_name/software/local”). Optionally, change CMAKE_BUILD_TYPE to “Release”. Also make very sure that the BUILD_SHARED_LIBS, VTK_Group_Qt, VTK_Group_Rendering, and VTK_Group_StandAlone boolean values are set to “true” (boxes are ticked in cmake-gui). Click the “Generate” button lower left. Unless you get any errors, you can close cmake-gui and go back to the command line.

4(d). Build the VTK library:
Code:
user@machine:/home/user_name/software/VTK-4.6.1/build$ make install
(See note in point 3(d) to speed things up - VTK is a large library and can take a long time to compile).


Building enGrid 1.5

5(a). From within your user software directory, checkout a local copy of the enGrid master source directory from GitHub:
Code:
user@machine:/home/user_name/software:$ git clone git://github.com/enGits/engrid.git engrid
or if that doesn't work, try:
Code:
user@machine:/home/user_name/software:$ git clone https://github.com/enGits/engrid.git engrid
5(b). Create a “build” directory inside /home/user_name/software/engrid, and cd into it. From there, run either “ccmake ../src/” or “cmake-gui ../src/”. Using cmake-gui:
Code:
user@machine:/home/user_name/software/engrid/build$ cmake-gui ../src/
(See note in point 3(b) if you don't see any cmake variables displayed at first).

5(c). Change the CGAL_DIR variable to your local CGAL cmake directory (“/home/user_name/software/local/lib/CGAL” if you followed the steps above). Change the CGAL_INCLUDE_PATH variable to your local CGAL include directory (“/home/user_name/software/local/include/CGAL” if you followed the steps above). Change the VTK_DIR variable to your local VTK cmake directory (“/home/user_name/software/local/lib/cmake/vtk-6.1” if you followed the steps above). Change the CMAKE_INSTALL_PREFIX variable to your local user software directory (“/home/user_name/software/local”). Optionally, change CMAKE_BUILD_TYPE to “Release”. Click the “Generate” button lower left. Unless you get any errors, you can close cmake-gui and go back to the command line.

5(d). Build enGrid:
Code:
user@machine:/home/user_name/software/engrid/build$ make install
(See note in point 3(d) to speed things up - enGrid is also fairly large and can take time to compile).


Testing and tidying up (optional)

6(a). Test enGrid:
Code:
user@machine:/home/user_name/software/local/bin$ ./engrid
If successful this should launch you into the enGrid 1.5 gui.

6(b). Rename the new install to prevent conflict with past and future versions:
Code:
user@machine:/home/user_name/software/local/bin$ mv engrid engrid1p5
You should be able to start enGrid 1.5 by running the command “engrid1p5” from anywhere in the file system now (If not, and/or if you got errors about missing libraries in step 6(a), add your local software paths to .bashrc - see step 1 - and restart your bash terminal).

6(c). If you prefer, you can delete the /home/user_name/software/CGAL-4.6.1, VTK-6.1.0, and engrid directories. Once enGrid and its components are compiled they are no longer required.
wyldckat and student666 like this.
kittychunk is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Release of foam-extend-3.0 hjasak OpenFOAM Announcements from Other Sources 2 September 21, 2014 07:08
Openfoam Ubuntu 12.04 Unmet dependencies slls33 OpenFOAM Installation 10 April 9, 2013 04:16
Extend Project Release 1.6-ext hjasak OpenFOAM Announcements from Other Sources 33 July 14, 2011 18:54
OpenCFD release OpenFOAM® version 1.7.1 opencfd OpenFOAM Announcements from ESI-OpenCFD 0 August 26, 2010 11:40
Diesel combustion simulation ( Heat release rate) venkatesh CD-adapco 2 April 29, 2009 07:38


All times are GMT -4. The time now is 19:31.