Adding Advection-Diffusion-Reaction Solver to Elmer - Window

Discussion about building and installing Elmer
Post Reply
Vinny123
Posts: 4
Joined: 22 Jul 2015, 20:52
Antispam: Yes

Adding Advection-Diffusion-Reaction Solver to Elmer - Window

Post by Vinny123 »

Hello all,

I have installed Elmer on a machine running Windows 7 and it is running great! However, I would like to add an Advection-Reaction solver to Elmer. While I am not new to finite element analysis, I am certainly new to compiling my own software. Must I compile the software myself using cmake if I would like to add the advection-reaction solver, or is there a way to add the solver to Elmer after using the windows binary? I have the .f90 file for the advection-reaction solver.

Thank you in advance for shedding some light on this process.

Best,
Vinny
annier
Posts: 1168
Joined: 27 Aug 2013, 13:51
Antispam: Yes

Re: Adding Advection-Diffusion-Reaction Solver to Elmer - Window

Post by annier »

Hi Vinny,
Are you talking about opening the solver in GUI?
Advection-Reaction Solver
In Non-GUI, this solver has already the compiled form. For GUI use, you can make a .xml version of this solver and put it in the /edf/ directory for the ElmerGUI.


or, ModelPDE (Advection-Diffusion-Reaction) solver?
Have you copied the solver xml files from /edf-extra/ to /edf/ ?
viewtopic.php?f=4&t=3960&sid=f79a9af926 ... 6386badea1

ModelPDE solver in itself includes Advection-Reaction (Diffusion coefficient = 0), compiled Elmer already has this solver as xml file. So, you are supposed to use ModelPDE solver (moving xml file model-pde.xml from edf-extra to edf).
viewtopic.php?f=3&t=3755

or, you are talking to compile your own written solver?
In this context, jump into the directory containing your solver and type:

Code: Select all

> $elmerf90 SolverName.F90 -o SolverName.dll


Yours Sincerely
Anil Kunwar
Anil Kunwar
Faculty of Mechanical Engineering, Silesian University of Technology, Gliwice
Vinny123
Posts: 4
Joined: 22 Jul 2015, 20:52
Antispam: Yes

Re: Adding Advection-Diffusion-Reaction Solver to Elmer - Window

Post by Vinny123 »

Hello Anil,

Thank you so much. This is exactly what I was looking to do.

Best,
Vinny
Post Reply