Search found 2316 matches

by kevinarden
18 Apr 2024, 12:16
Forum: ElmerSolver
Topic: SaveScalars solver in parallel
Replies: 6
Views: 272

Re: SaveScalars solver in parallel

ElmerGrid writes the mesh to a subdirectory
The case file specifies looking for the mesh in the current directory.
I think it can't find the partitioned mesh
by kevinarden
18 Apr 2024, 12:12
Forum: ElmerSolver
Topic: Toy hierarchical problem
Replies: 23
Views: 459

Re: Toy hierarchical problem

I can specify the potential at each end and let Elmer calculate the current density Boundary Condition 1 Target Boundaries(1) = 1 Name = "BoundaryCondition 1" Infinity BC = True Potential = 0 End Boundary Condition 2 Target Boundaries(1) = 2 Name = "BoundaryCondition 2" Potential...
by kevinarden
18 Apr 2024, 11:52
Forum: ElmerSolver
Topic: Toy hierarchical problem
Replies: 23
Views: 459

Re: Toy hierarchical problem

That is a correct way to run it.
You can also use
ElmersSolver case.sif

The potential would depend on the boundary conditions, not sure I have them, may also be the problem in 3D
by kevinarden
17 Apr 2024, 14:29
Forum: ElmerSolver
Topic: Toy hierarchical problem
Replies: 23
Views: 459

Re: Toy hierarchical problem

I was able to work through a 2D case, I will try and extend it to a 3d case.
2dcase.zip
(616.7 KiB) Downloaded 6 times
by kevinarden
16 Apr 2024, 12:13
Forum: ElmerSolver
Topic: Toy hierarchical problem
Replies: 23
Views: 459

Re: Toy hierarchical problem

Regarding your plot along a line. The results data are only at the nodes, so when you do a line through the model the data is close to some nodes but farther away from others. This would impact the plot. Finer mesh would help. You can also build the mesh such that there is a line of nodes along wher...
by kevinarden
16 Apr 2024, 00:18
Forum: General
Topic: FreeCad FEM mesh: boundary, region and group. Which one and when?
Replies: 3
Views: 259

Re: FreeCad FEM mesh: boundary, region and group. Which one and when?

Depending on how the mesh gets saved out of gmsh (all elements or just grouped elements) , elmer makes each group a body, but any solid elements not grouped are sent to the additional group/body of everything not grouped. However, there are flags in gmsh to save all, or just save groups.
by kevinarden
15 Apr 2024, 18:28
Forum: ElmerSolver
Topic: Toy hierarchical problem
Replies: 23
Views: 459

Re: Toy hierarchical problem

https://www.nic.funet.fi/pub/sci/physics/elmer/doc/GetStartedElmer.pdf This document particularly chapter 9.3 on Elmer and gmsh. Basically the volume of the thing wrapped in air has to be cut from the volume representing the air, and the solid representing the thing is included back (fragments in gm...
by kevinarden
15 Apr 2024, 12:49
Forum: ElmerSolver
Topic: Toy hierarchical problem
Replies: 23
Views: 459

Re: Toy hierarchical problem

You use many of the default constants on Elmer and Elmer materials these are in SI units therefore the physical dimensions are to be in meters. Your geometry looked very large so I threw in a scale factor of 0.001, but I do not know if that is correct. Having the wrong dimensions could cause diverge...
by kevinarden
15 Apr 2024, 12:09
Forum: ElmerSolver
Topic: Error using CoilSolver
Replies: 18
Views: 932

Re: Error using CoilSolver

In the manual page 171 there is a solver flag
Desired Coil Current
https://www.nic.funet.fi/pub/sci/physic ... Manual.pdf
So you could take off the body force and use Desired Coil Current
See test case
https://github.com/ElmerCSC/elmerfem/tr ... oilSolver1
by kevinarden
15 Apr 2024, 11:59
Forum: General
Topic: FreeCad FEM mesh: boundary, region and group. Which one and when?
Replies: 3
Views: 259

Re: FreeCad FEM mesh: boundary, region and group. Which one and when?

In 3d groups of solid elements become bodies, groups of plate elements become boundary surfaces. 1D elements are eliminated if you use -autoclean. ElmerGUI uses -autoclean by default.

In 2D models groups of plate elements become bodies, groups of 1D elements become boundaries.