Search found 25 matches

by Estiivan
30 Dec 2016, 10:31
Forum: External tools
Topic: Problem with loading GMSH generated mesh to ElmerGUI
Replies: 1
Views: 1488

Re: Problem with loading GMSH generated mesh to ElmerGUI

Hello all,

problem went away by using command 'ElmerGrid 14 2 name.msh'. So I guess GMSH meshes have to be transformed to Elmer format first (although some tutorial suggested that this might not be necessary).

BR,
Estiivan
by Estiivan
29 Dec 2016, 17:02
Forum: ElmerSolver
Topic: Simple UDF question
Replies: 3
Views: 919

Re: Simple UDF question

Hi annier!

Any suggestions to which block I should place my

Code: Select all

Real Procedure "MyLibrary_ver2" "MyFunctionVer2"
call to my function? As this is not exactly material or BC function, I think.

With regards,
Estiivan
by Estiivan
29 Dec 2016, 13:08
Forum: External tools
Topic: Problem with loading GMSH generated mesh to ElmerGUI
Replies: 1
Views: 1488

Problem with loading GMSH generated mesh to ElmerGUI

Hello, I have a very simple square geometry defined in GMSH as //+ Point(1) = {-3, 3, 0, 1.0}; //+ Point(2) = {-3, -3, 0, 1.0}; //+ Point(3) = {3, -3, 0, 1.0}; //+ Point(4) = {3, 3, 0, 1.0}; //+ Line(1) = {1, 2}; //+ Line(2) = {2, 3}; //+ Line(3) = {3, 4}; //+ Line(4) = {4, 1}; //+ Line Loop(5) = {1...
by Estiivan
21 Dec 2016, 18:53
Forum: ElmerSolver
Topic: Simple UDF question
Replies: 3
Views: 919

Simple UDF question

I have a file called MyLibrary_ver2.f90 (edited from some tutorial): FUNCTION MyFunctionVer2() USE DefUtils TYPE(Model_t) :: Model print *, 'Hei Solverilta' END FUNCTION MyFunctionVer2 Then I gave a command elmerf90 -o MyLibrary_ver2.so MyLibrary_ver2.f90 and a file called MyLibrary_ver2.so was crea...
by Estiivan
20 Dec 2016, 18:27
Forum: ElmerSolver
Topic: Is there a way to set up path for Fortran compiler?
Replies: 6
Views: 3062

Re: Is there a way to set up path for Fortran compiler?

I have used launcpad for installing Elmer and it seems to work, ElmerGUI starts and seems to work (tried geoslab.grd). So I guess there is nothing wrong with Elmer installation. Or should gfortran have come installed at the same time? I installed gfortran-6 but I guess it is not right version: $elme...
by Estiivan
20 Dec 2016, 16:47
Forum: ElmerSolver
Topic: Is there a way to set up path for Fortran compiler?
Replies: 6
Views: 3062

Re: Is there a way to set up path for Fortran compiler?

Hello all, $elmerf90 --version /usr/bin/x86_64-linux-gnu-gfortran --version -DCONTIG=,CONTIGUOUS -DHAVE_EXECUTECOMMANDLINE -DUSE_ISO_C_BINDINGS -DUSE_ARPACK -O3 -fPIC -shared -I/usr/share/elmersolver/include -L/usr/share/elmersolver/../../lib/elmersolver -shared -lelmersolver /usr/bin/elmerf90: 25: ...
by Estiivan
16 Dec 2016, 11:48
Forum: ElmerSolver
Topic: Is there a way to set up path for Fortran compiler?
Replies: 6
Views: 3062

Is there a way to set up path for Fortran compiler?

I have a user defined function that I'd like to compile with command $ elmerf90 -o MyLibrary.so MyLibrary.f90 but it seems that elmersolver does not found Fortran compiler: /usr/bin/x86_64-linux-gnu-gfortran -o MyLibrary.so MyLibrary.f90 -DCONTIG=,CONTIGUOUS -DHAVE_EXECUTECOMMANDLINE -DUSE_ISO_C_BIN...
by Estiivan
05 Dec 2016, 18:58
Forum: ElmerGUI
Topic: About first ElmerGUI tutorial example
Replies: 1
Views: 2250

About first ElmerGUI tutorial example

I get somewhat different result than given for first ElmerGUI tutorial example. Are my solver settings as should? My solver settings: solver_setup.jpeg Convergence history looks like it jumps up and down while in tutorial it is a nice smooth curve. My convergence history: convergence_history.jpeg Re...
by Estiivan
05 Dec 2016, 18:17
Forum: Installation & compilation
Topic: About launch pad installation for totally clean Ubuntu
Replies: 6
Views: 2325

Re: About launch pad installation for totally clean Ubuntu

Hello Annier, Seems to work now (at least solver starts and does something). I uncommented export lines .bashrc #export ELMER_HOME=$HOME/elmer/install/ #export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ELMER_HOME/lib #export PATH=$PATH:$ELMER_HOME/bin and now ElmerGUI seems to work. I added those export lin...
by Estiivan
05 Dec 2016, 17:24
Forum: Installation & compilation
Topic: About launch pad installation for totally clean Ubuntu
Replies: 6
Views: 2325

Re: About launch pad installation for totally clean Ubuntu

Thanx Annier, samples seemed to be under /usr/share/ElmerGUI/samples/grd. So I was quite positive that now everything would work but still first example of tutorial fails when I hit solver button: ELMER SOLVER (v 8.2) STARTED AT: 2016/12/05 16:07:24 ParCommInit: Initialize #PEs: 1 MAIN: MAIN: ======...