Search found 103 matches

by spacedout
22 Jan 2021, 06:18
Forum: General
Topic: How to save data on disk at given time
Replies: 3
Views: 781

How to save data on disk at given time

Hi Because my time step can change all the time, I cannot rely on time step and output intervals. I want to be able save my field variables in say .vtu format for display by Paraview , at specified time values say units of seconds. I dont know if ElmerSolver can handle that. It seems to me it will o...
by spacedout
30 Dec 2020, 19:47
Forum: General
Topic: Calling a solver from another solver
Replies: 2
Views: 1187

Re: Calling a solver from another solver

Fantastic ! Up to now, I was reading the outdated Elmer documentation from last April. Armed with this November documentation, I believe I can now make real progress.
by spacedout
30 Dec 2020, 06:09
Forum: General
Topic: Calling a solver from another solver
Replies: 2
Views: 1187

Calling a solver from another solver

Good evening to all Elmer users I am using AdvectionDiffusionSolver where the source Si from eqn 3.2 of the Elmer Models manual is of the form a * abs( v * Ci + Di * grad(Ci) ) - b * Ci * Cj where a, b are arbitrary fixed constants and Ci , Di , v are from eqn 3.2 and Cj is the concentration of a di...
by spacedout
30 Dec 2020, 04:20
Forum: General
Topic: Mesh keyword in solver section ?
Replies: 3
Views: 919

Re: Mesh keyword in solver section ?

Makes sense. Not that I need it now but one never knows when it may come in handy in the future. Thanks
by spacedout
29 Dec 2020, 19:50
Forum: General
Topic: Mesh keyword in solver section ?
Replies: 3
Views: 919

Mesh keyword in solver section ?

Hi The last line under the Header section (2.2 of the structure of the .sif) in the Elmer Solver manual pdf states: "Note that separate equations can nevertheless be discretized using different meshes if the location of mesh files is given in the solver section described below." Just curio...
by spacedout
27 Dec 2020, 06:12
Forum: ElmerSolver
Topic: Instability dependent on linux environment
Replies: 3
Views: 1149

Re: Instability dependent on linux environment

My apologies but it was a false alarm. I had not run my program long enough in the old environment. I now realize that I eventually get a floating point exception due to the same numerical instability in solving a linear system Ax=b iteratively using the biconjugate gradient stabilized method. On th...
by spacedout
22 Dec 2020, 23:35
Forum: ElmerSolver
Topic: Instability dependent on linux environment
Replies: 3
Views: 1149

Instability dependent on linux environment

Hello everybody I get a numerical instability that leads to a floating point exception in AdvectionDiffusionSolver using Linear System Solver = Iterative Linear System Iterative Method = BiCGStab in the Solver section of the .sif when I compiled Elmer using gcccore/.10.2.0 gcc/10.2.0 This did not ar...
by spacedout
22 Dec 2020, 20:20
Forum: General
Topic: Segmentation fault with OpenMP
Replies: 1
Views: 570

Re: Segmentation fault with OpenMP

I realize that the answer to this problem might require a thorough understanding of the OpenMP documentation and maybe even its code in order to figure out exactly what those !$omp directives actually do. But by trial and error, I think I found a potential fix! I replaced the call to Test() by its b...
by spacedout
21 Dec 2020, 19:36
Forum: General
Topic: Segmentation fault with OpenMP
Replies: 1
Views: 570

Segmentation fault with OpenMP

Hi to all Of course one needs to have compiled Elmer with the option -DWITH_OpenMP:BOOL=TRUE in the cmake to experience this problem. I added a call to a new subroutine Test() inside the body of BulkAssembly() of StatElecSolver between !$omp parallel shared(Solver, Model, dim, at0, & !$omp Permi...
by spacedout
17 Dec 2020, 01:04
Forum: Installation & compilation
Topic: Unsuccessful install with mpi
Replies: 11
Views: 3195

Re: Unsuccessful install with mpi

That was so simple !

creating the install subfolder with mkdir install before running the cmake and make install commands also worked for me.

Greatest Thanks !