New answers tagged

2 votes
Accepted

Post Processing of Solution and Plot of Coupled Partial Differential Equation Over a Semi-Circular Domain

I can't get the same exact plot for the second part. This is what I get This is the code. Feel free to change it as needed. ...
Nasser's user avatar
  • 135k
3 votes
Accepted

Solution and Plot of Coupled Partial Differential Equation Over a Semi-Circular Domain.II

Since you used NDSolveValue to solve the first PDE, then you can use that solution in the second PDE using sol1[r,θ] and not as ...
Nasser's user avatar
  • 135k
2 votes
Accepted

NDSolveValue result contradicts initial condition

Let's have a look at the mesh that is automatically generated: Needs["NDSolve`FEM`"] mesh = ToElementMesh[rg] Now, we evaluate the ic at the coordinates ...
user21's user avatar
  • 39.1k
2 votes

Solve dimensionless PDE in polar coordinate over a semi-circular re

in V 13.3.1 ...
Nasser's user avatar
  • 135k
1 vote
Accepted

FEM solution for onedimensional boundary value problem doesn't evaluate

That's a typo: You used "MaxCellMeasure->0.1" but you should use: "MaxCellMeasure" -> 0.1
user21's user avatar
  • 39.1k
1 vote

Mathematica thinks that an initial condition is a boundary condition

Here is a way to solve it. Note that there is no need for the NeumannValue, as the 0 NeumannValue is the default. I have changed the initial condition on R and gave ...
user21's user avatar
  • 39.1k
3 votes
Accepted

Artifacts when interpolating on an unstructured set of 3D data

How about something like this: ...
user21's user avatar
  • 39.1k
1 vote
Accepted

Second order Poisson ODE

This is some sort of a scaling problem: ...
user21's user avatar
  • 39.1k
1 vote
Accepted

Need help solving cylindrical Laplacian

You'd need to use Cartesian coordinated (or use a RegionSymmetry). Something like this should get you started: ...
user21's user avatar
  • 39.1k
2 votes

Solving Schrödinger equation for Dirac comb potential (kicked rotor)

One problem with your approach is that DiscreteDelta is designed to accept exact integers. A numerical equation solver works with real numbers, and the sampling won't select an exact integer, so ...
jdp's user avatar
  • 621
1 vote

AceGen: Assemble a user specific global array (similar to "Residual")

Tasks subroutines can only be used to assemble vectors and square matrices. Your L matrix can be assembled by calling Tasks 6 times, for each column separately. About the syntax error. It is an AceGen ...
JozeK's user avatar
  • 826

Top 50 recent answers are included