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

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

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

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

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

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

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

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

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

4 years ago | 0

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

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

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

4 years 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')

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

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

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

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

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

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

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

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

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

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

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

4 years ago | 1

| accepted

Answered
Colour Jet figure plot - how to view exact value?
If you got the solution, displ, u, and v by setting up and solving the PDEs in PDE Toolbox, then you would be able to use interp...

4 years ago | 0

Answered
Magnetic Potential in PDE Modeler
Good you find your way to setup magnetic potential. PDE Toolbox is unit free. You need to setup the problem by specifying all q...

4 years ago | 0

Answered
Mass Transfer - Forced Convection Boundary Condition
Your Neumann BC approach is the right option. But be aware that you can only model mass diffusion within domain, forced convecti...

4 years ago | 0

| accepted

Answered
Is it possible apply moving load (constant force with a speed) when using the PDE ToolBox?
Yes, you can do so using a functional form of load. Say you are applying pressure on a face; you can define a function of pressu...

4 years ago | 0

Answered
Adaptive mesh refinement function for time-dependent problems?
Adaptive refinement of time-dependent problem is not currently available in PDE Toolbox. However, you can do a coarse adaptive...

4 years ago | 0

| accepted

Answered
PDE Toolbox: evaluateGradient for legacy workflow or convert legacy solution to PDE solution
Hi Maxime, You can create a result object of the kind you need using the solution from the legacy solver and the createPDEResu...

4 years ago | 1

| accepted

Load more