Run the sif file by ElmerGui Windows

General discussion about Elmer
Post Reply
Daga1991
Posts: 4
Joined: 17 May 2020, 13:54
Antispam: Yes

Run the sif file by ElmerGui Windows

Post by Daga1991 »

Hi, I have a problem can anyone help.
I use Windows and I have ElmerGui installed. I'm trying to run a .sif file, unfortunately I can't open it.
I used the hints on the forum, however, a message like the bottom appears.

C:\Users\Admin\Desktop\1f_silnik>elmersolver
ELMER SOLVER (v 8.4) STARTED AT: 2020/05/17 12:50:29
ParCommInit: Initialize #PEs: 1
MAIN:
MAIN: =============================================================
MAIN: ElmerSolver finite element software, Welcome!
MAIN: This program is free software licensed under (L)GPL
MAIN: Copyright 1st April 1995 - , CSC - IT Center for Science Ltd.
MAIN: Webpage http://www.csc.fi/elmer, Email elmeradm@csc.fi
MAIN: Version: 8.4 (Rev: Release, Compiled: 2020-04-08)
MAIN: Running one task without MPI parallelization.
MAIN: Running with just one thread per task.
MAIN: Lua interpreted linked in.
MAIN: =============================================================
ERROR:: ElmerSolver: Unable to find ELMERSOLVER_STARTINFO, can not execute.
STOP 1

When I try to run the file by run
ElmerGui model.sif
runs only empty ElmerGui

Thank you for your help
kevinarden
Posts: 1230
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: Run the sif file by ElmerGui Windows

Post by kevinarden »

you don't have a
ELMERSOLVER_STARTINFO file
the ELMERSOLVER_STARTINFO
lists the sif file to run, in ElmerGUI you have to save project to get one prior to running
from the command line you can execute a sif by typing
ElmerSolver mycase.sif

without having a ELMERSOLVER_STARTINFO file
Daga1991
Posts: 4
Joined: 17 May 2020, 13:54
Antispam: Yes

Re: Run the sif file by ElmerGui Windows

Post by Daga1991 »

After trying to run ElmerSolver mycase.sif shows the same

C:\Users\Admin\Desktop\1f_silnik>ElmerSolver mycase.sif
ELMER SOLVER (v 8.4) STARTED AT: 2020/05/17 14:58:46
ParCommInit: Initialize #PEs: 1
MAIN:
MAIN: =============================================================
MAIN: ElmerSolver finite element software, Welcome!
MAIN: This program is free software licensed under (L)GPL
MAIN: Copyright 1st April 1995 - , CSC - IT Center for Science Ltd.
MAIN: Webpage http://www.csc.fi/elmer, Email elmeradm@csc.fi
MAIN: Version: 8.4 (Rev: Release, Compiled: 2020-04-08)
MAIN: Running one task without MPI parallelization.
MAIN: Running with just one thread per task.
MAIN: Lua interpreted linked in.
MAIN: =============================================================
MAIN:
MAIN:
MAIN: -------------------------------------
MAIN: Reading Model: mycase.sif
ERROR:: ElmerSolver: Unable to find input file [mycase.sif], can not execute.
STOP 1
raback
Site Admin
Posts: 4189
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: Run the sif file by ElmerGui Windows

Post by raback »

Hi

Just a wild guess: Windows has added .txt as suffix to the sif file?

-Peter
Daga1991
Posts: 4
Joined: 17 May 2020, 13:54
Antispam: Yes

Re: Run the sif file by ElmerGui Windows

Post by Daga1991 »

Everything is working now;)
I am trying to use Elmer to simulate a single-phase motor with an auxiliary condenser winding
tryphena
Posts: 35
Joined: 16 Apr 2021, 17:38
Antispam: Yes

Re: Run the sif file by ElmerGui Windows

Post by tryphena »

Hello Daga1991,
Could you please let me know how you work it out? Thank you!

Daga1991 wrote: 31 May 2020, 20:26 Everything is working now;)
I am trying to use Elmer to simulate a single-phase motor with an auxiliary condenser winding
annier
Posts: 1151
Joined: 27 Aug 2013, 13:51
Antispam: Yes

Re: Run the sif file by ElmerGui Windows

Post by annier »

Can you please paste the message given by the ElmerSolver ?
The path of the solver input file must be defined to the ElmerSolver for the solve to run perfectly.
Anil Kunwar
Faculty of Mechanical Engineering, Silesian University of Technology, Gliwice
Post Reply