New answers tagged finite-element-method
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.
...
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 ...
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 ...
2
votes
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
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 ...
3
votes
Accepted
Artifacts when interpolating on an unstructured set of 3D data
How about something like this:
...
1
vote
Accepted
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:
...
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 ...
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 ...
Top 50 recent answers are included
Related Tags
finite-element-method × 1426differential-equations × 881
mesh × 297
numerical-integration × 156
numerics × 111
boundary-conditions × 102
regions × 93
eigenvalues × 90
heat-equation × 80
equation-solving × 78
plotting × 74
acegen × 73
interpolation × 71
physics × 52
bugs × 51
nonlinear × 41
fluid-dynamics × 39
warning-messages × 37
calculus-and-analysis × 36
computational-geometry × 36
solidmechanics × 30
graphics3d × 26
finite-difference-method × 24
performance-tuning × 23
boundary-condition-at-infinity × 21