FEATool Multiphysics explained

FEATool Multiphysics
Developer:Precise Simulation
Latest Release Version:1.16.6
Programming Language:MATLAB, C, Fortran
Operating System:Windows, Linux, Mac OSX
Genre:Computer-aided engineering (CAE), multiphysics, finite element analysis (FEA), simulation software
Website:[1]

FEATool Multiphysics ("Finite Element Analysis Toolbox for Multiphysics") is a physics, finite element analysis (FEA), and partial differential equation (PDE) simulation toolbox.[2] FEATool Multiphysics features the ability to model fully coupled heat transfer, fluid dynamics, chemical engineering, structural mechanics, fluid-structure interaction (FSI), electromagnetics, as well as user-defined and custom PDE problems in 1D, 2D (axisymmetry), or 3D, all within a graphical user interface (GUI) or optionally as script files.[3] FEATool has been employed and used in academic research,[4] [5] teaching,[6] [7] and industrial engineering simulation contexts.[8]

Distinguishing features

FEATool Multiphysics is a fully integrated physics and PDE simulation environment where the modeling process is subdivided into six steps; preprocessing (CAD and geometry modeling), mesh and grid generation, physics and PDE specification, boundary condition specification, solution, and postprocessing and visualization.[9]

Easy to use GUI

The FEATool graphical user interface (GUI) shown above was designed for ease of use and minimal prerequisite knowledge.[10] Specifically, because of the full integration of CAD and simulation tools users can switch between pre-processing, analysis, and post-processing modes to change simulation parameters, modify geometry and meshes, to solution evaluation and visualization. In this way FEATool can make up for any performance overhead by saving users time with problem set up and analysis.[11]

OpenFOAM and SU2 CFD solver interfaces

FEATool has introduced a multi-simulation feature whereby interfaces to popular academic and open-source solvers are developed. This feature enables these solvers to be used from the FEATool GUI and CLI without detailed knowledge of the syntax or peculiarities of each solver.

The CFD solver interfaces allows fluid dynamics problems to be solved with the finite volume CFD solvers OpenFOAM[12] and SU2. Using the interfaces automatically converts incompressible Navier-Stokes FEATool models to compatible OpenFOAM/SU2 mesh, boundary, and control dictionary files, runs simulations, and afterwards imports and interpolates the resulting solutions back into FEATool. In this way more advanced, larger, and parallel CFD models, for example including turbulence, can be simulated without leaving the FEATool interface.

FEniCS multiphysics solver interface

Similar to the OpenFOAM and SU2 solver interfaces, FEATool also features a fully integrated interface to the FEniCS general FEM and multiphysics solver.[13] Using the FEATool-FEniCS interface, as both codes feature PDE definition languages, multiphysics problems can automatically be translated and converted to FEniCS Python definition files, after which system calls to the FEniCS solver is made, and the resulting solution re-imported.

Fully scriptable CLI interface

GUI operation is recorded as equivalent function calls, and therefore in addition to binary formats, FEATool simulation models can also be saved and exported as fully scriptable and editable MATLAB compatible m-script files.[14] 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).[15] [16] [17] 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.[18]

% Geometry and mesh generation.fea.sdim = ;fea.geom.objects = ;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 = ;

% 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 = '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 or SU2% fea.sol.u = openfoam(fea);% fea.sol.u = su2(fea);

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

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_backdelta_p_reference = 0.117520

External mesh generator interfaces

Similar to the external solver interfaces, FEATool features built-in support for the Gmsh[19] and Triangle[20] mesh generators. If requested instead of the built-in mesh generation algorithm,[21] FEATool will convert and export appropriate Gridgen2D, Gmsh, or Triangle input data files, call the mesh generators through external system calls, and re-import the resulting grids into FEATool.

Other distinguishing features

See also

External links

Notes and References

  1. Web site: FEATool Multiphysics homepage.
  2. Web site: FEM Multiphysics Simulation for MATLAB!? (engineer.com).
  3. Web site: Engineering - FEM Multiphysics Simulation for MATLAB (engineering.com).
  4. Web site: Modeling the Effects of Increased Glucose Concentration on Intraocular Pressure CSURE 2014 Summer Program.
  5. Web site: Multiple Scale Modeling for Predictive Material Deformation Analysis.
  6. Web site: the Department of Civil Engineering at the University of Memphis CIVIL 7117 course notes.
  7. Web site: Department of Mathematics at Lamar University course notes.
  8. Web site: Topology Optimization Modeling with MATLAB and FEATool Multiphysics.
  9. Web site: FEATool Multiphysics online documentation suite.
  10. Web site: Designing Easy To Use Simulation and Technical Software.
  11. Web site: What is Multiphysics CAE Simulation? . 2017-03-23 . https://web.archive.org/web/20170324000702/http://newyorkcityhightech.com/what-is-multiphysics-cae-simulation/# . 2017-03-24 . dead .
  12. Web site: OpenFOAM® - Official home of The Open Source Computational Fluid Dynamics (CFD) Toolbox. OpenCFD. www.openfoam.com. live. https://web.archive.org/web/20160922032819/http://www.openfoam.com/. 22 September 2016. dmy-all.
  13. Web site: The FEniCS Project page. The FEniCS Project. 28 July 2016. 5 March 2023. https://web.archive.org/web/20230305162911/https://www.fenicsproject.org/. dead.
  14. Web site: Digital Engineering Editor's Pick: FEATool Multiphysics 1.4 (digitaleng.news) . 2018-07-23 . https://web.archive.org/web/20180724032120/https://www.digitaleng.news/de/editors-pick-featool-multiphysics-1-4/ . 2018-07-24 . dead .
  15. Benchmark computations of laminar flow around a cylinder . Flow Simulation with High-Performance Computers II, Notes on Numerical Fluid Dynamics . 52 . 3 . 547–566 . 1996. 10.1002/fld.1650030305. De Vahl Davis. G..
  16. On higher order methods for the stationary incompressible Navier-Stokes equations . PhD . 1998 . University of Heidelberg. 10.1.1.38.533.
  17. Higher-order finite element discretizations in a benchmark problem for incompressible flows . International Journal for Numerical Methods in Fluids . 37 . 8 . 885–903 . 2001. 10.1002/fld.195. John. Volker. Matthies . Gunar . 2001IJNMF..37..885J . 10.1.1.42.8087 . 15806686 .
  18. Web site: Black-Scholes custom equation and PDE modeling tutorial.
  19. Web site: Comparison of open source mesh generators (GiD, Gmsh, and Triangle). 6 March 2018 .
  20. Book: Triangle: Engineering a 2D quality mesh generator and Delaunay triangulator . 1148 . 203–222 . 1996 . 10.1007/BFb0014497 . Lecture Notes in Computer Science . Shewchuk . Jonathan Richard . Applied Computational Geometry Towards Geometric Engineering . 978-3-540-61785-3 . 10.1.1.62.1901 . https://archive.org/details/appliedcomputati0000unse/page/203 .
  21. A Simple Mesh Generator in MATLAB . SIAM Review . 46 . 2 . 329–345 . 2004. 10.1137/S0036144503429121. Persson. Per-Olof. Strang . Gilbert . 2004SIAMR..46..329P . 10.1.1.84.7905 .
  22. Web site: GiD - The personal pre and post processor homepage.
  23. Web site: GMV - The General Mesh Viewer homepage . 2018-07-23 . https://web.archive.org/web/20130926190332/http://www-xdiv.lanl.gov/XCM/gmv/GMVHome.html# . 2013-09-26 . dead .
  24. Web site: FEATool Multiphysics technical specifications.