Answered
Doubts on specifying 2-D "c" coefficients in Function Form
You might be referring to the old workflow. Please refer to the "Functional Form" section of <http://www.mathworks.com/help/pde/...

8 years ago | 0

Answered
Taking gradient of solution and plotting results in very weird and unsmooth graphs?
I would suggest you use the <https://www.mathworks.com/help/pde/ug/pde.stationaryresults.evaluategradient.html evaluateGradient>...

8 years ago | 0

Answered
can i solve 2 dimensional advection diffusion equation in pde toolbox
PDE Toolbox does not provide a coefficient to specify advection terms of the PDE. You could try providing them as nonlinear f-co...

8 years ago | 0

Answered
How I can assign an internal heat source to a specific location
As you have noted that qS is in W/m2, then ideally it should be applied on an area, instead of a point or line defined by y = -1...

8 years ago | 0

Answered
How to apply boundary conditions in pde toolbox without edge/face id?
Here is another approach to determine which edges are micro edges (the little ones at the bottom) and which edges are macro. Thi...

8 years ago | 0

Answered
How to apply boundary conditions in pde toolbox without edge/face id?
If you have the same Neumann BC on all edges then you can try: applyBoundaryCondition(model,'neumann','Edge',1:model.Geomet...

8 years ago | 0

| accepted

Answered
Need to merge 3 "csg" faces and get rid of the boundary only between 2 of them
Looks like this is what you want: close all; % build basic shapes R1 = ([3 4 -0.025 0.025 0.025 -0.025 -0.075 -0.075 ...

8 years ago | 1

| accepted

Answered
Why pdetool becomes very slow after coefficient values are updated?
This seems strange, should not happen. Any improvement? What is happening in the function: GLAdeptive. Can you provide the code ...

8 years ago | 0

Answered
Evaluating gradient of eigenvectors.
Hi Matt, The values in eigenvectors are scaled values, with no option to re-scale them or normalize as per choice. Hence, th...

8 years ago | 0

| accepted

Answered
How do I specify convergence criteria while using PDE Toolbox from a script? (R2017a)
Hi Sarojeet, You can access same controls in the new workflow as a property of the model. You can directly set them by assig...

8 years ago | 0

| accepted

Answered
I am using PDE solver in matlab, but I need access to region and state structures of PDE model. is there a way?
The structure arrays, region and state, are run-time variables passed into user defined function. You can use them to write your...

8 years ago | 0

Answered
How to solve 1D PDE's of 2nd order using PDE Toolbox (solvepde)? Or should I use pdepe (or another function) instead?
I think pdepe should work for you. Check out the Example 2 in the <https://www.mathworks.com/help/matlab/ref/pdepe.html document...

8 years ago | 0

Answered
How do I have a continuously varying Young's Modulus using the pde toolbox?
Check this documentation page showing how to convert <https://www.mathworks.com/help/pde/ug/3-d-linear-elasticity-equations-in-t...

8 years ago | 0

| accepted

Answered
how to solve diffusion equation using pde toolbox
You can solve diffusion equation in PDE Toolbox. Check this example: % Create a model. model = createpde(1); ...

8 years ago | 1

Answered
How to apply boundary condition on nodes using recommended workflow of PDE Toolbox?
Hi Aditi, It is currently not possible to apply BC onto Nodes directly. Can you provide a bit more details on your use case,...

8 years ago | 0

Answered
How to implement periodic boundary conditions for 2D PDE
Hi Robert, PDE Toolbox does not have an interface to specify periodic BCs. However, it is easy to modify the system equation...

8 years ago | 1

Answered
How do I start to write a program for meshing a gear?
Check <https://www.mathworks.com/help/pde/ug/pde.pdemodel.generatemesh.html generateMesh()> function in PDE Toolbox. If you have...

8 years ago | 0

Answered
I used initmesh to create geometry for PDE. How do I get the coordinates of each of the triangles?
If you used, [p,e,t] = initmesh(g) to generate the mesh, then the output matrix p contains the coordinates of the verti...

8 years ago | 1

Answered
PDE Toolbox Heat transfer EdgeLabels for Circular Geometries
If your aim is to assign different boundary values on a circular boundary based on the angular position, then you can do so usin...

8 years ago | 0

| accepted

Answered
Information about meshgrid in pdetool. How can I define specific mesh?
Hi Yogan, PDE Toolbox does not support quadrilateral elements as shown in your second picture. If your purpose is the find t...

8 years ago | 0

Answered
FEA forces after deformation
What version of MATLAB are you using? If it is R2017b, then check out the <https://www.mathworks.com/help/pde/ug/pde.staticstruc...

8 years ago | 1

| accepted

Answered
How do I used data exported from the PDE toolbox in order to create specific XY plots?
If you are using MATLAB R2017a, refer to the examples in <https://www.mathworks.com/help/pde/ug/interpolatetemperature.html this...

8 years ago | 0

Answered
PDE Toolbox. Matlab 2017. Setting initial temperature for each shape in the figure.
Refer to the second example in <https://www.mathworks.com/help/pde/ug/thermalic.html this> page and modify it to your geometry. ...

8 years ago | 0

Answered
how to create a cylinder with minimal nodes and elements?
You can use 'Hmax' parameter to set the target maximum element size, as explained in this <https://www.mathworks.com/help/pde/ug...

8 years ago | 0

Answered
question about createpde and thermalconductivities
Hi Xiaofei, Which version of MATLAB are you on? Note that creation of thermal analysis model using createpde is supported in ...

8 years ago | 0

Answered
Can I solve a system of nolinear parabolic PDE using PDE toolbox in MATLAB?
Hi Aditi, This error generally indicates that the function for c, ccoefficient, did not return a output value. This could be...

9 years ago | 0

| accepted

Answered
pde coefficient as function in 2 space
Hi Shovon, You can specify the f-coefficient as a function that depends on u using the function form of PDE coefficient spec...

9 years ago | 1

| accepted

Answered
applyBoundaryCondition error on standard example
Hi Alex, The syntax of applyBoundaryCondition you are using was introduced in MATLAB R2016b. You are seeing the error messag...

9 years ago | 0

Answered
How to plot contour plots for data on the imported mesh nodes (not from PDE tool)
If having a PDE Toolbox results object solves your plotting problems, then you can create a PDE Toolbox results object using you...

9 years ago | 0

Answered
How to build electric field simulation on a 3D-model?
Hi Peng, Create the 3-D geometry in a CAD software and export it as a STL file. You can then import such 3-D geometry into P...

9 years ago | 0

| accepted

Load more