Search found 177 matches

by spacedout
21 Mar 2021, 19:22
Forum: General
Topic: ElmerSolver_mpi stuck in a loop
Replies: 17
Views: 4815

Re: ElmerSolver_mpi stuck in a loop

Good day kevinarden I have attached a barebones mesh and program. Download all 3 files in the same folder and execute ElmerGrid 1 2 rect.grd ElmerGrid 2 2 rect -partdual -metiskway 2 elmerf90 volt.F90 -o volt.so mpirun -np 2 ElmerSolver_mpi case.sif within that folder. The program will freeze almost...
by spacedout
20 Mar 2021, 05:37
Forum: General
Topic: ElmerSolver_mpi stuck in a loop
Replies: 17
Views: 4815

Re: ElmerSolver_mpi stuck in a loop

For case.sif, I added Max Output Level = 20 Max Output Partition = 2 in the Simulation section and with its Solver 1 Equation = "potential" Variable = -global Whatever Exported Variable 1 = -global setflag Exec Solver = Always Procedure = "volt" "voltage" End Solver 2 E...
by spacedout
19 Mar 2021, 22:19
Forum: General
Topic: ElmerSolver_mpi stuck in a loop
Replies: 17
Views: 4815

Re: ElmerSolver_mpi stuck in a loop

I did ElmerGrid 2 2 meshdirname -partdual -metiskway 2 and output shows no errors and claims it was successful I can see the 2 partitions under subfolder partitioning.2 of folder meshdirname If case .sif contains something like Header Mesh DB "." "meshdirname/partitioning.2" End ...
by spacedout
19 Mar 2021, 06:04
Forum: General
Topic: ElmerSolver_mpi stuck in a loop
Replies: 17
Views: 4815

ElmerSolver_mpi stuck in a loop

Good morning I think the code is running in an infinite loop when I execute mpirun -np 2 ElmerSolver_mpi case.sif where case.sif contains Solver 1 Equation = "potential" Variable = -global Whatever Exported Variable 1 = -global setflag Exec Solver = Always Procedure = "volt" &quo...
by spacedout
17 Mar 2021, 20:51
Forum: General
Topic: The handling of case.result for aborted jobs
Replies: 8
Views: 2386

Re: The handling of case.result for aborted jobs

No can do: if you write Restart File = "case.result0" you get Could not open file "./merged/case.result0.0" Could not open file "./merged/case.result0.1" Could not open file "./merged/case.result0.2" Could not open file "./merged/case.result0.3" ERRO...
by spacedout
17 Mar 2021, 02:03
Forum: General
Topic: The handling of case.result for aborted jobs
Replies: 8
Views: 2386

Re: The handling of case.result for aborted jobs

Looks like Output File Cycle = 2 works not only for ElmerSolver but also ElmerSolver_mpi. I get case.resultn0 case.resultn1 where n = 0,1,2,3 for 4 processors as well as case.resultn0.pos case.resultn1.pos for binary files But say that between 0 and 1 you have chosen 0. Then you must not forget to r...
by spacedout
15 Mar 2021, 19:15
Forum: General
Topic: The handling of case.result for aborted jobs
Replies: 8
Views: 2386

The handling of case.result for aborted jobs

Good start of the week From what I understand Timestep Intervals(1) = 1000000 Output Intervals(1) = 0 Output File = "case.result" will yield a case.result file after the 1000000th time step However, our computer server facilities in Canada will abort our batch job when a maximum time allot...
by spacedout
12 Mar 2021, 23:35
Forum: General
Topic: Parent elements after executing ElmerGrid's -unite option
Replies: 3
Views: 1367

Re: Parent elements after executing ElmerGrid's -unite option

Hi I just needed the normal to the surface at the boundary for plasma flux purposes but the problem is that ElmerSolver was bombing out at IF (ParentElement % BodyId == 1)THEN ........ after ParentElement => BoundaryElement % BoundaryInfo % Right or ParentElement => BoundaryElement % BoundaryInfo % ...
by spacedout
10 Mar 2021, 19:48
Forum: General
Topic: Parent elements after executing ElmerGrid's -unite option
Replies: 3
Views: 1367

Parent elements after executing ElmerGrid's -unite option

Hello once again I am using the command ElmerGrid 2 2 left -in right -unite -out merged where the mesh.boundary files under both folders left and rights have only one parent: from section A.4 of the Elmer manual pdf, every line in these files is of the form e1 bndry p1 0 type n1 ... nn Unfortunately...
by spacedout
20 Feb 2021, 07:41
Forum: General
Topic: A mesh for each body
Replies: 5
Views: 2729

Re: A mesh for each body

Thanks for the suggestions but for plasma work, the electric field equations are coupled to the fluid flow equations. With two different meshes over the air region I would have to interpolate between them which would defeat the purpose of using already developed open source software like Elmer , Ope...