Hi all,
I thought that it would be good to let you know about this: A CAPE-OPEN Unit Op working on Linux! How it works?
I'm currently developing DWSIM version 3, compiling it using the Visual Basic 2010 Express w/ .NET Framework 4.0. Because of that, I had to update my CAPE-OPEN .NET library provided by Bill Barrett to its latest version, compiled under C# and .NET 4 - fully managed, 100% .NET code (the currently installation package that is available on USEPA website is compiled under C#/C++, mixed-mode, not fully managed code - I guess that this is the version currently distributed with COCO).
In the latest public release of DWSIM Mono Edition there is support for CAPE-OPEN unit operations, loadable from .NET assemblies (executable and/or dlls). The problem is that it is compiled under .NET 2.0 and when I tried to load the CAPE-OPEN .NET library (mixed-mode C#/C++), Mono throws an exception because of unmanaged (C++) bindings.
This morning I remembered that I could try loading the .NET 4 CAPE-OPEN library and see if it would work. And it did! There is some problem with reading the ports, though, but I'll investigate it later. At least it loads and shows all editing forms flawlessly.
Here are some screens of DWSIM 3 running on Ubuntu 11.10 with the CAPE-OPEN unit operation added to a flowsheet:
Regards,
Daniel