Answered

PDE toolbox, specifying coefficients, error telling me "Function specifying a coefficient must accept two input arguments and return one output argument."

The function "fcoeffunction", does not have definitions of e, L, C, mu, r, o, etc. in its scope. Move the definitions in the beg...

PDE toolbox, specifying coefficients, error telling me "Function specifying a coefficient must accept two input arguments and return one output argument."

The function "fcoeffunction", does not have definitions of e, L, C, mu, r, o, etc. in its scope. Move the definitions in the beg...

18 días ago | 0

Answered

Issue with STL geometry and pde toolbox

Check the dimensions of the expoerted geometry. Some tools export by default in mm, you mght be seeing many more frequenceis if ...

Issue with STL geometry and pde toolbox

Check the dimensions of the expoerted geometry. Some tools export by default in mm, you mght be seeing many more frequenceis if ...

21 días ago | 0

| accepted

Answered

Thermal contact resistance in PDE toolbox

Hi Luca, Interface conditions like thermal contact resistance are not yet supported in PDE Toolbox. Regards, Ravi

Thermal contact resistance in PDE toolbox

Hi Luca, Interface conditions like thermal contact resistance are not yet supported in PDE Toolbox. Regards, Ravi

25 días ago | 0

Answered

Set non-constant boundary condition proportional to solution at that point and time

Hi Ollie, The function you have written does exactly what you describe. What is the issue you are encountering? Regards, Ra...

Set non-constant boundary condition proportional to solution at that point and time

Hi Ollie, The function you have written does exactly what you describe. What is the issue you are encountering? Regards, Ra...

25 días ago | 0

Answered

Transient thermal model (PDE Toolbox) failing to solve due to time dependent heat flux and ambient temperature. "Unable to meet integration tolerance."

Hi Kevin, Make sure your geometry from STL is in SI units too as you have properties specified in SI units. I don't see anythi...

Transient thermal model (PDE Toolbox) failing to solve due to time dependent heat flux and ambient temperature. "Unable to meet integration tolerance."

Hi Kevin, Make sure your geometry from STL is in SI units too as you have properties specified in SI units. I don't see anythi...

28 días ago | 0

| accepted

Answered

Transient heat flux boundary condition in PDE toolbox

Based on what you describe, it appears you are assigning heat flux on an interior edge. These are not boundaries of the domain s...

Transient heat flux boundary condition in PDE toolbox

Based on what you describe, it appears you are assigning heat flux on an interior edge. These are not boundaries of the domain s...

2 meses ago | 0

| accepted

Answered

PDE Toolbox FEA Units

Hello Colton, You are right, PDE Toolbox does not have any units. Two things you can check again: You save E as 10300000 psi i...

PDE Toolbox FEA Units

Hello Colton, You are right, PDE Toolbox does not have any units. Two things you can check again: You save E as 10300000 psi i...

2 meses ago | 0

Answered

PDE TOOLBOOX heat transfer error

You are overwriting modelc immediately after creating the thermal model. Remove the second line: modelc = createpde

PDE TOOLBOOX heat transfer error

You are overwriting modelc immediately after creating the thermal model. Remove the second line: modelc = createpde

3 meses ago | 0

| accepted

Answered

Can I use the figure’Blade.stl’ file provided in PDE Toolbox for publication (copyright)?

Please contact Customer Support here: https://www.mathworks.com/support/contact_us.html Regards, Ravi

Can I use the figure’Blade.stl’ file provided in PDE Toolbox for publication (copyright)?

Please contact Customer Support here: https://www.mathworks.com/support/contact_us.html Regards, Ravi

3 meses ago | 0

Answered

Interpolating at centroid of a tetrahedral mesh

You can use interpolateSolution if you are using equation based interfaces to setup the problem. If you are solving a structural...

Interpolating at centroid of a tetrahedral mesh

You can use interpolateSolution if you are using equation based interfaces to setup the problem. If you are solving a structural...

3 meses ago | 0

Answered

Radiation heat transfer using PDE toolbox

Hi Ruben, Thanks for the code, it helped. All the BCs inside RadandConv == 1 block are applied on the edges that are interior ...

Radiation heat transfer using PDE toolbox

Hi Ruben, Thanks for the code, it helped. All the BCs inside RadandConv == 1 block are applied on the edges that are interior ...

3 meses ago | 0

Answered

Finite Element Analysis in Matlab with user-defined elements?

You can define user defined functions of space, time, and solution using PDE Toolbox generic workflow, check out the following l...

Finite Element Analysis in Matlab with user-defined elements?

You can define user defined functions of space, time, and solution using PDE Toolbox generic workflow, check out the following l...

3 meses ago | 0

Answered

Boundary Condition for 3-D Poisson's Equation using PDE Toolbox

You need BC for all three equations. You might want to try u as [0;0;0] or other appropriate vector of 3 rows, where each row co...

Boundary Condition for 3-D Poisson's Equation using PDE Toolbox

You need BC for all three equations. You might want to try u as [0;0;0] or other appropriate vector of 3 rows, where each row co...

4 meses ago | 1

| accepted

Answered

How can I extend the functionality of PDE tool box

Hi Jammi, You might want to explore the generic equation based workflow that solves the equations that can be cast into the sup...

How can I extend the functionality of PDE tool box

Hi Jammi, You might want to explore the generic equation based workflow that solves the equations that can be cast into the sup...

4 meses ago | 1

Answered

I can't use "structuralProperties" in PDE toolbox

Change the line: thePde = createpde(); to thePde = createpde('structural'); By default, createpde returns a model that has...

I can't use "structuralProperties" in PDE toolbox

Change the line: thePde = createpde(); to thePde = createpde('structural'); By default, createpde returns a model that has...

4 meses ago | 0

