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

mer än 2 år 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...

mer än 2 år 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...

mer än 2 år 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...

mer än 2 år 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...

mer än 2 år 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/...

mer än 2 år 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...

mer än 2 år 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 ...

mer än 2 år 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...

mer än 2 år 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 ...

mer än 2 år 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. ...

nästan 3 år 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...

nästan 3 år 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...

nästan 3 år 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...

nästan 3 år 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...

nästan 3 år 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...

nästan 3 år 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 ...

nästan 3 år 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...

nästan 3 år 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...

nästan 3 år 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...

nästan 3 år 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/...

nästan 3 år 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...

nästan 3 år 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:/...

nästan 3 år 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...

nästan 3 år ago | 0

Answered

solution of system of coupled partial differential equations

One way to approach this is, due to the 2nd derivative in time, to split the time dependent variables into du1/dt = u1h ...

solution of system of coupled partial differential equations

One way to approach this is, due to the 2nd derivative in time, to split the time dependent variables into du1/dt = u1h ...

nästan 3 år ago | 0

Answered

How to Solve a Highly Non-Linear PDE in Matlab

You should fairly easily be able to enter this into the FEATool Multiphysics <https://www.featool.com/tutorial/2016/10/05/Custom...

How to Solve a Highly Non-Linear PDE in Matlab

You should fairly easily be able to enter this into the FEATool Multiphysics <https://www.featool.com/tutorial/2016/10/05/Custom...

nästan 3 år ago | 1