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

18 days 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

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

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

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

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

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

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

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

2 months 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

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

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

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

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

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

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

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

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

5 months 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')

5 months 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: ...

6 months 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: ....

6 months 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

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

6 months ago | 0

| accepted

Answered

Defining internalHeatSource based on changing temperature?

Solver passes the value of solution and its derivatives in state struct array (state.u, state.ux, etc.) You can use this data in...

Defining internalHeatSource based on changing temperature?

Solver passes the value of solution and its derivatives in state struct array (state.u, state.ux, etc.) You can use this data in...

7 months ago | 1

| accepted

Answered

Applying fixed temperature to face in 2D thermal simulation?

Hi Lisa, In 2-D, faces are part of domain. If you apply fixed temperature on a face, then that is the solution, no? If it is a...

Applying fixed temperature to face in 2D thermal simulation?

Hi Lisa, In 2-D, faces are part of domain. If you apply fixed temperature on a face, then that is the solution, no? If it is a...

7 months ago | 0

| accepted

Answered

Export pde solution out of matlab

Hi Lalson, Solution is availble as a matrix in NodalSolution property of the result object obtained using solvepde. You may ne...

Export pde solution out of matlab

Hi Lalson, Solution is availble as a matrix in NodalSolution property of the result object obtained using solvepde. You may ne...

7 months ago | 0

| accepted

Answered

PDEtoolbox_Error using daeic3 (line 230) Need a better guess y0 for consistent initial conditions.

You do have a singula mass matrix becuase of the equation 2. If I understand correctly equation 1 can be solved in isolation. On...

PDEtoolbox_Error using daeic3 (line 230) Need a better guess y0 for consistent initial conditions.

You do have a singula mass matrix becuase of the equation 2. If I understand correctly equation 1 can be solved in isolation. On...

7 months ago | 0

| accepted

Answered

internalHeatSource for cylindrical geometry

Having an axisymmetric analsysis, which is not supported yet, would simplify your setup.Here is an alternative approach which mi...

internalHeatSource for cylindrical geometry

Having an axisymmetric analsysis, which is not supported yet, would simplify your setup.Here is an alternative approach which mi...

7 months ago | 0

Answered

Defining a geometry to apply Heat flux - PDEPE Toolbox

Exactly as in the example you pointed to, in which you will find: thermalBC(thermalmodel,'Face',4,'HeatFlux',@externalHeatFlux,...

Defining a geometry to apply Heat flux - PDEPE Toolbox

Exactly as in the example you pointed to, in which you will find: thermalBC(thermalmodel,'Face',4,'HeatFlux',@externalHeatFlux,...

7 months ago | 0

| accepted

Answered

Additional Inputs PDE Toolbox f coefficient

Change to: specifyCoefficients(model,'m',0,'d',0,'c',c_coeff,'a',0,'f',f_fun,'Cell',1); Remove the @ symbol in front of f_fun,...

Additional Inputs PDE Toolbox f coefficient

Change to: specifyCoefficients(model,'m',0,'d',0,'c',c_coeff,'a',0,'f',f_fun,'Cell',1); Remove the @ symbol in front of f_fun,...

7 months ago | 1

| accepted