Search found 20 matches
- 23 Aug 2018, 09:17
- Forum: ElmerSolver
- Topic: ElmerGrid: Strongly different number of elements in partition mesh
- Replies: 4
- Views: 3082
Re: ElmerGrid: Strongly different number of elements in partition mesh
Hi, thanks for your fast reply. I've done some tests with different settings. The attached picture (the lower one) shows the number of elements in each parts and the speed up compared to a serial simulation. Because of the nonlinear calculation with many time steps (electrical machine) i summed up a...
- 22 Aug 2018, 12:50
- Forum: ElmerSolver
- Topic: ElmerGrid: Strongly different number of elements in partition mesh
- Replies: 4
- Views: 3082
ElmerGrid: Strongly different number of elements in partition mesh
Hallo, I have a Model (rotating machine) with about 250.000 elements which I want to devide in partitions for mpi calculation. I have boundaries to connect, which can be seen in the attached picture. These boundaries get connected with the parameter "-connect 1 43" with ElmerGrid. With thi...
- 24 Jul 2018, 17:23
- Forum: ElmerSolver
- Topic: User defined subroutines with ANSI C
- Replies: 3
- Views: 2511
Re: User defined subroutines with ANSI C
Thank you altogether. The second method seems very interesting for me. I don`t need the data structure for "Model_t" in my C-library. It should be possible for me to write a wrapper in Fortran
I will test if a get FORTRAN and C together with the compiler/linker.
Best regards
Martin
I will test if a get FORTRAN and C together with the compiler/linker.
Best regards
Martin
- 20 Jul 2018, 16:29
- Forum: ElmerSolver
- Topic: User defined subroutines with ANSI C
- Replies: 3
- Views: 2511
User defined subroutines with ANSI C
Hi,
for more complex functions I want to use the udf's instead of MATC. But I´ve never worked with FORTRAN before. Is there a possibility to use ANSI C for that task?
Best regards
Martin
for more complex functions I want to use the udf's instead of MATC. But I´ve never worked with FORTRAN before. Is there a possibility to use ANSI C for that task?
Best regards
Martin
- 03 Jan 2018, 16:16
- Forum: ElmerSolver
- Topic: Periodic BC instead of mortar for sliding mesh
- Replies: 0
- Views: 3572
Periodic BC instead of mortar for sliding mesh
Hi all, I'm simulating an electrical machine. The results are good but the convergence is very bad with mortar for the sliding mesh ( see http://www.elmerfem.org/forum/viewtopic.php?f=3&t=4652&sid=b5bd00e8eea24233b0e6d6f4528b99d8 ). Often I couldn't get the solver converging. My question: Is...
- 14 Nov 2017, 10:11
- Forum: ElmerSolver
- Topic: Convergence of WhitneyAVHarmonicSolver
- Replies: 5
- Views: 4265
Re: Convergence of WhitneyAVHarmonicSolver
Hi, I tested your code and got an other behavior: There is only one linear iteration with residual 0. ComputeChange: SS (ITER=1) (NRM,RELC): ( 0.0000000 0.0000000 ) :: mgdynamics When opening the resulting vtu file with paraview all values are 0 - even the current density which should be feed by you...
- 12 Sep 2017, 16:52
- Forum: ElmerSolver
- Topic: Sliding mesh for electrical machines (3D) / mortar
- Replies: 5
- Views: 5584
Re: Sliding mesh for electrical machines (3D) / mortar
I got it. My mistake was, that I defined the physical Body indices from the mesh file for torque calculation. To get the correct torque one have to define the Body indices from the "Body" section from the *.sif file. Component 1 Name = string "rotor" Master Bodies(3) = integer 1 ...
- 11 Sep 2017, 15:21
- Forum: ElmerSolver
- Topic: Sliding mesh for electrical machines (3D) / mortar
- Replies: 5
- Views: 5584
Re: Sliding mesh for electrical machines (3D) / mortar
Thank you very much. I`ve tested different iterative solvers. Now I use the same as the test case "RotatingBCMagnetoDynamics2". With that it works! But with additional mortar boundaries (not a full 360° model) Its very hard to get the convergent solution. For the moment I use the full mode...
- 06 Sep 2017, 16:20
- Forum: ElmerSolver
- Topic: Sliding mesh for electrical machines (3D) / mortar
- Replies: 5
- Views: 5584
Re: Sliding mesh for electrical machines (3D) / mortar
Thank you for your reply, Peter. I`ve tried these projectors. With direct solver (UMFPACK) I always get a segmentation fault. With iterative solver (CG) I have to reduce the Linear System Convergence Tolerance (1e-6) to get the calculation convergent. If I don't use the boundary in the airgap (no ro...
- 04 Sep 2017, 16:31
- Forum: ElmerSolver
- Topic: Sliding mesh for electrical machines (3D) / mortar
- Replies: 5
- Views: 5584
Sliding mesh for electrical machines (3D) / mortar
Hi, I`ve got a problem with the sliding/moving mesh for a electrical machine. In my problem I have an outer iron ring with a magnet and air body. For rotation I have a rotating square core with air. All outer boundaries are Vpot=0. bodies.png My sif file: $ p = 1 ! pole pairs $ dangle = 45 ! angle f...