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

en dag 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 dagar 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...

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

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

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

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

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

26 dagar 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,...

27 dagar 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,...

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

ungefär en månad 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...

ungefär en månad 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...

ungefär en månad 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...

ungefär en månad 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...

ungefär 2 månader 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...

ungefär 2 månader 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...

ungefär 2 månader 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...

ungefär 2 månader 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...

ungefär 2 månader 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 (...

ungefär 2 månader 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. ...

ungefär 2 månader 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. ...

ungefär 2 månader ago | 0

| accepted

Answered

How i can write transient condition in a pde thermal model?

Example: If you want to write y^2 - 2*t^2, you write: handlename=@(region,state) region.y.^2 - 2 * state.time^2 Yes, if it de...

How i can write transient condition in a pde thermal model?

Example: If you want to write y^2 - 2*t^2, you write: handlename=@(region,state) region.y.^2 - 2 * state.time^2 Yes, if it de...

2 månader ago | 0

Answered

How can I solve 2D transient diffusion equation with nonlinear source term?

I don't see any interaction between species being defined by the stated PDEs. You can define coefficients usng PDEModel workflo...

How can I solve 2D transient diffusion equation with nonlinear source term?

I don't see any interaction between species being defined by the stated PDEs. You can define coefficients usng PDEModel workflo...

2 månader ago | 0

Answered

questions about the 'pdeeig'

Please use one the newer workflow like general equation based one, Structural or Thermal one. Once you setup your model in one ...

questions about the 'pdeeig'

Please use one the newer workflow like general equation based one, Structural or Thermal one. Once you setup your model in one ...

2 månader ago | 0

| accepted

Answered

Haw can I use the PDE toolbox to model isotropic thermal expansion?

The latest version of MATLAB has the capabality to solve for thermal expansion and thermal stress by specifying temperature as a...

Haw can I use the PDE toolbox to model isotropic thermal expansion?

The latest version of MATLAB has the capabality to solve for thermal expansion and thermal stress by specifying temperature as a...

2 månader ago | 0

| accepted

Answered

capability pde toolbox, 3d application heat transfer

If your 3-D model that you discretize involve only cubes then you can model this in PDE. For example see attached image: Yo...

capability pde toolbox, 3d application heat transfer

If your 3-D model that you discretize involve only cubes then you can model this in PDE. For example see attached image: Yo...

2 månader ago | 0

| accepted

Answered

Defining non-constant Neumann Boundary Conditon

You do not need to model the interface BC explicitly. This condition should be automatically satisfied in the solution. Regard...

Defining non-constant Neumann Boundary Conditon

You do not need to model the interface BC explicitly. This condition should be automatically satisfied in the solution. Regard...

2 månader ago | 0

Answered

PDE Toolbox - Convection in Diffusion Equation

It looks like your function errored without returning one onput. Most likely the error could have been due to 'va' being out of...

PDE Toolbox - Convection in Diffusion Equation

It looks like your function errored without returning one onput. Most likely the error could have been due to 'va' being out of...

2 månader ago | 0

| accepted

Answered

How to integrate PDE solution in 2D space?

If you are solving a single PDE, i.e., you used createpde(1) then you need to specify time-steps as the last argument. If you ha...

How to integrate PDE solution in 2D space?

If you are solving a single PDE, i.e., you used createpde(1) then you need to specify time-steps as the last argument. If you ha...

3 månader ago | 0

| accepted