|
[Sponsors] |
June 24, 2014, 12:52 |
Towards a new release
|
#1 |
Senior Member
Oliver Gloth
Join Date: Mar 2009
Location: Todtnau, Germany
Posts: 121
Rep Power: 17 |
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 |
|
August 11, 2014, 00:13 |
|
#2 |
New Member
Fa-Gung Fan
Join Date: Nov 2009
Posts: 8
Rep Power: 17 |
Hi enGrid users,
Has anyone successfully built this "new_concept" version? Please post the build steps. Thank you. - ffan |
|
August 11, 2014, 02:27 |
|
#3 |
Senior Member
Oliver Gloth
Join Date: Mar 2009
Location: Todtnau, Germany
Posts: 121
Rep Power: 17 |
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 |
|
August 18, 2014, 06:31 |
|
#4 | |
Senior Member
|
Hi all,
I'm also interested on new version of Engrid. Ffan did you suceffully build the program? Quote:
|
||
August 21, 2014, 13:04 |
|
#5 |
New Member
Marco
Join Date: Mar 2014
Posts: 8
Rep Power: 12 |
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 |
|
June 21, 2015, 17:17 |
|
#7 |
New Member
Javier de la Sierra
Join Date: May 2015
Posts: 8
Rep Power: 11 |
I am looking to the installation instructions for master branch. I home someone could help
thanks! |
|
June 23, 2015, 08:15 |
|
#8 |
Senior Member
|
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 |
|
June 28, 2015, 15:51 |
|
#9 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
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 |
||
July 27, 2015, 05:00 |
|
#10 |
New Member
Javier de la Sierra
Join Date: May 2015
Posts: 8
Rep Power: 11 |
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 |
|
August 6, 2015, 06:14 |
enGrid 1.5 install summary, Ubuntu 14.04
|
#11 |
New Member
Quinn Reynolds
Join Date: Jun 2014
Posts: 7
Rep Power: 12 |
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 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 Code:
user@machine:/home/user_name/software/CGAL-4.6.1/build$ cmake-gui ../ 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 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 Code:
user@machine:/home/user_name/software/VTK-6.1.0/build$ cmake-gui ../ 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 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 Code:
user@machine:/home/user_name/software:$ git clone https://github.com/enGits/engrid.git engrid Code:
user@machine:/home/user_name/software/engrid/build$ cmake-gui ../src/ 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 Testing and tidying up (optional) 6(a). Test enGrid: Code:
user@machine:/home/user_name/software/local/bin$ ./engrid 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 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. |
|
March 27, 2016, 13:14 |
problem at step 5c
|
#12 |
Senior Member
Klaus
Join Date: Mar 2009
Posts: 281
Rep Power: 22 |
Hello,
I run into the following problem at step 5c of your instructions: The "c" configure command results in the following error: CMake Error at CMakeLists.txt:43 (string): string sub-command REGEX, mode REPLACE needs at least 6 arguments total to command. What's causing this problem? Any idea to fix it? Klaus |
|
|
|
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 08:08 |
Openfoam Ubuntu 12.04 Unmet dependencies | slls33 | OpenFOAM Installation | 10 | April 9, 2013 05:16 |
Extend Project Release 1.6-ext | hjasak | OpenFOAM Announcements from Other Sources | 33 | July 14, 2011 19:54 |
OpenCFD release OpenFOAM® version 1.7.1 | opencfd | OpenFOAM Announcements from ESI-OpenCFD | 0 | August 26, 2010 12:40 |
Diesel combustion simulation ( Heat release rate) | venkatesh | Siemens | 2 | April 29, 2009 08:38 |