Community Profile

photo

Ravi Kumar


University of Illinois

Last seen: Today Active since 2016

Statistics

All
  • Pro
  • Knowledgeable Level 5
  • 12 Month Streak
  • Solver
  • Revival Level 1
  • First Answer

View badges

Content Feed

View by

Answered
Stacked Cuboid for PDE Domain
Our geometry expert provided a much compact version to create this geometry: g=fegeometry(multicuboid([1 2],[1 2],2)) g2=extru...

1 month ago | 0

Answered
Stacked Cuboid for PDE Domain
Here is an example, use this code and modify the dimensions. % Define the first square of size 1 x1 = [0; 1; 1; 0]; % x-coord...

1 month ago | 0

| accepted

Answered
How to set state.u state.t in PDE Toolbox's function assmbleFEMatrixes for a generic 2D problem?
https://www.mathworks.com/help/pde/ug/assemblefematrices.html#mw_c59ea87b-8f13-478a-b33d-351795b1572f

4 months ago | 1

Answered
Why does my imported geometry show only 1 face & 1 edge?
Hi Muhammad, As Cris noted, the lack of sharp edges in the triangulation results in a single face for the whole geometry. He...

9 months ago | 0

| accepted

Answered
parfor-loop leads to wrong results of PDE solver
Hi Anselm, This is a bug when the model gets transferred to the worker in the process of parfor execution. I apologize for the ...

2 years ago | 1

| accepted

Answered
How to define coefficient c in 3 coupling pdes in solving 2D-PDE (PDE toolbox)
If you have Symbolic Math Toolbox, then you can use the pdeCoefficients function to get the requried c-coefficient. Regards, ...

2 years ago | 0

| accepted

Answered
Why do I get zero Thermal Stress? Am I using the PDE Toolbox incorrectly?
Got it. You don't have CTE specified along with the material properties. Refer to structuralProperties() call in the bi-metal ex...

2 years ago | 0

| accepted

Answered
Using XY Data from this example? Help please
You can use interpolateStress to find values of stress at a given query coordinates (xq,yq,zq),. Regards, Ravi

3 years ago | 2

| accepted

Answered
Can someone help me with this Matlab code on 2D heat equation
Your T_initial is declared as a scalar, you are getting the error when you try to index into it beyond its size. Make that zeros...

3 years ago | 1

| accepted

Answered
Pressure units for a 1D edge on a structural model?
When you are solving a 2-D structural probelm (either plane stress or plane strain approximation), unit thickness is implicit. C...

3 years ago | 0

Answered
Improve efficiency of AssembleFEMatrices?
If you are using R2020b or newer version of MATLAB, you should be able to specify required matrices as input: https://www.mathw...

3 years ago | 0

| accepted

Answered
How to give initial guess and initial condition for a nonlinear - time dependent PDE problem (transient non-linear heat equation) in pde tool box?
For nonlinear elliptic problem, inputs in setInitialCcnditions is the initial guess for the nonlinear solver. For time-dependent...

3 years ago | 0

| accepted

Answered
How to get AssembleFEMatrices for a nonlinear and Time dependent PDE problem in PDEtool box
Solution matrix must of of the size NumPDEs x NumNodes. In your case, you are providing several solutions at all the time-steps ...

3 years ago | 0

Answered
Display generated mesh/ call out adjacent nodes in 3D domain
Check findNodes function. You should be able to specify region as box in which you need node IDs. Regards, Ravi

3 years ago | 0

Answered
How to mesh mutliple objects?
This example might work for you!

3 years ago | 0

| accepted

Answered
Unable to resolve the name results.NodalSolution.
You have a typo. It should be u=result.NodalSolution; not u=results.NodalSolution; Regards, Ravi

3 years ago | 0

| accepted

Answered
PDE: modal analysis two bodies - possible?
Hi Rober, Your mass density seems to be off. If you are using SI units, as it appears from Young's moduls, mass density must b...

3 years ago | 1

| accepted

Answered
PDE toolbox, specifying coefficients, error telling me "Function specifying a coefficient must accept two input arguments and return one output argument."
The function "fcoeffunction", does not have definitions of e, L, C, mu, r, o, etc. in its scope. Move the definitions in the beg...

3 years ago | 0

Answered
Issue with STL geometry and pde toolbox
Check the dimensions of the expoerted geometry. Some tools export by default in mm, you mght be seeing many more frequenceis if ...

3 years ago | 0

| accepted

Answered
Thermal contact resistance in PDE toolbox
Hi Luca, Interface conditions like thermal contact resistance are not yet supported in PDE Toolbox. Regards, Ravi

3 years ago | 0

Answered
Set non-constant boundary condition proportional to solution at that point and time
Hi Ollie, The function you have written does exactly what you describe. What is the issue you are encountering? Regards, Ra...

3 years ago | 0

| accepted

Answered
Transient thermal model (PDE Toolbox) failing to solve due to time dependent heat flux and ambient temperature. "Unable to meet integration tolerance."
Hi Kevin, Make sure your geometry from STL is in SI units too as you have properties specified in SI units. I don't see anythi...

3 years ago | 0

| accepted

Answered
Transient heat flux boundary condition in PDE toolbox
Based on what you describe, it appears you are assigning heat flux on an interior edge. These are not boundaries of the domain s...

3 years ago | 0

| accepted

Answered
PDE Toolbox FEA Units
Hello Colton, You are right, PDE Toolbox does not have any units. Two things you can check again: You save E as 10300000 psi i...

3 years ago | 0

Answered
PDE TOOLBOOX heat transfer error
You are overwriting modelc immediately after creating the thermal model. Remove the second line: modelc = createpde

3 years ago | 0

| accepted

Answered
Can I use the figure’Blade.stl’ file provided in PDE Toolbox for publication (copyright)?
Please contact Customer Support here: https://www.mathworks.com/support/contact_us.html Regards, Ravi

3 years ago | 0

Answered
Interpolating at centroid of a tetrahedral mesh
You can use interpolateSolution if you are using equation based interfaces to setup the problem. If you are solving a structural...

3 years ago | 0

Answered
Radiation heat transfer using PDE toolbox
Hi Ruben, Thanks for the code, it helped. All the BCs inside RadandConv == 1 block are applied on the edges that are interior ...

3 years ago | 0

Answered
Finite Element Analysis in Matlab with user-defined elements?
You can define user defined functions of space, time, and solution using PDE Toolbox generic workflow, check out the following l...

3 years ago | 0

Answered
Boundary Condition for 3-D Poisson's Equation using PDE Toolbox
You need BC for all three equations. You might want to try u as [0;0;0] or other appropriate vector of 3 rows, where each row co...

3 years ago | 1

| accepted

Load more