Answered
Unexpected Result for 3-D Thermal Transient Analysis of Heat sink using PDE Solver Toolbox
Hello Jake, You seem to have unit mismatch in the MATLAB model. PDE Toolbox doesn't have any units. When you exported the geom...

4 years ago | 1

Answered
Solving 2D Convection Diffusion Equation
You might be able to setup the 2-D version using PDE toolbox. Take look at the following code. Please verify I have accuratly ca...

4 years ago | 0

| accepted

Answered
Solving PDE for Hygromechanical Coupling with f coefficient as a function of previous PDE results
You should be all set if you replace the last two lines in your function with the following one line: fx = [gradx.'.*coefRGx;gr...

4 years ago | 0

| accepted

Answered
Error using deval in pde toolbox
Hi SS, The warning: Warning: Failure at t=1.307250e+00. Unable to meet integration tolerances without reducing the step size...

4 years ago | 0

| accepted

Answered
Temperature-dependent boundary conditions
Do you have PDE Toolbox in your installed products list? You can check this by executing 'ver' at the command prompt. If so, di...

4 years ago | 0

| accepted

Answered
Radiation in PDE thermal model
To activate both radiation and convection on the same boundary, combine them into one assignment as: thermalBC(thermalmodel,'Fa...

4 years ago | 1

| accepted

Answered
Temperature in a specific point with pde thermal
Yes! Check out the interpolateTemperature function.

4 years ago | 0

Answered
How to specify initial conditions for two different subdomains in PDE solver?
I suggest you to look at the programmatic workflow, refer to the programmatic workflow overview doc page. In the programmatic ...

4 years ago | 0

Answered
How to specify f coefficient function for arbitrarily located point sources within a domain.
If you want to use addtional arguments in computing f, then wrap the f coefficient function around the actual function that take...

4 years ago | 0

Answered
Determine locations struct used in PDE solver
You can write that code that you indented to use to "create a matrix that is of length N by M where ..." in the function itself....

4 years ago | 0

| accepted

Answered
Time-dependent thermal conductivity
Function should return values of k at all points requested by the solver, points are in the first argument. Update your funciton...

4 years ago | 0

| accepted

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

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

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

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

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

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

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

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

5 years 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

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

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

5 years ago | 1

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

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

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

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

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

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

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

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

5 years ago | 0

Load more