Answered

Import of a 2D mesh created by Mesh2D or NodeLab into PDE Toolbox

You can import triangles in 2-D into PDE Toolbox using geometryFromMesh function. Although it creates geometry using the mesh da...

Import of a 2D mesh created by Mesh2D or NodeLab into PDE Toolbox

You can import triangles in 2-D into PDE Toolbox using geometryFromMesh function. Although it creates geometry using the mesh da...

2 days ago | 0

Answered

Usage of InternalHeatSource from PDE toolbox (Heat Transfer)

Value of internal hear source should be energy per unit volume. Are you sure your internalHeatSource command is getting executed...

Usage of InternalHeatSource from PDE toolbox (Heat Transfer)

Value of internal hear source should be energy per unit volume. Are you sure your internalHeatSource command is getting executed...

15 days ago | 0

Answered

Time-dependent internal heat source

You cannot add function handle as you have done, f+q in: specifyCoefficients(model,'m',0,'d',d,'c',c,'a',a,'f',f+q); I would r...

Time-dependent internal heat source

You cannot add function handle as you have done, f+q in: specifyCoefficients(model,'m',0,'d',d,'c',c,'a',a,'f',f+q); I would r...

16 days ago | 0

| accepted

Answered

How I introduce a matrix form of c coefficient in PDE equation using solvepde matlab command

Output of c coefficient function should be a matrix or column vector of appropriate size, where the number of columns correspond...

How I introduce a matrix form of c coefficient in PDE equation using solvepde matlab command

Output of c coefficient function should be a matrix or column vector of appropriate size, where the number of columns correspond...

16 days ago | 0

Answered

Efficient sensor placement optimization

Not sure if I understand your question correctly. Are you referring to location mesh nodes when you say sensor? My guess is you...

Efficient sensor placement optimization

Not sure if I understand your question correctly. Are you referring to location mesh nodes when you say sensor? My guess is you...

16 days ago | 0

Answered

Heat transfer question in pde toolbox

Yes, all the three properties can be defined as function of temperature. This will make the problem highly nonlinear, existance ...

Heat transfer question in pde toolbox

Yes, all the three properties can be defined as function of temperature. This will make the problem highly nonlinear, existance ...

22 days ago | 0

Answered

How can I resolve the error "PDE coefficients cannot be function of solution or time." in a static solution of a PDE.

What are the output arguments in you function call InterpolateDisplacement? [UVdispB, UVdispT, UVdispL, UVdispR]=InterpolateDis...

How can I resolve the error "PDE coefficients cannot be function of solution or time." in a static solution of a PDE.

What are the output arguments in you function call InterpolateDisplacement? [UVdispB, UVdispT, UVdispL, UVdispR]=InterpolateDis...

27 days ago | 0

Answered

How to create a copy of a pde model ?

Get hold of the handle that is provided as output, like: bc = applyBoundaryCondition(....) Now you can...

How to create a copy of a pde model ?

Get hold of the handle that is provided as output, like: bc = applyBoundaryCondition(....) Now you can...

30 days ago | 0

Answered

How to apply the boundary conditons to the mass and stiffness matrices?

Use the 'nullspace' as second argument, you will get matrices with BC imposed by eleminating dirichlet DoFs. Regards, Ravi

How to apply the boundary conditons to the mass and stiffness matrices?

Use the 'nullspace' as second argument, you will get matrices with BC imposed by eleminating dirichlet DoFs. Regards, Ravi

30 days ago | 0

| accepted

Answered

Cannot apply multiple, region-dependent thermal properties in PDE Toolbox

This is a bug where solver fails to distinguish the functions as seperate based on some queries. Workaround is to define variati...

Cannot apply multiple, region-dependent thermal properties in PDE Toolbox

This is a bug where solver fails to distinguish the functions as seperate based on some queries. Workaround is to define variati...

1 month ago | 1

Answered

How squareg works ?

Hi Pavel, I don't fully understand your question, but I can answer a portion on how to create square of different size. You can...

How squareg works ?

Hi Pavel, I don't fully understand your question, but I can answer a portion on how to create square of different size. You can...

1 month ago | 0

| accepted

Answered

PDE tool box, internal heat generation and BC conditions

If the problem is axisymmetric, then you need follow the approach similar to this example: https://www.mathworks.com/help/pde/...

PDE tool box, internal heat generation and BC conditions

If the problem is axisymmetric, then you need follow the approach similar to this example: https://www.mathworks.com/help/pde/...

2 months ago | 0

Answered

How can i define PDE coefficient which is scalar matrix inside the boundary

Hi Kim, Is your ffunc depends on solution, i.e., using state.u? Can you provide sample data, also xv and yv? Regards, Ravi ...

How can i define PDE coefficient which is scalar matrix inside the boundary

Hi Kim, Is your ffunc depends on solution, i.e., using state.u? Can you provide sample data, also xv and yv? Regards, Ravi ...

2 months ago | 0

Answered

Boundary condition for multidomain geometry

Hi Urban, Would you be able to share your code and data? Geometric faces are identified by analyzing how drastic the normal ch...

Boundary condition for multidomain geometry

Hi Urban, Would you be able to share your code and data? Geometric faces are identified by analyzing how drastic the normal ch...

2 months ago | 0

Answered

Retrieving indices of times for a time-dependent system of PDEs within applyBoundaryCondition()

You need to create an interpolant object, see for example, griddedInterpolant. Construct interpolant (may be one for each N), an...

Retrieving indices of times for a time-dependent system of PDEs within applyBoundaryCondition()

You need to create an interpolant object, see for example, griddedInterpolant. Construct interpolant (may be one for each N), an...

2 months ago | 0

Answered

PDE Toolbox does not recognize subdomains in imported .stl geometry

