Basic operations in Elmer

General discussion about Elmer
Post Reply
Duván
Posts: 5
Joined: 24 Jan 2019, 06:57
Antispam: Yes

Basic operations in Elmer

Post by Duván » 24 Mar 2019, 07:01

Hello,

In my experience with Elmer I have seen very powerful functionalities on the simulation of physical systems. I wonder how to make basic operations as addition, sustraction, multiplication, division and derivatives. What I have seen in several simulations is that there are several modules already programmed and listed as a black box, and one uses those modules without knowing how they work.

Please tell me if it is possible to perform elementary operations such as arithmetic or derivation, and please tell me how they are implemented. Or please tell me if I have to go to the Fortran programming language with which Elmer is made for these purposes.

Thank you in advance.

mzenker
Posts: 1945
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: Basic operations in Elmer

Post by mzenker » 25 Mar 2019, 14:35

Hi,

to execute all kinds of operations in Elmer, you can
  • use the operators in SaveScalars (see Models Manual),
  • make MATC operations (see MATC manual),
  • make LUA operations (see viewtopic.php?f=3&t=5852&p=19752),
  • write a user defined FORTRAN function (see Solver Manual and Programmer's Tutorial)
HTH,
Matthias

Post Reply