Skip to main content

Questions tagged [finite-element-method]

Usage of the Finite Element Method embedded in NDSolve and details on the implementation of the fem in mathematica.

Filter by
Sorted by
Tagged with
3 votes
2 answers
216 views

I would like to solve the following system of differential equations numerically for two one-dimensional functions $R(x)$ and $\phi(x)$: \begin{eqnarray} c_1 \left(R''(x) - (\phi'(x))^2 R(x) \right) - ...
sap7889's user avatar
  • 93
1 vote
0 answers
125 views

The following code ...
carlosayam's user avatar
  • 2,100
0 votes
0 answers
144 views

In one of my tasks, it is necessary to set a boundary condition in the form of an oblique derivative for the two-dimensional Laplace equation. Do you know how this can be done in Wolfram Mathematics? ...
Michael Schadt's user avatar
2 votes
1 answer
118 views

Recently I asked a question on solving a system of 3 nonlinear PDE (To solve a system of 3 nonlinear PDE). Now I transitioned to the next step, that is, a realistic PDE which has been my initial aim: <...
Alexei Boulbitch's user avatar
9 votes
3 answers
405 views

I am trying to solve a system of 3 nonlinear partial differential equations: ...
Alexei Boulbitch's user avatar
2 votes
3 answers
248 views

I am wondering what is the best way to solve numerically a initial-boundary value problem of heat equation like this (surely I've made a lot of mistakes in the code): ...
umby's user avatar
  • 651
5 votes
2 answers
314 views

I the following ODE with parameters \begin{align} B_e\: \theta''(s)+2(s-1)\cos\theta(s)=S_e\: f\left(\theta(s)\right), \end{align} with $0\leq s\leq 1$ and \begin{align} \theta(0)=0\:\:\:\text{and}\:\:...
Daniel Castro's user avatar
1 vote
1 answer
132 views

I used NDEigensystem for finding eigenvalues and eigenfunctions of specified dif. operator. If I set R=1 everything is good and I get right results, but when I set R=10 and more I get complex ...
Alexander Malyshev's user avatar
6 votes
2 answers
459 views

In a recent answer to a question on constructing 2D meshes with internal boundaries @user21 provided an extremely useful answer which can be found here. I have tried to extend this to 3D by ...
David Keith's user avatar
  • 5,434
0 votes
0 answers
76 views

I am trying to solve this PDE using the inactive form, however I ran into error stating that the: The PDE coefficient 0....
Snowymint's user avatar
10 votes
2 answers
446 views

In this simple example I try to mesh a rectangle, the mesh should include a fixed line. Using "IncludePoints" I get ...
Ulrich Neumann's user avatar
0 votes
0 answers
111 views

I am trying to solve this complex PDE, however I am getting an error from Mathematica stating: The maximum derivative order of the nonlinear PDE coefficients for the Finite Element Method is larger ...
Snowymint's user avatar
5 votes
1 answer
342 views

I'm trying to numerically solve Poisson's equation for the following scenario: The potential inside a cylinder of radius R=1 and height H=2 with uniform charge density(which I'll set to 1). Poisson's ...
Jeff Giff's user avatar
3 votes
1 answer
149 views

This is a question similar to the previous one with small features. I'm solving this problem by modifying the method of @Alex. The code can run without error, but it was always stuck at ~...
user55777's user avatar
  • 649
6 votes
1 answer
567 views

I am trying to draw a figure and color it like this from here: I tried CSGRegion["Difference", {Ball[{0, 0, 0}, 5], Cylinder[{{0, 0, -5}, {0, 0, 5}}, 2]}] ...
TTTT2025's user avatar
  • 167
2 votes
1 answer
190 views

I'm trying to find eigenvalues and eigenfunctions for a differential operator H=p''[x]-V[x]*p[x]. Actually, V[x] is a potential (...
Alexander Malyshev's user avatar
1 vote
0 answers
44 views

I would need some help when introducing line-search inside Newton-Raphson method inside AceGEN. I'm working with a custom plasticity model implemented in AceGEN/AceFEM using standard Tangent and ...
Luka Roblek's user avatar
5 votes
0 answers
193 views

Can a Mesh be generated directly without using ListContourPlot? Background: In this quite wonderful answer to Finding optimal ...
CA Trevillian's user avatar
4 votes
1 answer
162 views

I am trying to create a response surface involving 4 input parameters and 1 output parameter from an unstructured data set with 30 data points from which I can obtain an output value from any ...
Archie Watts-Farmer's user avatar
2 votes
1 answer
247 views

This post is similar to one posted to the Wolfram Community here. The notebook can be downloaded at that site. Introduction This notebook is an attempt to model airflow past a moving vehicle. It ...
David Keith's user avatar
  • 5,434
7 votes
2 answers
780 views

modified Mathematica FiniteElementMethod methods use Green's identity in a more general form: The parameter $c$ (scalar or matrix) may depend on ...
Ulrich Neumann's user avatar
1 vote
0 answers
158 views

I have a column beam (x = 10, y = 1, z = 1) and would like to prescribe pure bending conditions around Y axis. How can I achieve that in AceGEN/AceFEM? Edit: by pure bending I mean applying equal and ...
Luka Roblek's user avatar
3 votes
1 answer
137 views

I am using StructuredMesh for generating a second order mesh for plane figures. Afterwards I use ToBoundaryMesh to generate the ...
ccc's user avatar
  • 101
1 vote
0 answers
90 views

This is my codes to calculate a wave equation by NDSolveValue: ...
Jie Zhu's user avatar
  • 2,360
5 votes
1 answer
160 views

I’m encountering issues while using the "RegionMarker" option to label different subregions in a mesh for solving PDEs with Mathematica’s FEM package (NDSolve/ToElementMesh). Despite ...
Xin Bae's user avatar
  • 53
10 votes
1 answer
376 views

I'm modeling a screw rotor with cavities (for CAD/CFD analysis). The workflow involves: Generating the rotor body from 5 parametric surfaces. Creating cavity profiles from 4 extruded segments. ...
kai29lol's user avatar
  • 317
6 votes
3 answers
320 views

This is a build-up question from my previous post. I am currently having trouble to produce the correct trend using the NDSolve FEM results. I realized that no matter which parameters I changed, the ...
Johnson's user avatar
  • 589
1 vote
0 answers
81 views

It is known that the solution of the Laplace equation with exclusively Neumann boundary conditions is ambiguous. Wolfram Mathematica warns about this by submitting messages like this one: No ...
Igor Kotelnikov's user avatar
5 votes
1 answer
133 views

I am trying to generate 1D mesh points on x axis, shown below: ...
Johnson's user avatar
  • 589
2 votes
1 answer
140 views

I am solving a system of non-constant coefficient, non-linear ODEs, shown as follows: $$ \frac{\partial}{\partial x} \left[ - B(x) \left( \frac{\partial C_{na}}{\partial x} + C_{na} \frac{\partial y}{\...
Johnson's user avatar
  • 589
0 votes
0 answers
107 views

I am trying to determine if my solution converges, by calculating the residual of my PDE. I have already gotten help previously however I realized that the issue still persist. By plotting my solution ...
Snowymint's user avatar
0 votes
0 answers
68 views

I am having issues with getting my solution to converge. Here I calculate the normalised residual and plot it and noticed that the residual is quite high at the transition points (I use multiple tanh ...
Snowymint's user avatar
7 votes
1 answer
249 views

I would like to use the FEMAddOns package to make a structured mesh (with quad elements with InterpolationOrder -> 2, "MeshOrder" -> 2 ) with two ...
ccc's user avatar
  • 101
2 votes
1 answer
155 views

Bug introduced in 14.2 or earlier. I am trying to determine if my solution converges, by calculating the residual of my PDE. ...
Snowymint's user avatar
2 votes
1 answer
164 views

I have started to work on the examples presented in the SOLID MECHANICS technical notes. The example I am focusing on is the small, cantilever beam, with a load applied to the end surface. I have ...
SAK's user avatar
  • 481
3 votes
0 answers
64 views

I'm solving a coupled system of differential equations for neutron star matter using ParametricNDSolveValue. I encountered two issues: Boundary Condition ...
Ground Control's user avatar
6 votes
1 answer
252 views

I have a function ep[x, y] that represents the electric potential on the x–y plane. This function was obtained by solving a partial differential equation (PDE) and ...
NPK's user avatar
  • 63
0 votes
0 answers
144 views

I am trying to solve this PDE using FEM [![PDE][1]][1] [![Solution][2]][2] with this bc: $$ \lim_{y\to\infty}\big\{ \psi(x, y) - v(y)\big\} =\psi^0(x),\lim_{x\to\pm\infty}\big\{ \psi(x, y) - \psi^0(x)\...
Oyezy's user avatar
  • 21
2 votes
0 answers
65 views

In "Anisotropic linear elastic materials" section of this technical note on solid mechanics (https://reference.wolfram.com/language/PDEModels/tutorial/StructuralMechanics/SolidMechanics.html#...
Akinari's user avatar
  • 21
7 votes
1 answer
213 views

Context I am interested in solving (no outgoing flux) heat equations on non trivial region with a specific boundary condition. For simplicity I assume here a Disk ...
chris's user avatar
  • 23.4k
2 votes
1 answer
127 views

This is an issue I noticed when exploring this problem, I think it's worth posting a new question. Consider the following toy example: ...
xzczd's user avatar
  • 71.6k
8 votes
1 answer
217 views

I want to simulate the bending of a cantilever under its own weight. Pretty standard stuff and I know that there are the SolidMechanics tools. Nevertheless I tried to solve it in a more manual matter. ...
JackyP's user avatar
  • 81
2 votes
1 answer
130 views

Please note, I know how to do this problem exactly by separation of variables, and for a class I am teaching, I have resorted to solving it that way, and then just using Mathematica to plot the ...
Brian Hill's user avatar
3 votes
1 answer
241 views

Need to find eigen values for a rectangular region simple supported membrane. I am able to get results with a uniform area - The answer is close to what I expected ...
SAK's user avatar
  • 481
5 votes
2 answers
770 views

I am trying to solve the following system of nonlinear PDEs in Mathematica, but I'm encountering difficulties, particularly with defining the initial conditions. Here's the system I am working with: $$...
Mikoto's user avatar
  • 366
6 votes
0 answers
159 views

I would like to be able to apply a pressure load to the surface of a thin membrane for FEM, and wish to make sure that the pressure always acts in the direction of the normal vector of the surface of ...
Dunlop's user avatar
  • 4,677
2 votes
0 answers
162 views

Trying to simulate the impurities distribution after several pass. Schematics of zone refining furnace and solution of each regions are depicted in the figure. Can you give any idea how deals on the ...
Kihyun Kim's user avatar
3 votes
1 answer
226 views

I get the following output from the Mathematica code given below: complaining presumably about boundary conditions. I'd like to stick with the new FluidFlowPDEComponent. My code is below: ...
i0908's user avatar
  • 33
5 votes
3 answers
514 views

I want to model a solid spiral but Region[] seems to connect the different turns of the spiral ...
Michael T's user avatar
  • 298
11 votes
4 answers
770 views

This problem raises up when I'm exploring this question. Consider the following first order 2D triangle mesh: ...
xzczd's user avatar
  • 71.6k

1
2 3 4 5
35