FEATool: відмінності між версіями

Матеріал з Вікіпедії — вільної енциклопедії.
Перейти до навігації Перейти до пошуку
Вилучено вміст Додано вміст
Pifagor97 (обговорення | внесок)
Створено шляхом перекладу сторінки «FEATool»
Мітки: перше редагування Переклад вмісту
(Немає відмінностей)

Версія за 21:33, 21 травня 2018

FEATool Multiphysics
FEATool Multiphysics Toolbox with MATLAB GUI
Тип Computer-aided engineering (CAE), multiphysics, finite element analysis (FEA), simulation software
Розробники Precise Simulation
Стабільний випуск 1.8 (17 May 2018 (2018-05-17))
Операційна система Unix/Linux/Windows/Mac
Мова програмування MATLAB, Octave
Вебсайт www.featool.com


<g class="gr_ gr_34 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" id="34" data-gr-id="34">FEATool</g> Multiphysics ("Finite Element Analysis Toolbox for Multiphysics") is an easy to use physics and finite element simulation toolbox for MATLAB[2] and GNU Octave[3]. <g class="gr_ gr_7 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" id="7" data-gr-id="7">FEATool</g> Multiphysics features the ability to model fully coupled heat transfer, fluid dynamics, chemical reactions, structural mechanics, and electromagnetic problems in 1D, 2D (axisymmetry), or 3D, all within a convenient scriptable graphical user interface (GUI)[4]. Having specifically been designed to have a low learning curve and be used without requiring consulting documentation, <g class="gr_ gr_8 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" id="8" data-gr-id="8">FEATool</g> has been employed and used in academic research, teaching, and industrial engineering simulation contexts[5][6].


Distinguishing Features

Fully Scriptable CLI Interface

FEATool Multiphysics features a fully integrated physics and PDE simulation environment including preprocessing, CAD and geometry modeling, automatic grid generation, solvers, and postprocessing[7]. GUI operation is also recorded as equivalent MATLAB functions, and therefore in addition to binary formats, models can also be saved and exported as fully scriptable and editable MATLAB and Octave compatible m-script files[8]. The short MATLAB script below illustrates how a complete flow around a cylinder computational fluid dynamics (CFD) benchmark problem can be defined and solved with the FEATool m-script functions (including geometry, grid generation, problem definition, solving, and postprocessing all in a few lines of code)[9][10][11]. Specifically, custom partial differential equations (PDE) and expressions can simply be entered and evaluated as string expressions as-is, without need for further compilation or writing custom functions[12].

% Geometry and mesh generation.
fea.sdim = { 'x' 'y' };
fea.geom.objects = { gobj_rectangle( 0, 2.2, 0, 0.41, 'R1' ), ...
                     gobj_circle( [0.2 0.2], 0.05, 'C1' ) };
fea = geom_apply_formula( fea, 'R1-C1' );
fea.grid = gridgen( fea, 'hmax', 0.02 );


% Problem definition (incompressible Navier-Stokes equations multiphysics mode).
fea = addphys( fea, @navierstokes );

% Prescribe fluid viscosity (density is default 1).
fea.phys.ns.eqn.coef{2,end} = { 0.001 };

% Boundary conditions (Non-specified boundaries are
% per default prescribed no-slip zero velocity walls).

% Inflow (bc type 2) at boundary 4.
fea.phys.ns.bdr.sel(4) = 2;

% Outflow (bc type 3, zero pressure) at boundary 2.
fea.phys.ns.bdr.sel(2) = 3;

% Parabolic inflow profile x-velocity expression.
fea.phys.ns.bdr.coef{2,end}{1,4} = '4*0.3*y*(0.41-y)/0.41^2';


% Check, parse, and solve problem.
fea = parsephys( fea );
fea = parseprob( fea );
fea.sol.u = solvestat( fea );

% Alternatively solve with OpenFOAM
% fea.sol.u = openfoam( fea );


% Postprocessing and visualization.
postplot( fea, 'surfexpr', 'sqrt(u^2+v^2)', ...
               'arrowexpr', {'u' 'v'} )

p_cyl_front = evalexpr( 'p', [0.15; 0.2], fea );
p_cyl_back  = evalexpr( 'p', [0.25; 0.2], fea );
delta_p_computed  = p_cyl_front - p_cyl_back
delta_p_reference = 0.117520

External Simulation Software Interfaces

FEATool Multiphysics also features built-in direct integration with other open source simulation codes, such as external mesh generators DistMesh[13], Gmsh[14] and Triangle[15], as well as dedicated CFD solvers such as OpenFOAM, and the FEM solver FEniCS, allowing for high-performance parallel CFD and multiphysics simulations to be set up and performed directly in MATLAB and Octave[16].

Other Distinguishing Features

  • Fully integrated and easy to use GUI.
  • Cross platform MATLAB and Octave interoperability including other toolboxes.
  • Extensive FEM basis function library (linear and high order conforming P1-P5, and non-conforming FEM discretizations).
  • 15 pre-defined equations and multiphysics modes in 1D, 2D Cartesian and cylindrical coordinates, as well as full 3D.
  • Support for custom user defined PDE equations.
  • Mesh and geometry import, export, and conversion between OpenFOAM, Dolfin/FEniCS XML, GiD[17], Gmsh, GMV[18], Triangle (PSLG), and plain ASCII grid formats[19].

See also

References

  1. FEATool Multiphysics homepage.
  2. FEM Multiphysics Simulation for MATLAB!? (engineer.com).
  3. Designing Easy To Use Simulation and Technical Software.
  4. Engineering - FEM Multiphysics Simulation for MATLAB (engineering.com).
  5. Modeling the Effects of Increased Glucose Concentration on Intraocular Pressure CSURE 2014 Summer Program (PDF).
  6. Topology Optimization Modeling with MATLAB and FEATool Multiphysics.
  7. FEATool Multiphysics online documentation suite.
  8. Digital Engineering Editor’s Pick: FEATool Multiphysics 1.4 (digitaleng.news).
  9. Benchmark computations of laminar flow around a cylinder. Flow Simulation with High-Performance Computers II, Notes on Numerical Fluid Dynamics. 52: 547—566. 1996.
  10. On higher order methods for the stationary incompressible Navier-Stokes equations (PhD). University of Heidelberg. 1998.
  11. Higher-order finite element discretizations in a benchmark problem for incompressible flows. International Journal for Numerical Methods in Fluids. 37 (8): 885—903. 2001.
  12. Black-Scholes custom equation and PDE modeling tutorial.
  13. A Simple Mesh Generator in MATLAB. SIAM Review. 46 (2): 329—345. 2004.
  14. Comparison of open source mesh generators (DistMesh, Gmsh, and Triangle).
  15. Triangle: Engineering a 2D quality mesh generator and Delaunay triangulator. Applied Computational Geometry Towards Geometric Engineering. 1148: 203—222. 1996.
  16. What is Multiphysics CAE Simulation?.
  17. GiD - The personal pre and post processor homepage.
  18. GMV - The General Mesh Viewer homepage.
  19. FEATool Multiphysics technical specifications.


External Links and Resources