|
[Sponsors] |
InsightCAE - Open Source Project for Workflow Automation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 20, 2017, 11:09 |
InsightCAE - Open Source Project for Workflow Automation
|
#1 |
Senior Member
Hannes Kröger
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 124
Rep Power: 18 |
Hello,
initially for our internal purposes, we started a project to create automated workflows: InsightCAE. The software is open source and most of its applications currently use OpenFOAM as a backend. The project contains: * a lot of functions to interface OpenFOAM cases * extensions (schemes, function objects, models ...) to OpenFOAM * some infrastructure and a GUI to handle parameters and simulation results * a script-based CAD tool The project uses CMake as a build system, also for the OpenFOAM extensions. InsightCAE is not tied to a specific OpenFOAM version but does support a large number of versions at the same time. We have now moved the source code repository to Github: https://github.com/hkroeger/insightcae We also started a documentation: https://github.com/hkroeger/insightcae/wiki Please feel free to have a look at the project. Suggestions for improvements are always welcome! Regards, Hannes PS: See this screencast for an idea of how an automated process looks like from a user perspective: https://youtu.be/kxGlFxFQzPE
__________________
silentdynamics GmbH - http://silentdynamics.de open source CAE software solutions & support |
|
January 31, 2018, 04:38 |
|
#2 |
Senior Member
Hannes Kröger
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 124
Rep Power: 18 |
We have started to add some tutorials to the documentation wiki.
The first is about the OpenFOAM case builder tool (a lean GUI to create OpenFOAM cases from feature building bricks): https://github.com/hkroeger/insightc...d%2C-Tutorials
__________________
silentdynamics GmbH - http://silentdynamics.de open source CAE software solutions & support |
|
February 3, 2018, 07:00 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Hannes,
Many thanks for sharing this project! I've added InsightCAE to the Open Source section in the GUI page at openfoamwiki.net, namely here: https://openfoamwiki.net/index.php/GUI#Open_Source I also have a few questions:
Best regards, Bruno |
|
February 3, 2018, 08:36 |
|
#4 |
Senior Member
Hannes Kröger
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 124
Rep Power: 18 |
Dear Bruno,
thank you for the credits :-). Regarding your questions: 1./3. Yes, contributions are very welcome. When developing, you should refer to the master branch. I do the active development in my personal branch "hannes_dev" but merge the results into master as soon as they proof to work. Usually in a weekly cycle but sometimes also more often. There is yet no formal release cycle (Though I admit that I should define one). The debian packages are automatically built every saturday evening from the master branch. Afterwards, a deployment test and some unit tests are run. 2. The software has only been used in Linux so far. All of the dependencies are available for Windows, the build system CMake also works in Windows and I tried to rely on portable solution with boost most of the time, so I see no principle obstacle to compile the whole project in Windows. I have just not attempted it yet. Regards, Hannes
__________________
silentdynamics GmbH - http://silentdynamics.de open source CAE software solutions & support |
|
February 7, 2018, 05:39 |
|
#5 |
Senior Member
Hannes Kröger
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 124
Rep Power: 18 |
Another example: using the snappyHexMesh interface from within our script-based CAD tool:
https://github.com/hkroeger/insightc...esh-from-ISCAD
__________________
silentdynamics GmbH - http://silentdynamics.de open source CAE software solutions & support |
|
May 29, 2018, 16:52 |
InsightCAE for Windows
|
#6 |
Senior Member
Hannes Kröger
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 124
Rep Power: 18 |
For those tied to the Windows operating system: we have now added installation instructions for InsightCAE together with OpenFOAM in Windows-10.
See: http://silentdynamics.de/en/oss-cae/#installation The approach uses the Linux Subsystem for Windows and thus only works in Windows-10 Enterprise or in Windows Server. We are currently working on another solution based on Cygwin which should also work on Windows-10 Home and older Windows versions. We will keep you updated. Regards, Hannes
__________________
silentdynamics GmbH - http://silentdynamics.de open source CAE software solutions & support |
|
January 31, 2019, 10:38 |
|
#7 |
New Member
Sama
Join Date: Jan 2019
Posts: 16
Rep Power: 7 |
I am trying to install InsightCAE with "Build From Sources" method fined at :
https://silentdynamics.de/en/oss-cae/#insight_install I am getting this error: CMake Error at CMakeLists.txt:10 (message): It seems that an OpenFOAM environment is loaded. Please build InsightCAE without any OpenFOAM environment variables set! How can I solve the problem? Thank you, |
|
January 31, 2019, 10:42 |
|
#8 |
Senior Member
Hannes Kröger
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 124
Rep Power: 18 |
Dear Samsam,
the OpenFOAM environment is set by parsing the file "bashrc" from OpenFOAMs etc directory. When you run cmake, it tries to detect the different OpenFOAM installations on your system (well, those versions, which InsightCAE currently supports) and extracts the compiler and linker settings for them. This process does not work properly, if you have an OpenFOAM environment loaded. So just open a new terminal without sourcing OF's bashrc and run cmake from that. Regards, Hannes
__________________
silentdynamics GmbH - http://silentdynamics.de open source CAE software solutions & support |
|
January 31, 2019, 10:52 |
|
#9 |
New Member
Sama
Join Date: Jan 2019
Posts: 16
Rep Power: 7 |
Hello Hannes,
Thank you so much for the reply. I am using Ubuntu from windows 10 and I have tried running cmake from new terminal. still getting the same error. Do you know how I can open a new terminal without sourcing OF's bashrc? Thank you, |
|
February 5, 2019, 13:36 |
|
#10 |
New Member
Sama
Join Date: Jan 2019
Posts: 16
Rep Power: 7 |
I am getting following error in insight CAE installation:
CMake Error at CMake/FindOpenFOAM-esi1806.cmake:36 (string): string sub-command REGEX, mode REPLACE needs at least 6 arguments total to command. when I am searching in CMakeLists. txt there is no REGEX in code!! How Can I solve the problem? Thank you, |
|
September 9, 2019, 22:16 |
|
#11 | |||
New Member
Join Date: Nov 2018
Posts: 2
Rep Power: 0 |
Quote:
gpg: requesting key from 'http://downloads.silentdynamics.de/SD_REPOSITORIES_PUBLIC_KEY.gpg' gpg: connecting dirmngr at '/tmp/apt-key-gpghome.qInqdYEuDE/S.dirmngr' failed: IPC connect call failed gpg: WARNING: unable to fetch URI http://downloads.silentdynamics.de/S...UBLIC_KEY.gpg: No dirmngr Well since it says only 'Warning', not 'Error' , I tried to continue. But 3 gives me: Quote:
And, I've already installed OpenFoam 7 , and this part Quote:
|
||||
September 10, 2019, 09:29 |
|
#12 | |||
Senior Member
Hannes Kröger
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 124
Rep Power: 18 |
Dear neznayer,
Quote:
You might try this alternative way, maybe that works: Code:
curl -sL "http://downloads.silentdynamics.de/SD_REPOSITORIES_PUBLIC_KEY.gpg" | sudo apt-key add Quote:
Quote:
Our idea is to provide an execution-ready installation of our software along with a compatible version of OpenFOAM. We adhere to ESI's release of OpenFOAM and we mostly use v1806 currently. But we are in the process to update to v1906 (which is still based on OF6). If you want to use InsightCAE with some other installation of OpenFOAM, you will need to build it from the sources (see https://silentdynamics.de/en/oss-cae/#insight_install / "Build From Sources").
__________________
silentdynamics GmbH - http://silentdynamics.de open source CAE software solutions & support |
||||
October 6, 2019, 18:13 |
|
#13 |
Senior Member
Hannes Kröger
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 124
Rep Power: 18 |
Just an update:
for those who struggle with the installation: we have installation packages for Ubuntu Bionic and Xenial available, as well as for CentOS 7. Also, we have meanwhile invested some work in improving the graphical preview of analyses in our GUI and the OpenFOAM case builder. There are some sample workflows included in InsightCAE that can also be directly useful for many applications and which now use the graphical preview features. I started to write some documentation for the first of them: the "Numercial Wind Tunnel". see https://silentdynamics.de/en/insight...al-Wind-Tunnel It basically does incompressible, isothermal flow around an object sitting on the floor, everything wrapped in a rather simple GUI application. Regards, Hannes
__________________
silentdynamics GmbH - http://silentdynamics.de open source CAE software solutions & support |
|
September 22, 2020, 14:01 |
installation problem
|
#14 |
Member
Muhammad Ahyar
Join Date: Mar 2020
Posts: 30
Rep Power: 6 |
i was trying to do installation, but when i try to run
Code:
ccmake ../insight-src "CMake Error at CMakeLists.txt:3 (cmake_policy): Policy "CMP0078" is not known to this version of CMake. CMake Error at CMakeLists.txt:4 (cmake_policy): Policy "CMP0086" is not known to this version of CMake. CMake Error at CMakeLists.txt:15 (message): It seems that an OpenFOAM environment is loaded. Please build InsightCAE without any OpenFOAM environment variables set! " how to fix this? thanks |
|
September 23, 2020, 03:29 |
|
#15 |
Senior Member
Hannes Kröger
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 124
Rep Power: 18 |
Hi Ahyar,
looks like your version of CMake is too old. Currently we develop using version 3.18.2. The last message indicates that you executed cmake in a shell which sources OpenFOAM's bashrc in it's startup script. InsightCAE's CMake scripts can handle multiple parallel installed OpenFOAM versions. When an OpenFOAM environment is loaded, this causes some problems with the autodetection. Thus you should build InsightCAE in a pristine environment. Regards, Hannes
__________________
silentdynamics GmbH - http://silentdynamics.de open source CAE software solutions & support |
|
September 25, 2020, 06:54 |
|
#16 |
Member
Muhammad Ahyar
Join Date: Mar 2020
Posts: 30
Rep Power: 6 |
thanks for your response hannes
then what should i do to install it? should i install newest version of cmake or install insightcae on pristine environment? if so, how could i install it on pristine env? |
|
September 25, 2020, 07:07 |
|
#17 |
Senior Member
Hannes Kröger
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 124
Rep Power: 18 |
Yes, cmake-3.18 is default in Ubuntu Focal. If you are on another distribution, just download and install the latest version from cmake.org.
To produce a pristine environment: just comment out the "source /path/to/OF/bashrc" statement in you ~/.bashrc. Personally, I use aliases for loading the OF environment only, if I need it.
__________________
silentdynamics GmbH - http://silentdynamics.de open source CAE software solutions & support |
|
March 15, 2022, 11:28 |
update to ubuntu 21?
|
#18 |
New Member
Phil M
Join Date: Jun 2021
Posts: 5
Rep Power: 5 |
unfortunately install is broken on recent ubuntu because`apt-key` is not working anymore and even using an ubuntu 20 container didn't work (Qt plateform didn't like the container way).
Do you plan to update it for Ubuntu 21, or maybe 22? Thank you |
|
March 15, 2022, 15:46 |
|
#19 |
Senior Member
Hannes Kröger
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 124
Rep Power: 18 |
Dear Phil,
we use and test the packages with the current Ubuntu LTS only. Also the master branch version (I guess you used that, because our website instructions lead to it) is quite old already. During the next month, we will publish the next major release and update it. In the meanwhile you might try our "next_release" development build. Just use the repository URL http://downloads.silentdynamics.de/ubuntu_dev instead (note the trailing "_dev") Regards, Hannes
__________________
silentdynamics GmbH - http://silentdynamics.de open source CAE software solutions & support |
|
March 15, 2022, 16:45 |
|
#20 |
New Member
Phil M
Join Date: Jun 2021
Posts: 5
Rep Power: 5 |
Thank you Hannes for this detailed reply.
By downloading the deb packages I finally run it on Ubuntu 21. I'd be glad to test a more recent version. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem compiling a custom Lagrangian library | brbbhatti | OpenFOAM Programming & Development | 2 | July 7, 2014 12:32 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 10:17 |
[swak4Foam] Error bulding swak4Foam | sfigato | OpenFOAM Community Contributions | 18 | August 22, 2013 13:41 |
[swak4Foam] swak4Foam-groovyBC build problem | zxj160 | OpenFOAM Community Contributions | 18 | July 30, 2013 14:14 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |