Anybody tried to use I-Simpa

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
keithsloan52
Veteran
Posts: 2756
Joined: Mon Feb 27, 2012 5:31 pm

Anybody tried to use I-Simpa

Post by keithsloan52 »

Just wondering if anybody has any experience of using I-Simpa http://i-simpa.ifsttar.fr or equivalent acoustic analysis software with FreeCAD. At present I guess one would export a building design in STL and import into I-Simpa.

If it makes a good combination maybe it could be a candidate for a FEM equivalent workbench.

Reason I ask is I have a friend who designs opera houses etc.
damian
Posts: 583
Joined: Sun May 31, 2015 6:16 pm

Re: Anybody tried to use I-Simpa

Post by damian »

Good morning @keithsloan52:
I don't have experience with acoustic analysis software with FreeCAD, but I'm interested.
Perhaps we can move the issue to 'open discussion' and collect there some links and information.
keithsloan52 wrote:using I-Simpa http://i-simpa.ifsttar.fr
Thank you for the link
keithsloan52 wrote: At present I guess one would export a building design in STL and import into I-Simpa
I'll check this way, but my experience with other formats is that normally the indirect way loses a lot of information.
PD: of course I don't design opera houses. My biggest project is the dog's stand, or similar ... I want to say 'I have a low level' with this question
Thank you again
damian
Posts: 583
Joined: Sun May 31, 2015 6:16 pm

Re: Anybody tried to use I-Simpa

Post by damian »

Uhhh!
The acoustic analysis software world is discouraging:
1º) The majority of programs are proprietary
2º) The majority of programs are windows
3º) The program's documentations are poor
For the moment I've installed two programs:
FIRST
I-Simpa, version 1.2.3 stable https://github.com/Ifsttar/I-Simpa/releases/tag/v1.2.3
SECOND
Slab https://ti.arc.nasa.gov/opensource/proj ... -renderer/ and Slab3d http://slab3d.sourceforge.net/
Both are running under PlayOnLinux
isimpa.png
isimpa.png (124.43 KiB) Viewed 6163 times
If some body finds other program I'll be thankful.
It's interesting the calculix crunchix manual: 6.9.9 Acoustic ("The hard way")
Obviously this is a project at very long term.
Bye
keithsloan52
Veteran
Posts: 2756
Joined: Mon Feb 27, 2012 5:31 pm

Re: Anybody tried to use I-Simpa

Post by keithsloan52 »

When I did a bit more digging. I got the impression that I-Simpa was just a front end and that there were other programs that did the calculations, but I could not track them down. If one could find the open source calculation programs then maybe those programs could be used by FreeCAD.
I-Simpa alone is not a calculation software, but is equivalent to a pre and post-processor for acoustic codes. One or more numerical codes must be added in order to obtain a fully functional system. At the present time, I-Simpa is delivered with two codes (TCR based on the classical theory of reverberation and SPPS based on particle tracing approach).
I also saw a tweet on their website that said they were migrating to a cross platform, but that was back in February

From https://github.com/Ifsttar/I-Simpa/blob ... uilding.md
On GNU/Linux (GCC or Clang)

I-Simpa do not use any platform specific library so in theory it can run on Linux. In practice it is not that simple, Travis will tell you if our Linux build work : Build Status
Maybe one could build TCR and SPSS from their source and then use them with a new FreeCAD workbench like the FEM
damian
Posts: 583
Joined: Sun May 31, 2015 6:16 pm

Re: Anybody tried to use I-Simpa

Post by damian »

keithsloan52 wrote:SPSS
Yes, the probabilistic approach is very interesting.
The SPPS code seems available in github.
There are a scientific article (5 pages) explaining the numerical method.
keithsloan52 wrote:but that was back in February
Actually they are using Travis.
I'll take a few months to know the program.
Thank you for the useful information
keithsloan52
Veteran
Posts: 2756
Joined: Mon Feb 27, 2012 5:31 pm

Re: Anybody tried to use I-Simpa

Post by keithsloan52 »

damian wrote:
keithsloan52 wrote:SPSS
Yes, the probabilistic approach is very interesting.
The SPPS code seems available in github.
There are a scientific article (5 pages) explaining the numerical method.
Actually they are using Travis.
I'll take a few months to know the program.
Thank you for the useful information
Don't know about Travis but I tried cloning the github and running cmake in the spps directory.
Had a problem with a file called Testing. Deleted Testing and created a directory called Testing.
cmake was then happy but had various complier errors on running make. Then did an export CPLUS_INCLUDE_PATH=/home/family/git-src/I-Simpa/src/lib_interface so that it could find various include files and things started to compile, but gave up as too many basic compile errors. Maybe it just needs a certain flavour of g++ i.e some C Compiler flag, but it is beyond my limited expertise. Plus I don't really know cmake.
keithsloan52
Veteran
Posts: 2756
Joined: Mon Feb 27, 2012 5:31 pm

Managed to Build on Ubuntu 14.04

Post by keithsloan52 »

Okay I found somebody who had built I-Simpa under Fedora https://github.com/Ifsttar/I-Simpa/issues/49
So decided to give it a go on my Ubuntu 14.04 system. The required version of cmake, wxwidget and boost are not available in a ubuntu repository so had to build them all from source which was a bit tedious and I had to hack the odd thing on my system to get cmake to find the newer versions. I also had to install the latest version of swig. As my system is old I had to change the cmake command in the link to use a non 64bit version of the python library.
Here are some of the links I followed on my journey https://cmake.org/download/ Installed as per https://www.claudiokuenzler.com/blog/61 ... BY98LNc-bk with appropriate changes in version number.http://www.binarytides.com/install-wxwidgets-ubuntu/ http://askubuntu.com/questions/397939/h ... -in-ubuntu http://www.boost.org/users/history/version_1_60_0.html http://askubuntu.com/questions/776142/i ... sr-include
In the end the executable did not successfully run, I suspect because I have a very old graphics card which only supports OpenGL1.4 and I suspect isimpa needs a lot later version,
damian
Posts: 583
Joined: Sun May 31, 2015 6:16 pm

Re: Anybody tried to use I-Simpa

Post by damian »

Good morning @ keithsloan52 :

I'm sorry. I didn't see your last post.
keithsloan52 wrote:on my Ubuntu 14.04 system
I built in an eight years old computer of 32 bits with Ubuntu 16.04.
Why not Ubuntu 14.04?. Because in .travis.yml https://github.com/Ifsttar/I-Simpa/blob ... travis.yml you can see libglapi-mesa and in 14.04

Code: Select all

damian@damian-HP:~$ sudo apt install libglapi-mesa
[sudo] password for damian: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 unity-control-center : Depends: libcheese-gtk23 (>= 3.4.0) but it is not going to be installed
                        Depends: libcheese7 (>= 3.0.1) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
This problem doesn't exist in Ubuntu 16.04 (at least for me)
keithsloan52 wrote:cmake
Okey. I used https://launchpad.net/~george-edison55/ ... /cmake-3.x.
Yes, the user need to change by hand https://github.com/Ifsttar/I-Simpa/blob ... eLists.txt with the available cmake version
keithsloan52 wrote:boost
I used these instructions http://rolflussi.blogspot.com.es/2016/0 ... buntu.html. The installation spent 20 or 30 minutes (in my very old computer)
the
Your link is perfect
I used the instructions in the wiki page https://wiki.wxwidgets.org/Compiling_an ... ng_started. The installation spent 15 or 20 minutes.

About installing isimpa, it took 5 or 10 minutes. This program is actually an skeleton!

The program is working, but I did not any hard test. At the beginning, I have a warning with openGL (my computer has 8 years). Also, I selected the English language and now the python console doesn't find the translations ... This is a baby project! I like it because the project has official, scientific, academic and community support. I bet for it.

I'm a novice compiling, but I can see the @sgrogan approach (and @NormandC ... all the freecad team). They always begin cleaning no necessary stuff and dependencies. Isimpa has an option SKIPSIMPA which eliminate the GUI and probably the dependency with openGL ... I will not probe it.

My roadmap is:

- new build in a new computer and report to I-Simpa (three months)
- learn the program a more reports to I-Simpa (one year)
- write some python code (two years)

and this is a very ambitious agenda. For example, @yorik can spent four or five years with and ifc exporter ... The time in FreeCAD doesn't exist.
Post Reply