Community Profile

# Ravi Kumar

### University of Illinois

109 total contributions since 2016

View details...

Contributions in
View by

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

etwa ein Monat ago | 0

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

etwa 2 Monate ago | 0

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

etwa 2 Monate ago | 0

| accepted

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

etwa 2 Monate ago | 0

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

etwa 2 Monate ago | 0

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

etwa 2 Monate ago | 0

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

2 Monate ago | 0

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

2 Monate ago | 0

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

2 Monate ago | 0

| accepted

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

2 Monate ago | 1

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

3 Monate ago | 0

| accepted

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

3 Monate ago | 0

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

3 Monate ago | 0

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

3 Monate ago | 0

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

3 Monate ago | 0

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

3 Monate ago | 0

| accepted

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

3 Monate ago | 0

| accepted

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

3 Monate ago | 0

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

3 Monate ago | 0

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

4 Monate ago | 1

| accepted

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

4 Monate ago | 0

| accepted

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

5 Monate ago | 0

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

5 Monate ago | 0

| accepted

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

5 Monate ago | 0

| accepted

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

5 Monate ago | 0

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

5 Monate ago | 0

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

5 Monate ago | 0

| accepted

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?

5 Monate ago | 0