Search found 4825 matches

by raback
Today, 17:25
Forum: ElmerSolver
Topic: Toy hierarchical problem
Replies: 22
Views: 208

Re: Toy hierarchical problem

Hi, In electromagnetics some fields are really discontinuous so when you try to project them to nodes violence may be performed if there is a jump in material parameter values. That's why options are given to either create a nodal, cell, or discontinuous galerkin type of field. All have their merits...
by raback
Today, 17:15
Forum: General
Topic: Coupled Fluid-Structure Eigen Analysis
Replies: 18
Views: 205

Re: Coupled Fluid-Structure Eigen Analysis

Hi Interesting discussions here. I am travelling so cannot spent time on this now. However, I can confirm that some real-world benchmarks have been solved a few years ago. These test cases are reflections of that work which itself was not made public. There should be clear effect of density. So that...
by raback
16 Apr 2024, 02:12
Forum: ElmerSolver
Topic: MgDyn2D and high-order element
Replies: 7
Views: 139

Re: MgDyn2D and high-order element

Hi, Paraview (VTU files) can only understand nodal data and cell data. When you have discontinous field that has different values at each node which one to use? The default is to use cell data which only can be constant within each element. If you want discontinous and not constant you have to repli...
by raback
16 Apr 2024, 02:03
Forum: ElmerSolver
Topic: PMSM Simulation Symmetric vs Full Model
Replies: 8
Views: 861

Re: PMSM Simulation Symmetric vs Full Model

Hi Felix, The factor 1/3 comes simply from the fact that Elmer reports the torque of the mesh you see. So if you model 1/3 of the machine you will also get 1/3 of the results. I know there might be different conventions here. Ultimately this goes back to the history how it was first implemented. We ...
by raback
09 Apr 2024, 12:38
Forum: General
Topic: Coupled Fluid-Structure Eigen Analysis
Replies: 18
Views: 205

Re: Coupled Fluid-Structure Eigen Analysis

Hi

Did you look at test case ShoeboxFsiEigen2D? Just needs 3 instead of 2 dofs for displacement.

-Peter
by raback
04 Apr 2024, 22:07
Forum: General
Topic: Unexpected value for 'n' in UDF
Replies: 10
Views: 150

Re: Unexpected value for 'n' in UDF

Hi, I think there indeed is a "LIST_TYPE_CONSTANT_SCALAR_PROC" API for UDF (Lists.F90 line 5401) as opposed to "LIST_TYPE_VARIABLE_SCALAR" that is usually used. But I think that the parameters it expects are x, y, z coordinates - not the node number. Almost all UDF's floating aro...
by raback
04 Apr 2024, 16:09
Forum: ElmerSolver
Topic: Solver connections question
Replies: 6
Views: 128

Re: Solver connections question

Hi drmike, You might take use of the "DataToFieldSolver". Also the particle machinery has internal operation that also does sharing of particle properties to the nodes. The DataToFieldSolver allows solution by FEM and therefore you can add diffusion etc. for a smoother field. The particle ...
by raback
04 Apr 2024, 16:01
Forum: ElmerSolver
Topic: How to get H20 and H27?
Replies: 15
Views: 210

Re: How to get H20 and H27?

Thanx! I added the fix to "devel" branch. -Peter
by raback
04 Apr 2024, 15:54
Forum: General
Topic: Unexpected value for 'n' in UDF
Replies: 10
Views: 150

Re: Unexpected value for 'n' in UDF

Hi

Could you give pointer to "ELMER guide to FRM". I haven't seen such a book.

I'm pretty sure the function API works ok. Probably there is something wrong how it is called. But hard to say without seeing the actual code.

-Peter
by raback
04 Apr 2024, 15:47
Forum: ElmerSolver
Topic: Steady state convergence tolerance
Replies: 5
Views: 84

Re: Steady state convergence tolerance

Hi Roland, The convergence criterion is |u_i - u_j| < c*(|u_i|+|u_j|)/2, where c is the tolerance. For nonlinear system j refers to previous nonlinear iterate. For coupled system j refers to the solution of the previous time the coupled system visited the solver. Generally it may be a good idea that...