Answered

How to extract slice of 3D PDE solution into a matrix? Works with slice to plot, but want the actual date

The slice is a graphics handle object which you can extract the data from, for example (use _get(h)_ to see what data is availab...

How to extract slice of 3D PDE solution into a matrix? Works with slice to plot, but want the actual date

The slice is a graphics handle object which you can extract the data from, for example (use _get(h)_ to see what data is availab...

3 years ago | 0

Answered

Best toolboxes for my needs?

For FEA, FEM, and CFD simulations the <https://www.mathworks.com/products/pde.html PDE Toolbox> or <https://www.featool.com FEAT...

Best toolboxes for my needs?

For FEA, FEM, and CFD simulations the <https://www.mathworks.com/products/pde.html PDE Toolbox> or <https://www.featool.com FEAT...

3 years ago | 0

Answered

Non-linear differential dquation

As per your previous question <https://www.mathworks.com/matlabcentral/answers/368440-how-to-solve-fick-s-2nd-law-of-diffusion-e...

Non-linear differential dquation

As per your previous question <https://www.mathworks.com/matlabcentral/answers/368440-how-to-solve-fick-s-2nd-law-of-diffusion-e...

3 years ago | 0

| accepted

Answered

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...

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...

3 years ago | 0

Answered

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....

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....

3 years ago | 0

| accepted

Answered

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...

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...

3 years ago | 1

| accepted

Answered

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...

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...

3 years ago | 1

Answered

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...

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...

3 years ago | 0

Answered

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...

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...

3 years ago | 0

Answered

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...

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

Answered

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...

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

Answered

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/...

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

Answered

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...

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

Answered

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 ...

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

Answered

MATLAB Addons for FEM?

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

MATLAB Addons for FEM?

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

Answered

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 ...

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

Answered

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. ...

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

Answered

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...

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

Answered

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...

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

Answered

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...

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

Answered

magnetic fiel simulator tools ?

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

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

Answered

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...

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

Answered

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 ...

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

Answered

Matlab: 2d linear elasticity PDE

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

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

Answered

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...

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

Answered

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...

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

Answered

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/...

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

Answered

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...

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

Answered

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:/...

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

Answered

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...

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