Greeting everyone.
I am new to Elmer and I wanted to use to solve a cell growth model I have developed.
As you understand, I would like to use Elmer to solve a custom model and not something found in its libraries.
Is it possible to manually add the equations necessary?
Thank you in advance.
Manually adding equations
-
- Site Admin
- Posts: 4707
- Joined: 22 Aug 2009, 11:57
- Antispam: Yes
- Location: Espoo, Finland
- Contact:
Re: Manually adding equations
Hi
Sure, write a model and compile it.
then use it in .sif file:
This is the loaded dynamically at run-time. All the ~130 models under $ELMERSRC/fem/src/modules are in fact also used in same fashion but are just readily compiled.
It is a high likelyhood that at least one-component equations would be easily modified from some ModelPDE which is a generic advection-diffusion-reaction equation, steady or transient, parallel or serial, Lagrange or p-elements.
If you want to have a GUI for your own solver you need to write a special XML file defining the menu choices.
Btw, under fem/examples/turing there is a solver for Turing patterns of theoretical biology. Probably not related...
-Peter
Sure, write a model and compile it.
Code: Select all
elmerf90 -o MySolver.so MySolver.F90
Code: Select all
Procedure = "MySolver" "MySolver"
It is a high likelyhood that at least one-component equations would be easily modified from some ModelPDE which is a generic advection-diffusion-reaction equation, steady or transient, parallel or serial, Lagrange or p-elements.
If you want to have a GUI for your own solver you need to write a special XML file defining the menu choices.
Btw, under fem/examples/turing there is a solver for Turing patterns of theoretical biology. Probably not related...
-Peter
Re: Manually adding equations
Thank you very much for the information.
I will try to compile the model based on your guidance and I will get back to you with the results.
I will try to compile the model based on your guidance and I will get back to you with the results.