STL with multiple bodies are imported as separate cells in PDE Toolbox. Essentially, the two cells are disconnected for analysis...

PDE Toolbox does not recognize subdomains in imported .stl geometry

STL with multiple bodies are imported as separate cells in PDE Toolbox. Essentially, the two cells are disconnected for analysis...

2 months ago | 0

| accepted

Answered

I find that the matlab official example "deflection-of-a-piezoelectric-actuator" cannot be correct

Hello Prof. Ciavarella, Can you provide a bit more details, reproduction code and expected results, of the modified setup to i...

I find that the matlab official example "deflection-of-a-piezoelectric-actuator" cannot be correct

Hello Prof. Ciavarella, Can you provide a bit more details, reproduction code and expected results, of the modified setup to i...

2 months ago | 0

| accepted

Answered

What is the best way to fit parameters in the pdesolver to a set of datapoints?

You might need to use Optimization Toolbox in conjunction with PDE Toolbox to setup the objective function and constraints. Woul...

What is the best way to fit parameters in the pdesolver to a set of datapoints?

You might need to use Optimization Toolbox in conjunction with PDE Toolbox to setup the objective function and constraints. Woul...

2 months ago | 0

Answered

plese help me solve this

You can use PDE Toolbox to solve this kind of heat transfer problem. Refer to the documentation on Heat Transfer problem setup i...

plese help me solve this

You can use PDE Toolbox to solve this kind of heat transfer problem. Refer to the documentation on Heat Transfer problem setup i...

2 months ago | 0

Answered

How to change from dirichlet to newman conditions in a thermal model using PDE?

Hi Rubem, ThermalModel crated using thermalmodelS=createpde('thermal') lets you set up the problem in deomain specific funct...

How to change from dirichlet to newman conditions in a thermal model using PDE?

Hi Rubem, ThermalModel crated using thermalmodelS=createpde('thermal') lets you set up the problem in deomain specific funct...

3 months ago | 1

| accepted

Answered

evaluateGradient missing from pde toolbox

Hi Heidi, You need to have a results object in the workspace to access evaliuateGradient on the MATLAB path. Run any PDEModel ...

evaluateGradient missing from pde toolbox

Hi Heidi, You need to have a results object in the workspace to access evaliuateGradient on the MATLAB path. Run any PDEModel ...

3 months ago | 0

| accepted

Answered

pde themral model, thermally connect two cells

Hi Derek, Multidomains in the imported geometry, using STL file, are not recoganized as connected cells of the same geometry. ...

pde themral model, thermally connect two cells

Hi Derek, Multidomains in the imported geometry, using STL file, are not recoganized as connected cells of the same geometry. ...

3 months ago | 0

Answered

Simple compression of cylinder- results of finite element model don't make sense

Hi Clay, Your BCs are correct. I think the load you are applying is resulting in very small defomration. This is causing the d...

Simple compression of cylinder- results of finite element model don't make sense

Hi Clay, Your BCs are correct. I think the load you are applying is resulting in very small defomration. This is causing the d...

3 months ago | 0

| accepted

Answered

error in heat transfer example

Hi Charlie, What version of MATLAB are you running R2018a or R2018b. In any case, you should not see this error if you run t...

error in heat transfer example

Hi Charlie, What version of MATLAB are you running R2018a or R2018b. In any case, you should not see this error if you run t...

3 months ago | 0

| accepted

Answered

PDE Toolbox: Using different temperature-dependent thermal conductivities

I did not realize this in my initial response, both of your k values goes to inf when u=0. Try the following following instead, ...

PDE Toolbox: Using different temperature-dependent thermal conductivities

I did not realize this in my initial response, both of your k values goes to inf when u=0. Try the following following instead, ...

4 months ago | 0

Answered

PDE Toolbox: Using different temperature-dependent thermal conductivities

Both k1 and k2 yields zero when state.u = 0, this is causing solver to misinterpret them as same functions. You can get around t...

PDE Toolbox: Using different temperature-dependent thermal conductivities

Both k1 and k2 yields zero when state.u = 0, this is causing solver to misinterpret them as same functions. You can get around t...

4 months ago | 0

Answered

nonzero m and d coefficients for Matlab PDE

Refer to this documentation: https://www.mathworks.com/help/pde/ug/pde.pdemodel.specifycoefficients.html#bu7pwf5 d has to be a...

nonzero m and d coefficients for Matlab PDE

Refer to this documentation: https://www.mathworks.com/help/pde/ug/pde.pdemodel.specifycoefficients.html#bu7pwf5 d has to be a...

4 months ago | 0

| accepted

Answered

How to indicate the number of nodes and elements of mesh of PDE problem in command line? (the function pdeplot can't do this)

Try using: pdemesh(modelM,'NodeLabels','on') Does it not show labels of node for you?

How to indicate the number of nodes and elements of mesh of PDE problem in command line? (the function pdeplot can't do this)

Try using: pdemesh(modelM,'NodeLabels','on') Does it not show labels of node for you?

4 months ago | 0

Answered

PDE Thermal model computation speed

Hi Juan, Nonconstant BC would take longer than constant BC. However, the increase you are observing seems abnormal, given that...

PDE Thermal model computation speed

Hi Juan, Nonconstant BC would take longer than constant BC. However, the increase you are observing seems abnormal, given that...

4 months ago | 0

Answered

How to incorporate a 3D mesh in [p,e,t] format on a PDE thermal model?

You can attempt to use geometryFromMesh function to import geometry as a mesh (also retain the original mesh). Regards, Ra...

How to incorporate a 3D mesh in [p,e,t] format on a PDE thermal model?

You can attempt to use geometryFromMesh function to import geometry as a mesh (also retain the original mesh). Regards, Ra...

5 months ago | 0