Search found 236 matches

by mika
29 Nov 2023, 15:27
Forum: General
Topic: 1D beam modelling
Replies: 38
Views: 3476

Re: 1D beam modelling

Both these cases are free vibrations and were supposed to vibrate forever with a magnitude of the initial displacement as there was no damping First, it might be good to mention that while this is expected for an analytic solution, computational time integration methods often have numerical damping...
by mika
22 Nov 2023, 13:16
Forum: General
Topic: 1D beam modelling
Replies: 38
Views: 3476

Re: 1D beam modelling

As another test, I now checked that if the initial deflection is such that the displacement component U 2 depends linearly on the coordinate X in the absense of external loads, U 2 at the free end starts to oscillate like this end-u2.png Probably a refined mesh would be needed, so that all eigenmode...
by mika
22 Nov 2023, 11:20
Forum: General
Topic: 1D beam modelling
Replies: 38
Views: 3476

Re: 1D beam modelling

There seems to be a problem that the beam solver has not automatically set the order of time derivatives. Therefore one has needed an explicit command Time Derivative Order = 2 in the sif file. I however updated the code as https://github.com/ElmerCSC/elmerfem/commit/7fe6d9b916d272db36f02019b202aa2c...
by mika
10 Nov 2023, 16:01
Forum: ElmerPost
Topic: Compute or store the CRS matrices
Replies: 11
Views: 1455

Re: Compute or store the CRS matrices

I would like to learn how to extract the CRS matrices You might try to use the ready subroutine SaveLinearSystem contained in the file SolverUtils.F90. For example, you could try to add the following lines to the solver section linear system save = true linear system save slot = assembly so that th...
by mika
11 Sep 2023, 11:05
Forum: Software development
Topic: Edge Element Matrices / Microwave Examples
Replies: 2
Views: 577

Re: Edge Element Matrices / Microwave Examples

A rather simple example of coding a solver which uses H(curl)-conforming finite elements could be https://github.com/ElmerCSC/elmerfem/blob/devel/fem/tests/SecondOrderEdgeElement2D_BCs/EdgeFEInterpolationTest.F90 In a special case (Material Param = Real 0.0) it assembles just the mass matrix. Howeve...
by mika
02 Sep 2023, 11:21
Forum: General
Topic: Boundary conditions [Solved]
Replies: 6
Views: 788

Re: Boundary conditions

in general? This may depend on the type of a boundary condition. Prescribing the value of the primary variable of a solver (a Dirichlet-type constraint) should generally work for 1-dimensional boundaries (provided the Elmer mesh file mesh.boundary contains information about the 1-dimensional bounda...
by mika
16 Aug 2023, 11:10
Forum: ElmerSolver
Topic: Eddy Current Power Unit
Replies: 4
Views: 425

Re: Eddy Current Power Unit

It is the result of integrating the energy density over volume and thus expressed in watts (W).

-- Mika
by mika
05 Jul 2023, 12:07
Forum: General
Topic: Simulation of Metallic Sphere in Uniform Magnetic Field
Replies: 27
Views: 1920

Re: Simulation of Metallic Sphere in Uniform Magnetic Field

I'm wondering if we can create a desired magnetic field, given the formula for B (Bx, By, Bz) for all x, y, z, using only the boundary conditions A mathematical feature of the vector potential formulation is that a vector potential producing the desired B as B = curl A is not unique (if A is a suit...
by mika
16 Jun 2023, 10:45
Forum: ElmerSolver
Topic: Anisotropic non linear BH curve
Replies: 15
Views: 2550

Re: Anisotropic non linear BH curve

As additional info, a second-order nodal mesh (10-node tetrahedra, 13-node pyramids, 15-node prisms, or 20/27-node bricks) should also work as a background mesh, together with "Quadratic Approximation = True" in the solver section. The second-order curl-conforming basis in principle needs ...
by mika
15 Jun 2023, 18:33
Forum: ElmerSolver
Topic: Anisotropic non linear BH curve
Replies: 15
Views: 2550

Re: Anisotropic non linear BH curve

When curl-conforming basis functions are applied, there is no need to call ElmerGrid with -increase flag. Instead try with the lowest-order nodal mesh as a background mesh and add Quadratic Approximation = True to the solver section.

-- Mika