CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM News & Announcements > OpenFOAM Announcements from Other Sources

InsightCAE - Open Source Project for Workflow Automation

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

Like Tree10Likes
  • 4 Post By hannes
  • 3 Post By hannes
  • 1 Post By hannes
  • 1 Post By hannes
  • 1 Post By hannes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 20, 2017, 10:09
Default InsightCAE - Open Source Project for Workflow Automation
  #1
Senior Member
 
Hannes Kröger
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 113
Rep Power: 13
hannes is on a distinguished road
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
elvis, wyldckat, thg and 1 others like this.
__________________
silentdynamics GmbH - http://silentdynamics.de
open source CAE software solutions & support
hannes is offline   Reply With Quote

Old   January 31, 2018, 03:38
Default
  #2
Senior Member
 
Hannes Kröger
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 113
Rep Power: 13
hannes is on a distinguished road
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
elvis, wyldckat and Ros like this.
__________________
silentdynamics GmbH - http://silentdynamics.de
open source CAE software solutions & support
hannes is offline   Reply With Quote

Old   February 3, 2018, 06:00
Default
  #3
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,936
Blog Entries: 42
Rep Power: 119
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
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:
  1. Do you accept source code contributions for this project?
    • And if you do, to which branch should we sync to and can we use the Pull Requests feature in Github?
  2. From what I can see, only Linux Distributions are support at the moment? Or has there been any reports of Mac OS X and Windows been reported as successfully being used as well?
  3. Is there a release cycle or are the latest developments automatically synced to the Deb packages?
Many thanks once again!

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   February 3, 2018, 07:36
Default
  #4
Senior Member
 
Hannes Kröger
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 113
Rep Power: 13
hannes is on a distinguished road
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
wyldckat likes this.
__________________
silentdynamics GmbH - http://silentdynamics.de
open source CAE software solutions & support
hannes is offline   Reply With Quote

Old   February 7, 2018, 04:39
Default
  #5
Senior Member
 
Hannes Kröger
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 113
Rep Power: 13
hannes is on a distinguished road
Another example: using the snappyHexMesh interface from within our script-based CAD tool:

https://github.com/hkroeger/insightc...esh-from-ISCAD
thg likes this.
__________________
silentdynamics GmbH - http://silentdynamics.de
open source CAE software solutions & support
hannes is offline   Reply With Quote

Old   May 29, 2018, 15:52
Default InsightCAE for Windows
  #6
Senior Member
 
Hannes Kröger
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 113
Rep Power: 13
hannes is on a distinguished road
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
hannes is offline   Reply With Quote

Old   January 31, 2019, 09:38
Default
  #7
New Member
 
Sama
Join Date: Jan 2019
Posts: 10
Rep Power: 2
Samsam2 is on a distinguished road
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,
Samsam2 is offline   Reply With Quote

Old   January 31, 2019, 09:42
Default
  #8
Senior Member
 
Hannes Kröger
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 113
Rep Power: 13
hannes is on a distinguished road
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
Samsam2 likes this.
__________________
silentdynamics GmbH - http://silentdynamics.de
open source CAE software solutions & support
hannes is offline   Reply With Quote

Old   January 31, 2019, 09:52
Default
  #9
New Member
 
Sama
Join Date: Jan 2019
Posts: 10
Rep Power: 2
Samsam2 is on a distinguished road
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,
Samsam2 is offline   Reply With Quote

Old   February 5, 2019, 12:36
Default
  #10
New Member
 
Sama
Join Date: Jan 2019
Posts: 10
Rep Power: 2
Samsam2 is on a distinguished road
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,
Samsam2 is offline   Reply With Quote

Old   September 9, 2019, 21:16
Default
  #11
New Member
 
Join Date: Nov 2018
Posts: 1
Rep Power: 0
neznayer is on a distinguished road
Quote:
1 # echo deb http://downloads.silentdynamics.de/ubuntu xenial main > /etc/apt/sources.list.d/sd.list
2 # apt-key adv --fetch-keys http://downloads.silentdynamics.de/S...PUBLIC_KEY.gpg
3 # apt-get update
4 # apt-get install insightcae-base openfoamplus-insightcae
after 2, I get
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:
.....
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9D33DF172468FD2C
Err:4 http://downloads.silentdynamics.de/ubuntu bionic InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9D33DF172468FD2C
Reading package lists... Done
W: GPG error: http://downloads.silentdynamics.de/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9D33DF172468FD2C
E: The repository 'http://downloads.silentdynamics.de/ubuntu xenial InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
.....
What should I do in such case?

And, I've already installed OpenFoam 7 , and this part
Quote:
4 # apt-get install insightcae-base openfoamplus-insightcae
will install the OpenFoam the second time?
neznayer is online now   Reply With Quote

Old   September 10, 2019, 08:29
Default
  #12
Senior Member
 
Hannes Kröger
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 113
Rep Power: 13
hannes is on a distinguished road
Dear neznayer,

Quote:
Originally Posted by neznayer View Post
after 2, I get
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
I'm not sure why you can't fetch the key. Maybe some network issue? Do you use a proxy?

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:
Originally Posted by neznayer View Post
Well since it says only 'Warning', not 'Error' , I tried to continue. But 3 gives me:



What should I do in such case?
You might try to add the option "--allow-unauthenticated" to the apt-get call (see here).

Quote:
Originally Posted by neznayer View Post
And, I've already installed OpenFoam 7 , and this part

will install the OpenFoam the second time?
Yes.

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
hannes is offline   Reply With Quote

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Problem compiling a custom Lagrangian library brbbhatti OpenFOAM Programming & Development 2 July 7, 2014 11:32
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 09:17
[swak4Foam] Error bulding swak4Foam sfigato OpenFOAM Community Contributions 18 August 22, 2013 12:41
[swak4Foam] swak4Foam-groovyBC build problem zxj160 OpenFOAM Community Contributions 18 July 30, 2013 13:14
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 03:50.