Search found 4823 matches

by raback
Today, 02:12
Forum: ElmerSolver
Topic: MgDyn2D and high-order element
Replies: 7
Views: 133

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
Today, 02:03
Forum: ElmerSolver
Topic: PMSM Simulation Symmetric vs Full Model
Replies: 8
Views: 852

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: 15
Views: 177

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: 149

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: 5
Views: 114

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: 202

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: 149

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: 83

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...
by raback
03 Apr 2024, 02:38
Forum: ElmerSolver
Topic: How to get H20 and H27?
Replies: 15
Views: 202

Re: How to get H20 and H27?

Hi 827 has probably not been used as much as 820. The ordering of the 20 nodes is the same, then then 6 face nodes are ordered in the order of the faces, and the last index is given for the center node. Also 409 is different from 408 just by the last center node. I think 827 in the logic requires so...
by raback
03 Apr 2024, 02:14
Forum: ElmerSolver
Topic: Solver connections question
Replies: 5
Views: 114

Re: Solver connections question

Maybe you could be more specific what you want to compute. Devil lies in the detail. -Peter