FEM SolverElmer/it

Descrizione
Elmer è un software di simulazione multifisica open source sviluppato principalmente da CSC - IT Center for Science (CSC). Lo sviluppo di Elmer è stato avviato nel 1995 in collaborazione con università, istituti di ricerca e industria finlandesi. Dopo la sua pubblicazione open source nel 2005, l'uso e lo sviluppo di Elmer sono diventati internazionali.

Elmer include modelli fisici di dinamica dei fluidi, meccanica strutturale, elettromagnetica, trasferimento di calore e acustica, per esempio. Questi sono descritti da equazioni alle derivate parziali che Elmer risolve con il metodo degli elementi finiti (FEM). https://www.csc.fi/web/elmer

La creazione dell'oggetto SolverElmer nel contenitore Analysis in FreeCAD, dà accesso alle equazioni di Elmer per analisi semplici o multifisiche.

Poiché FreeCAD ha già un'ampia integrazione di Calculix e Z88 come solutori per analisi meccaniche e termo-meccaniche, Elmer sarà preferito per la fluidodinamica computazionale (CFD), il calore, l'elettrostatica, la magnetostatica e le forze elettriche. Può anche essere utilizzato per la FEA meccanica tramite l'equazione di elasticità o qualsiasi combinazione delle suddette equazioni.

Installazione
Elmer requires two components to be interfaced with FreeCAD: There are standalone programs for both of these applications but their installation and usage are beyond the scope of the FreeCAD integration.
 * ElmerGrid is the interface handling meshes
 * ElmerSolver is handling the computation.


 * 1) Download and install the version best suited to your Operating System (Windows or Linux). It is recommended to install the  version to get multi-core support.
 * 2) In FreeCAD go to
 * 3) In the FEM preferences set the correct path for both  and, or : set the path for  instead of  to make Elmer use all available CPU cores.
 * [[Image:Preferences-ElmerPath.png|Elmer Tab in FEM Preferences]]

You are ready to use Elmer in FreeCAD.


 * Now start FreeCAD and change the units scheme to MKS in the preferences. See Notes.

Utilizzo

 * 1) Switch to the [[Image:Workbench_FEM.svg|24px]] FEM Workbench
 * 2) Create an Analysis container by pressing the [[Image:FEM_Analysis.svg|22px]] icon.
 * 3) Create a FEM Solver for Elmer, by pressing the [[Image:FEM_SolverElmer.svg|22px]] icon.
 * 4) * Note: A successful analysis will require at least a Model (2D or 3D), a Material (Fluid or Solid), a Mesh, Equations and Boundary conditions
 * [[Image:Elmer typical file tree.png]]
 * 1) Edit the parameters for the solver in the Property editor  tab of the SolverElmer object in the model tree view
 * 2) Double-click on the  object to prepare an analysis run
 * [[Image:ElmerSolver TaskPanel.png|300px]]
 * 1) Select the path to write the analysis in by clicking
 * 2) Click  to write the case files in the directory selected previously
 * 3) Click  to start the analysis
 * 1) Click  to write the case files in the directory selected previously
 * 2) Click  to start the analysis

Equations

 * To perform the analysis of a particular physical behavior, an Equation must be used (Flow, Heat, Electrostatics...)
 * Disambiguation: The term Equation is used in FreeCAD to describe the different physical mechanisms, the term Solver is used in all Elmer documents. Thus when using in FreeCAD the "Flow Equation", in reality Elmer uses the "Flow Solver" to find a solution to the Navier-Stokes equation.
 * One or several equations can be used at once with Elmer by simply adding the equation object under the SolverElmer object, thus performing multi-physics analyses:


 * 1) Click on the  object in the model tree view
 * 2) Select one ore several of the available equations:
 * 3) * [[Image:FEM_EquationElasticity.svg|32px]] Elasticity equation
 * 4) * [[Image:FEM_EquationElectricforce.svg|32px]] Electricforce equation
 * 5) * [[Image:FEM_EquationElectrostatic.svg|32px]] Electrostatic equation
 * 6) * [[Image:FEM_EquationFlow.svg|32px]] Flow equation
 * 7) * [[Image:FEM_EquationFlux.svg|32px]] Flux equation
 * 8) * [[Image:FEM_EquationHeat.svg|32px]] Heat equation
 * 9) * [[Image:FEM_EquationMagnetodynamic.svg|32px]] Magnetodynamic equation
 * 10) * [[Image:FEM_EquationMagnetodynamic2D.svg|32px]] Magnetodynamic 2D equation

Solver Settings

 * Depending on the used equations, you must change the default solver settings. They are explained in the Elmer solver settings.
 * The solver will by default perform a steady-state simulation. To perform a transient simulation (how the model behaves/develops over time) see the Elmer solver settings.

Elmer has plenty of settings to determine how the equations should be solved. They are described in detail in the Elmer solver settings.

Documentazione
The following link gives access to the full documentation for Elmer. This includes the manuals as well as tutorials. Note that documentation and files appended with "gui" generally concern the usage of the Elmer GUI and not the FreeCAD implementation of Elmer.