Matlab code for solving 2D Laplace pde
Sparse linear solvers are already available in Matlab, the backslash operator per default uses the Umfpack direct solver y...

4 years ago | 0

3D diffusion equation in cylinder
Modelling and simulation of convection and diffusion for a 3D cylindrical (and other) domains is possible with the <https://www....

4 years ago | 0

| accepted

How to solve fick's 2nd law of diffusion equation?
<http://www.featool.com/doc/physics.html#phys_cd Modeling and simulation of convection and diffusion> is certainly possible to s...

4 years ago | 1

| accepted

How to find the maximum length in a structure of vectors?
If by "maximum length" you mean the number of struct entries, then you can just use one of the standard *length*, *numel*, or *s...

4 years ago | 1

Mesh Plotting in Matlab
The following will plot quadrilaterals from your grid (if you prefer triangles you can use the *patch* command) x = 0 : 0...

4 years ago | 0

Information about meshgrid in pdetool. How can I define specific mesh?
If you prefer to set up and solve heat transfer plate and other PDE problems with a structured quadrilateral mesh, it is possibl...

4 years ago | 0

Assembling global matrix from element matrices based on location.
Normally you would have a list of integer pointers between local and global degrees of freedom constructed from the mesh connect...

4 years ago | 0

How can I solve the equation of curvature on PDE Toolbox?
∥∇f∥ should typically be *sqrt(fx^2+fy^2+eps)* where eps is a small constant to avoid divisions by zeros (since ∥∇f∥ is in the d...

4 years ago | 0

Create laplacian smoothing matlab
You can get something quite similar with the following code, and tune it by playing around with the <http://www.featool.com/doc/...

4 years ago | 0

Did anyone developed a code/function to create Stiffness matrix of 8-Node Brick (Hexahedral) in Finite Element Analysis ?
For a single element you can just create a grid with one cell, for example using grid = blockgrid(1); in the example ab...

4 years ago | 0

Did anyone developed a code/function to create Stiffness matrix of 8-Node Brick (Hexahedral) in Finite Element Analysis ?
Q1 hexahedral elements are available and pre-defined with the <www.featool.com FEA Toolbox>. Once installed, the following code ...

4 years ago | 0

You can use the Matlab <https://www.mathworks.com/products/pde.html PDE Toolbox> or <https://www.featool.com FEATool FEM Toolbox...

4 years ago | 2

| accepted

delaunaytriangulation function: How to associate triangles with edges?
With the <https://www.featool.com/doc/gridedge_8m.html gridedge> function included with the <https://www.featool.com Matlab FEA ...

4 years ago | 0

Is there any way to solve an advection heat equation in pdetool box?
This <http://www.featool.com/doc/quickstart.html#ex_he1 coupled fluid flow heat transfer model> might be a good starting point. ...

4 years ago | 2

| accepted

PDE Toolbox Structural mechanics Static bending of a beam with material properties varying inside the beam
Perhaps you can modify this <http://www.featool.com/tutorial/2017/05/30/Euler-Bernoulli-Beam-Matlab-Simulation-in-FEATool-Multip...

4 years ago | 0

hello every one , I have a 3d cylinderical shape with temperature distributed in this cylinder in a given function. the question is , can this be ploted by matlab??
Another option if you for example want to <http://www.featool.com/tutorial/2017/09/06/Matlab-Plotly-3D-Unstructured-Visualizatio...

4 years ago | 2

PDE Thermal Model with heat produced as a function
If you are using the FEATool Multiphysics Toolbox it is possible enter PDE coefficients as regular string expressions, for examp...

4 years ago | 0

magnetic fiel simulator tools ?
FEATool <https://www.featool.com/multiphysics Multiphysics> has built-in physics modes for Electrostatics simulations, you can f...

4 years ago | 0

how i can program the following function of (convection-convection) in matlab??
With the <https://www.featool.com FEATool Multiphysics Matlab FEM Toolbox> you can enter your own <http://www.featool.com/tutori...

4 years ago | 1

| accepted

How to plot solid tetrahedrons in MATLAB?
With the coordinates and connectivities in your example, and the <https://www.featool.com Matlab FEM Toolbox>, you can create a ...

4 years ago | 0

Matlab: 2d linear elasticity PDE
2D linear elasticity (plane stress, plane strain, and axisymmetric stress-strain) for small displacements are available as pre-d...

4 years ago | 0

How can I solve PDE with boundary condition?
Alternatively, if you still prefer to solve it as a PDE, you can quite easily input and solve it with the <https://www.featool.c...

4 years ago | 0

PDE solver without PDE solver toolpack
Depending on your problem the FEATool FEM Toolbox could possibly work for your case as both modeling and simulation of <http://w...

4 years ago | 0

How to plot temperature distribution T(X,Y) over a 2D rectangular plate in Matlab?
You can use the <https://www.featool.com/ FEATool FEM toolbox> and postprocessing function to <https://www.featool.com/tutorial/...

4 years ago | 0

Coupling transport of a species to surface reactions
The <https://www.featool.com FEATool Multiphysics Matlab FEM toolbox> allows for easy coupling and <https://www.featool.com/matl...

4 years ago | 0

How does MATLAB build the mass matrix for 6-node triangle meshes?
In the FEATool Multiphysics FEM toolbox the finite element shape functions are defined quite easily and available in the <http:/...

4 years ago | 0

Sparse FEM Matrix build inefficiency
Although looping over all element, finite element forms, and quadrature points is the typical fem assembly approach, even with t...

4 years ago | 0