Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [finite-element]

A means of solving ordinary and partial differential equations. The domain of the problem is broken up into elements, and the solution in each element is expanded in a basis of functions. The Finite Element Method lends itself well to adaptive refinement, irregular geometry, and good error ...

0
votes
0answers
17 views

Determine non-contiguous elements in a 2D triangular mesh

I am using ParMetis do the repartitioning of the adaptive mesh. However, ParMetis cannot guarantee that the result partition is a contiguous mesh. Hence, I need to check if there are any non-...
-1
votes
0answers
16 views

Using Modules; creating files and importing ? Please see attached links [on hold]

I am a super n00b beginner, I have been teaching myself python concepts for the last couple of months using juptyer notebook, and lessons in CFD & similar subjects that I am conceptually familiar ...
-1
votes
0answers
13 views

Prove that an infinite set is decidable [on hold]

Given an infinite set C. Prove that C is decidable if and only if there is a function computable, total, injective and growing whose image is C. I can undertand why it needs to be a function ...
0
votes
0answers
28 views

Point-based multigrid method

Most algebraic multigrid methods are scalar or variable based. This means that the initial grid size is identical to the number of unknowns of the problem. It has been stated, that this approach is ...
0
votes
1answer
30 views

Given co-ordinates of 8 vertices, how to calculate the outward normal and surface area for each face of a irregular hexahedron?

I am working on an FEA mesh of hexahedron elements. The elemental level calculations involve finding the surface normals and area for each surface of a hex element. I preferred the vector cross ...
0
votes
0answers
58 views

Electrical field of capacitor with FEniCS

