Hi Sayantan,

I am copying this answer to the Dumux mailing list. Please use the list 
for future questions. That way, more people can get/give help.

sorry for not getting back to you earlier. On what level do you want to 
be able to call Dumux-Code from Matlab?

On the highest level, this is easily possible. You can call the 
executable from Matlab by using the system command:
http://www.mathworks.de/de/help/matlab/ref/system.html
By passing parameters to the Dumux executable in a proper way, one could 
for example write a timeloop in Matlab and call Dumux for each time step 
from Matlab.

On a lower level, one would have to invest some work to create Matlab 
bindings for the functionality that one would like to use. I am no 
expert in this, but would claim that you need to have a profound Dumux 
and C++ knowledge to achieve this. I heard that there are ongoing 
efforts for creating Python bindings for some Dune functionality. They 
use Swig for achieving this, http://www.swig.org/.

Kind regards
Bernd

On 07/14/2014 08:47 AM, Sayantan Ganguly wrote:
> Dear Bermd,
>             I have a small query regarding DuMux. Can the codes of DuMux be
> called from another software e.g. Matlab in some way such that
> other operations can be performed on the codes?
>
> Regards
> Sayantan
>
>
>
>> Dear DuMuX-users,
>>
>> today is another important day in the history of DuMuX. We are happy to
>> announce,
>> that the 2.4 version of DuMuX is now available. Hopefully you profit
>> from the
>> changes. We recommend to change to the current version.
>>
>> You can download the tarball from
>> http://www.dumux.org/download/
>>
>> Alternatively, and particularly if you want to develop within the
>> DuMuX module directory, you can svn-checkout the release branch:
>> svn checkout --username=anonymous --password=''
>> svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/branches/release-2.4 dumux
>>
>> Below you find the most important changes.
>>
>> Notable Differences Between DuMuX 2.3 and DuMuX 2.4
>> ================================================================================
>> Note: For the detailed description of changes in the DuMuX-2.4 release
>> please
>> see the CHANGELOG.
>>
>>      - Three geomechanics models have been added, thanks to the previous
>> PhD work
>>        of Melanie Darcis. The models are located in dumux/geomechanics, a
>> test for
>>        each model is provided in test/geomechanics:
>>        . elastic: linear elasticity equations that account only for the
>> solid
>>                   mechanics.
>>        . el1p2c:  poroelasticity equations for one solid and one fluid
>> phase, where
>>                   the fluid phase is admitted to consist of two components.
>>        . el2p:    poroelasticity equations for one solid phase and two
>> immiscible
>>                   fluid phases.
>>
>>      - A three-dimensional implementation of the MPFA L-method is added
>> and made
>>        available for the decoupled 2p models. It also allows for
>> simulation on
>>        an adaptive grid.
>>
>>      - The MPNC model now allows to drop the assumptions of local thermal
>> and/or
>>        chemical equilibrium. Dropping the local chemical equilibrium
>> assumption
>>        leads to mole fractions in different phases that are not
>> determined via
>>        equilibrium relations. If the local thermal equilibrium assumption
>> is
>>        dropped, phases (fluids and solid) are locally allowed to have
>> different
>>        temperatures. See test/implicit/mpnc/test_boxmpnckinetic for an
>> example.
>>
>> ================================================================================
>>
>> Have a lot of fun and best regards,
>> Bernd Flemisch
>>
>> --
>> _______________________________________________________________
>>
>>       !!!! CMWR 2014: 10th - 13th June 2014 in Stuttgart !!!!
>>                     Please visit www.cmwr14.de
>> _______________________________________________________________
>>
>> Bernd Flemisch                         phone: +49 711 685 69162
>> IWS, Universität Stuttgart             fax:   +49 711 685 60430
>> Pfaffenwaldring 61            email: be...@iws.uni-stuttgart.de
>> D-70569 Stuttgart            url: www.hydrosys.uni-stuttgart.de
>> _______________________________________________________________
>>
>>
>> --
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, and is
>> believed to be clean.
>>
>


-- 
_______________________________________________________________

Bernd Flemisch                         phone: +49 711 685 69162
IWS, Universität Stuttgart             fax:   +49 711 685 60430
Pfaffenwaldring 61            email: be...@iws.uni-stuttgart.de
D-70569 Stuttgart            url: www.hydrosys.uni-stuttgart.de
_______________________________________________________________

_______________________________________________
Dumux mailing list
Dumux@listserv.uni-stuttgart.de
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to