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

mer än ett år 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...

mer än ett år 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...

mer än ett år 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...

mer än ett år 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 ...

mer än ett år 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...

mer än ett år 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')

mer än ett år 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: ...

mer än ett år 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: ....

mer än ett år 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

mer än ett år 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...

mer än ett år 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...

mer än ett år 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...

mer än ett år 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...

mer än ett år 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...

mer än ett år 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...

mer än ett år 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,...

mer än ett år 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,...

mer än ett år 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...

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

mer än ett år 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...

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

mer än ett år 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...

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

mer än ett år 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...

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

mer än ett år 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...

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

mer än ett år 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...

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

mer än ett år ago | 1

| accepted

Answered

How can I just get the corner points in the 3D model?(PDE Toolbox)

Hi Haoran, It looks like you are interested in nodes that form the triangle element corners and not the midside nodes. Two opt...

How can I just get the corner points in the 3D model?(PDE Toolbox)

Hi Haoran, It looks like you are interested in nodes that form the triangle element corners and not the midside nodes. Two opt...

mer än ett år ago | 1

| accepted

Answered

PDETool temperature gradient-dependent internal heat generation

Hi Tadeu, My apologies, this is a bug in detecting pseudo-nonlinearity. Solver does not pass solution and its derivative to cus...

PDETool temperature gradient-dependent internal heat generation

Hi Tadeu, My apologies, this is a bug in detecting pseudo-nonlinearity. Solver does not pass solution and its derivative to cus...

mer än ett år ago | 0

| accepted

Answered

Solution dependent material coefficient? How to use specifyCoefficients in pdetool (for a time dependnet PDE solution)

Define a function or a anonymous function handle as per the prescribed format. For example you can define: cFcn = @(region,stat...

Solution dependent material coefficient? How to use specifyCoefficients in pdetool (for a time dependnet PDE solution)

Define a function or a anonymous function handle as per the prescribed format. For example you can define: cFcn = @(region,stat...

mer än ett år ago | 0

| accepted

Answered

partial derivative coding in matlab

Although I have not looked into details, you might be able to setup this problem using pdepe function available in base MATLAB (...

partial derivative coding in matlab

Although I have not looked into details, you might be able to setup this problem using pdepe function available in base MATLAB (...

mer än ett år ago | 0

Answered

Capacitance by solving Poisson equation

If you setup the problem using PDE Toolbox, look here for example, then you get the gradients of the solution in the results. ...

Capacitance by solving Poisson equation

If you setup the problem using PDE Toolbox, look here for example, then you get the gradients of the solution in the results. ...

mer än ett år ago | 0

Answered

How to properly add radiative heat flux boundary conditions in a stationary heat transfer problem using the pde toolbox?

Hi Eduardo, The issue is with the default tolerance. The default tolerance of 1E-4 in the model is too loose for your problem. ...

How to properly add radiative heat flux boundary conditions in a stationary heat transfer problem using the pde toolbox?

Hi Eduardo, The issue is with the default tolerance. The default tolerance of 1E-4 in the model is too loose for your problem. ...

mer än ett år ago | 0

| accepted