I am fairly new to FEM and FEinCS. I worked through the relevant examples of the FEinCS Tutorial (https://fenicsproject.org/tutorial/ and http://hplgit.github.io/INF5620/doc/pub/fenics_tutorial1.1/) ...
3
votes
0answers
51 views

Gmsh for 3D volume with inclusions

In an attempt to create three-dimensional volumes with inclusions in Gmsh I stumble upon a problem which was non-existent in the two-dimensional case. I'm using the OpenCASCADE geometry kernel ...
0
votes
0answers
35 views

convergence rate for the 4node 2d problem

I am running a 4node simulation of a cantilever beam. I calculated the convergence rate for different mesh sizes ( 4x2 8x4 16x8 32x16) and it was 1.7 not 2. what the reasons that might effect the ...
0
votes
0answers
39 views

Finite Element Nodal Point Field Variable Recovery

I am working on a program which takes values computed at the quadrature points from the finite element method and extrapolates them to the nodal points. I am working with a 10 node tetrahedral element ...
-1
votes
1answer
42 views

Finite element convergence rate and possion's ratio

I am running simulations of a cantilever beam where it is fixed on one end and negative force applied to the other end. The first simulation is with 4-node linear quadrilateral elements and the other ...
1
vote
1answer
33 views

Strain from FEM simulations to strain gauge measurements

I am looking for some intuition in making comparisons of FEM simulations to experimental measurements. In particular, I am interested in comparisons to strain gauge readings, and perhaps even LVDTs. ...
1
vote
0answers
29 views

Is it possible to obtain a 'relaxing lengths' for 8 node hexaedral element

I am using 3D FEM with 8-node brick elements to model a certain type of growth/expansion, which is not a plastic deformation. First, I apply a pressure/load and I get displacement and the new position ...
2
votes
0answers
45 views

Why do stabilized formulations for the Navier-Stokes equation maintain the convergence rate for high order polynomial interpolation?

I have a quick questions which has been troubling me lately. When reading the FENICS Finite Element Book they assess various approaches to solver the Stokes equation. Obviously, they discuss the ...
0
votes
0answers
42 views

Finite element method on Poisson boundary condition with Neumann mixed boundary conditions

I am working on the problem $u''(x)=x^2$ with the boundary conditions $u'(0) = u(1)=0$. I want to discretize it and apply the finite element method. I understand how to do this for Dirichlet boundary ...
-1
votes
0answers
11 views

How to draw an ellipse with identified surface area with identified axis ratio

I want to investigate the flow past an elliptical cylinder having different cross sectional area and constant axis ratio and also with different axis ratios and constant cross section area.
1
vote
0answers
78 views

Lower bound for bilinear form in FEM

I'm searching for lower bounds of bilinear forms arising in FEM for elliptic second order PDEs with mixed boundaries. I did some research and found: $$\max_{v_{h}\in\mathcal{V}_h(\mathcal{\Omega})}a(...
0
votes
0answers
22 views

Model transformation of a point cloud based on a differential rule

Suppose I have an arbitrary 3-D point cloud. It can be for instance a regular rectangular mesh, with a fixed average distance between points. Now there is a certain rule to how this point cloud has ...
0
votes
1answer
24 views

FEM 1D poisson substitution integral issue

I'm trying to solve $ \begin{cases} -u''=f \\ u(0)=0 \\ u(1)= \alpha \end{cases} $ with FEM using reference elements and local coordinates. So we have the global ...
1
vote
2answers
112 views

Method to find PDE equation coefficient satisfying mean solution?

What is the best approach to go about solving a PDE problem of the type \begin{equation} k^3\Delta u - k(\mathbf{1}\cdot\nabla u) = 0\, ,\\ u=g\; \text{on}\; \Gamma_D\, ,\\ mean(u) = u_\text{...
3
votes
0answers
61 views

Element Preconditioner

Im just working on a preconditioner for the linear equation system $Ax = b$ arising in FEM for elliptic PDE. $A$ is a s.p.d Matrix with real valued entries. I read something about the element by ...
3
votes
2answers
102 views

Recommended visualization tools for higher order finite element solutions?

Is there any software available which can directly render higher order finite element results? In particular, 3D finite elements would be preferable. It seems gmsh has some capability in this regard ...
2
votes
0answers
25 views

Solving Compressible Euler in Primitive Variables with Galerkin P1 FEM

I have implemented a small compressible Euler solver, discretizing in primitive variables (rho, u, v, p) with standard Galerkin FEM P1 triangular elements, and mixed isotropic and anisotropic/...
-1
votes
1answer
65 views

Relation of Condition of a Matrix and Convergency

Can anybody explain me the relation between the condition of a Matrix and the convergency of a problem. For example how is the relation between the condition of the stiffness Matrix occuring in FEM ...
3
votes
0answers
74 views

$L^2$ norm error estimates of conforming FEM about Poisson’s equation with mixed boundary conditions

Consider Poisson’s equation $$- \Delta u = f{\rm\qquad{ in }}\;\Omega $$ with following mixed boundary cconditions $$u = g{\rm\qquad{ on }}\;\Gamma \subset \partial \Omega $$ $$\frac{{\...
1
vote
1answer
82 views

What is the difference between Abaqus and Calculix contact input?

I would like to say first that am new at using Calculix. I'm using Abaqus/CAE to create a cup deep drawing simulation and everything worked perfectly but my objective is to run the same exact ...
0
votes
1answer
78 views

Penalization parameter for DG with jump penalization

I adapted this FEniCS code for my problem and I'm wondering if there is any good resource about how to choose the penalty parameter $\alpha$? Best case would be, if I can define it through some ...
0
votes
2answers
72 views

Taylor-Hood finite hexahedral elements, pressure diverging

I am developing a FEM fluid solver using the Taylor-Hood algorithm, i.e. quadratic interpolation for velocity, and linear for pressure. I have developed the code for 2-D quadrilaterals and triangles, ...
2
votes
1answer
99 views

Prevent single node spikes in a FEM-simulation (using continuous Galerkin)

I am trying to solve a non-linear time-dependent heat equation $$\partial_tT=\nabla \left(k_T(T)\nabla T\right) + f$$ (similar to question Solving a non-linear heat equation with the galerkin method ...
-1
votes
1answer
84 views

seminorm of solutions of Laplace equation

If $u_1$ and $u_2$ are solutions of (weak-form) Laplace equation on a connected domain $\Omega$, with Dirichlet boundary values $u_{\partial\Omega, 1}$ and $u_{\partial\Omega, 2}$, respectively. If $$...
-1
votes
1answer
77 views

Compute outward normal and surface area for 8 noded brick element in FEA

I have a cube which is divided into 8 small cubes by bisecting each edge, I am trying to find out the surface area of each of the faces and the corresponding outward normals for them. This operation ...
2
votes
0answers
65 views

Which SciPy nonlinear solver when Jacobian is analytically known and sparse?

I have a nonlinear function fun with n inputs and n outputs. I also have a function jac which calculates the Jacobian, which is ...
4
votes
1answer
64 views

Stabilization parameter for an elliptic equation

I simply want to solve the elliptic equation: $$ -\kappa \nabla^2 u + u = f $$ where $f\in [0,1]$. When using continuous Galerkin with Lagrange elements, I have noticed that $\kappa$ has to be greater ...
-1
votes
1answer
71 views

Connectivity matrix in Finite Element Method in Triangular elements

Imagine a simple triangular base mesh in finite element method with an unknown number of elements (varying by the user). How can connectivity matrix be coded to be generated automatically?
1
vote
1answer
119 views

Can a second-order ODE be “inconsistent” with its boundary conditions?

I am trying to solve a set of coupled, nonlinear ODEs. The only dependent variable is a 1-dimensional spatial coordinate, let's call it $x$. For now, I've managed to approximate away some of the ...
1
vote
1answer
128 views

Does a generic method for solving a system of PDEs exist?

There are generic methods for solving systems of ODEs numerically. Are there generic methods for PDEs? If so, what are they? If not, why not? To elaborate... Any set of ODEs can be written in ...
1
vote
1answer
96 views

How is nonlinear flux interface term assembled for Discontinuous Galerkin method for hyperbolic conservation laws?

For example, for 1D Burgers equation $$ u u_x = 0 \\ $$ equivalently, $$ \frac{dF(u)}{dx} = 0\\ F(u)= \frac{u^2}{2} $$ If I want to obtain $A_{ij},i\ne j$ for two DOFs ($U_i$ and $U_j$) of two ...
1
vote
0answers
37 views

How to analyze the dispersion and dissipation of a certain FEM?

In Finite Difference method or Finite volume textbook. Dispersion/Dissipation can be analyzed by set $u = u_0\exp{\omega t +\mathbf{kx}}$。 However, I cannot find something about this kind of analysis ...
3
votes
1answer
98 views

Why Coercivity is so important in FEM framework?

I know Lax-Milgram theorem is fundamental to FEM. But it did not explain what will happen if coercivity is not met. My understanding is if it is met, eigen value of the operator (or its corresponding ...
0
votes
3answers
136 views

Why is the test function space in FEM chosen with homogeneous boundary conditions?

It is so confusing, especially when I learns discontinuous galerkin method in broken Sobolev space and weak Dirichlet boundary condition. If the trial function is chosen with homogeneous boundary ...
3
votes
0answers
43 views

Should I expect computational gains using a second-order splitting method here?

I am trying to solve a three-dimensional baroclinic transport problem. The hydrodynamic (three-dimensional shallow water) equations are: \begin{align} \nabla \cdot \vec{v} = 0, \tag{1} \\ \frac{\...
1
vote
1answer
85 views

A reference request for computational plasticity

My background is in applied mathematics and I'm trying to learn plasticity. I have successfully understood the theory and finite element implementation of: linear elasticity, hyperelasticity (Neo-...
1
vote
0answers
79 views

Basic approach for numerical solution of PDE

I'm looking for some guidance on how to write a program to numerically solve a PDE. As an example for comparison in 1D: $$\frac{d^2u}{dx^2} = f\;\;\;\;u(0) = 0\;\;\;\;u(1) = 0$$ We could try 6 ...
4
votes
2answers
103 views

Analytical testing/quality control for scientific software in professional setting

I am charged with maintaining a buildserver on Teamcity which is meant to test our in house FE software. Currently our test suite consists of a list of benchmarks which run every time a commit is made ...
2
votes
1answer
50 views

Oscillation term in a posteriori error estimator

Assume that in the a (residual type) posteriori error estimator of some PDE is a term of the form $h_T\|g\|_{L^2(\Omega)}$ involved where $h_T$ is the diameter of an element and $g$ is some known data ...
2
votes
1answer
111 views

Influence of node numbering in a FEM problem?

In a FEM mesh, does the order of node numbering in an element has any importance? I'm currently trying to code my own FEM solver, which seems to work fine with quadrilateral elements, however I'm ...
1
vote
0answers
83 views

What is the mathematical and physical principle behind of RBE2 element?

I am writing a 3d linear finite element code to solve the standard linear elasticity equation on a tetrahedron mesh of a gearbox. Notice that, the two rectangular plates above the gearbox are fixed, ...
5
votes
1answer
125 views

How is rigid bodies implemented in finite element codes

I am writing a finite element code for structural analysis, and I want to implement rigid bodies. How is this usually done? Say that I have a square mesh, with one half of the mesh being defined rigid ...
0
votes
1answer
101 views

Parallelization of FEM calculations

I need to conduct some FEM calculations and I am wondering whether parallelization would be a good idea. The trouble is that my model is not especially large so it takes few seconds to solve a single ...
0
votes
0answers
37 views

Simplest meaningful PDE/FEM calculation for mechanical stress due to heat

W have a complicated structure on which we do some FEM calculations regarding electrical potentials and heat distribution. The equations have the form $\nabla\kappa\nabla u = f + g\rvert_{N}$ where $...
2
votes
1answer
100 views

Help debugging finite element solution in nonlinear elasticity

I'm writing some code to solve problems in nonlinear elasticity using finite element methods. I have been following Bathe's book but I am having trouble with some nagging details. My question is ...