Difference between revisions of "Elmer"

From ONELAB
Jump to: navigation, search
(LASER)
(CRYO)
Line 43: Line 43:
  
 
The physical background is the cryogenic treatment of warts by application of a cryogenic fluid.  
 
The physical background is the cryogenic treatment of warts by application of a cryogenic fluid.  
The idea is to maximize the destruction of wart tissue cells while minimizing damages done to healthy skin tissue.
+
The idea is to maximize the destruction of wart tissue cells while minimizing damages to healthy skin tissue.
 
An damage function depending on temperature distribution and time is built to represent this trade-off and the purpose of the modeling
 
An damage function depending on temperature distribution and time is built to represent this trade-off and the purpose of the modeling
 
is to determine the application time that minimizes this damage function.
 
is to determine the application time that minimizes this damage function.
Line 52: Line 52:
 
[[File:CryoEngineering.png|CryoEngineering.png|300px|thumb|right|Cryo-engineering metamodel]]
 
[[File:CryoEngineering.png|CryoEngineering.png|300px|thumb|right|Cryo-engineering metamodel]]
  
This metamodel illustrates also the possibility of running a client on a remote host.
+
This metamodel illustrates the possibility of running clients on a remote host.
 +
TRemote soving uses <code>ssh</code> and <code>rsync</code> and is thus available on Linux and Mac-OS systems.
 +
 
 
After selecting the option "remote" of the parameter "host" and clicking on "Check", empty boxes will appear
 
After selecting the option "remote" of the parameter "host" and clicking on "Check", empty boxes will appear
 
to be filled in with information about a remote host (''user@remote''), a remote working directory,
 
to be filled in with information about a remote host (''user@remote''), a remote working directory,
Line 60: Line 62:
 
Alternatively, if entered directly in the file <code>cryo.ol</code> in the definition of the variables ''HOST'', ''REMDIR'' and ''ELMERDIR'', they will be available for all ONELAB sessions.
 
Alternatively, if entered directly in the file <code>cryo.ol</code> in the definition of the variables ''HOST'', ''REMDIR'' and ''ELMERDIR'', they will be available for all ONELAB sessions.
 
As long as ''HOST'' and ''REMDIR'' are empty, the client is solved on the local machine, whatever the value of the flag ''host''.
 
As long as ''HOST'' and ''REMDIR'' are empty, the client is solved on the local machine, whatever the value of the flag ''host''.
 +
 +
In order to automize the task, an automatic login from host A  to host B is needed so as to avoid entering constantly a password as explained here
 +
 +
http://linuxproblem.org/art_9.html

Revision as of 13:52, 19 October 2012

Elmer is an open source (GPL) computational tool for multi-physics problems. It is developed by CSC in collaboration with Finnish universities, research laboratories and industry.


Two complete metamodels using Elmer are available on the read-only svn distribution of gmsh, which can be downloaded from http://www.geuz.org/gmsh. You also need a working recent (nightly-build) version of gmsh to be executable on your system.

First take a look at this tutorial to see how ONELAB can be installed.

LASER

Download and inflate the archive

http://onelab.info/files/elmerfem/lab_peau.zip

in a work directory. Then run

gmsh lab_peau.ol

The physical background of this model is the laser stimulation of skin in order to measure the density of nociceptive receptors. For a correct interpretation of the experimental data, an accurate nowledge of the temperature distribution in time and across the skin is needed. The metamodel allows selecting various models of stimulation (imposed flux, imposed temperature and controlled temperature) and various laser types (Gaussian or flat-top). Each simulation generates a Matlab or Gnuplot graphical output that is directly interpretable by clinicians. Check in the "lab_peau.ol" file how the switch between Matlab and Gnuplot is done, and modify the file if necessary according to your system settings.

CRYO

Download and inflate the archive

http://onelab.info/files/elmerfem/cryo.zip

in a work directory. Then run

gmsh cryo.ol

The physical background is the cryogenic treatment of warts by application of a cryogenic fluid. The idea is to maximize the destruction of wart tissue cells while minimizing damages to healthy skin tissue. An damage function depending on temperature distribution and time is built to represent this trade-off and the purpose of the modeling is to determine the application time that minimizes this damage function.

Various geometrical and modeling parameters can be interactively modified in the ONELAB window. After execution, a plot of the damage function displayed and the optimum application time tmoin is uploaded to the ONELAB window.

Cryo-engineering metamodel

This metamodel illustrates the possibility of running clients on a remote host. TRemote soving uses ssh and rsync and is thus available on Linux and Mac-OS systems.

After selecting the option "remote" of the parameter "host" and clicking on "Check", empty boxes will appear to be filled in with information about a remote host (user@remote), a remote working directory, and a remote bin directory where the executable of the remote client can be found.

These pieces of information can be entered directly in the interactive box. They will be stored on the server and be available for the duration of the ONELAB session. Alternatively, if entered directly in the file cryo.ol in the definition of the variables HOST, REMDIR and ELMERDIR, they will be available for all ONELAB sessions. As long as HOST and REMDIR are empty, the client is solved on the local machine, whatever the value of the flag host.

In order to automize the task, an automatic login from host A to host B is needed so as to avoid entering constantly a password as explained here

http://linuxproblem.org/art_9.html