| accepted

Answered

Plotting points from a 3D model onto a 2D graph

You can interpolate the temperatures at (x,y) coorinates over time and plot them. Refer to interpolateTemperatue function. Rega...

Plotting points from a 3D model onto a 2D graph

You can interpolate the temperatures at (x,y) coorinates over time and plot them. Refer to interpolateTemperatue function. Rega...

4 meses ago | 0

| accepted

Answered

Interpolation of the results from the PDE toolbox and the spatial differentiation of the solution

You can do this using interpolateSolution and evaluateGradients. Regards, Ravi

Interpolation of the results from the PDE toolbox and the spatial differentiation of the solution

You can do this using interpolateSolution and evaluateGradients. Regards, Ravi

5 meses ago | 1

| accepted

Answered

Obtain the strain from the model analysis solution

Strain is in response to a applied loading. Modal analysis is a eigenvalue problem. So you won't be able to calculate strain fro...

Obtain the strain from the model analysis solution

Strain is in response to a applied loading. Modal analysis is a eigenvalue problem. So you won't be able to calculate strain fro...

5 meses ago | 0

Answered

Applying boundary conditions to a circle

Hi Alun, You are applying your BCs on interior edges, these are not boundaries. Please refer to this page: https://www.mathwo...

Applying boundary conditions to a circle

Hi Alun, You are applying your BCs on interior edges, these are not boundaries. Please refer to this page: https://www.mathwo...

5 meses ago | 0

| accepted

Answered

How to update the PDE toolbox with the real measurement?

You can specify the displacement as a function, look at the the end of the the structualBC doc page. However, note that PDE Tool...

How to update the PDE toolbox with the real measurement?

You can specify the displacement as a function, look at the the end of the the structualBC doc page. However, note that PDE Tool...

6 meses ago | 0

| accepted

Answered

PDE Toolbox producing inconsistent solutions

Hi Atdhe, Here is a quick fix, tighten the tolerance, this will force ODE solver to take finer steps. Insert the following bef...

PDE Toolbox producing inconsistent solutions

Hi Atdhe, Here is a quick fix, tighten the tolerance, this will force ODE solver to take finer steps. Insert the following bef...

7 meses ago | 0

| accepted

Answered

PDE magnetostatic electromagnet how to measure the magnetic field.

Hi Bastiaan, It might be easier if you do a 2-D approximate analysis. For 3-D, modeling the air around the coil to solve for m...

PDE magnetostatic electromagnet how to measure the magnetic field.

Hi Bastiaan, It might be easier if you do a 2-D approximate analysis. For 3-D, modeling the air around the coil to solve for m...

7 meses ago | 0

Answered

Change color pdegplot/ gradient

One workaround would be switch the order of plots: figure() pdegplot(model,'FaceLabels','off','EdgeLabels','off','VertexLabels...

Change color pdegplot/ gradient

One workaround would be switch the order of plots: figure() pdegplot(model,'FaceLabels','off','EdgeLabels','off','VertexLabels...

7 meses ago | 0

| accepted

Answered

Transient Neumann boundary condition

You should be able to apply the Neumann BC using the power calculation that you have done in the beginning. But be sure to take ...

Transient Neumann boundary condition

You should be able to apply the Neumann BC using the power calculation that you have done in the beginning. But be sure to take ...

7 meses ago | 0

Answered

Problem with coefficient c in function form in solving 2D-PDE (PDE toolbox)

Hi Chiara, Solver will call the function several times to check if it is returing the correct format of coeff and so on, for th...

Problem with coefficient c in function form in solving 2D-PDE (PDE toolbox)

Hi Chiara, Solver will call the function several times to check if it is returing the correct format of coeff and so on, for th...

7 meses ago | 0

| accepted

Answered

why does using the Partial Differential Equation (PDE) Toolbox, I get the following error: PDEModel does not have a mesh?

Please use pdegplot, if you want to plot geometry. pdegplot(model,'FaceLabels','on')

why does using the Partial Differential Equation (PDE) Toolbox, I get the following error: PDEModel does not have a mesh?

Please use pdegplot, if you want to plot geometry. pdegplot(model,'FaceLabels','on')

7 meses ago | 0

Answered

3D PDE modelling different c coefficients for different spatial regions

Hi Barnaby, If all you want is different values of c for points within sphere and outside sphere, then you can just do this: ...

3D PDE modelling different c coefficients for different spatial regions

Hi Barnaby, If all you want is different values of c for points within sphere and outside sphere, then you can just do this: ...

8 meses ago | 0

| accepted

Answered

Radiation and convection in thermal models with different ambient and sink temperatures

To pass additional parameter, wrap the functions that actually computes with the ones you specify as inputs. In your example: ....

Radiation and convection in thermal models with different ambient and sink temperatures

To pass additional parameter, wrap the functions that actually computes with the ones you specify as inputs. In your example: ....

8 meses ago | 0

| accepted

Answered

Error: Function specifying a coefficient must accept two input arguments and return one output argument (PDE Toolbox).

Chage f = zeros(N,nr3); to f = zeros(15,nr3); N is not in the scope of the function fcoeffunction. Regards, Ravi

Error: Function specifying a coefficient must accept two input arguments and return one output argument (PDE Toolbox).

Chage f = zeros(N,nr3); to f = zeros(15,nr3); N is not in the scope of the function fcoeffunction. Regards, Ravi

8 meses ago | 0

| accepted

Answered

solving eigenvalues PDE problem

Hi Haya, You need to setup the problem using new workflow: model = createdpde; Then assign the geometry to the model using d...

solving eigenvalues PDE problem

Hi Haya, You need to setup the problem using new workflow: model = createdpde; Then assign the geometry to the model using d...

8 meses ago | 0

| accepted