Segmentation Fault - Heat and Static Current Conduction

Clearly defined bug reports and their fixes
Post Reply
g1zer10z
Posts: 1
Joined: 04 Mar 2020, 00:49
Antispam: Yes

Segmentation Fault - Heat and Static Current Conduction

Post by g1zer10z »

OS: Windows 10
Elmer Version: 8.4

Elmer gives Segmentation Fault error when running both the heat equation and static current conduction modules. We imported the mesh and from running the Static Current Conduction alone provides a good result.

New to this so not sure what file I should attached as the whole folder is too large.

Running both modules give the following command:
ELMER SOLVER (v 8.4) STARTED AT: 2020/03/03 16:55:47
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: 7b58366a, Compiled: 2019-10-04)
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: case.sif
LoadInputFile: Scanning input file: case.sif

LoadInputFile: Loading input file: case.sif
Loading user function library: [HeatSolve]...[HeatSolver_Init0]
Loading user function library: [StatCurrentSolve]...[StatCurrentSolver_Init0]
LoadMesh: Base mesh name: ./.

LoadMesh: Scaling coordinates: 1.000E-02 1.000E-02 1.000E-02

LoadMesh: Elapsed REAL time: 1.3930 (s)

MAIN: -------------------------------------
AddVtuOutputSolverHack: Adding ResultOutputSolver to write VTU output in file: case
Loading user function library: [HeatSolve]...[HeatSolver_Init]
Loading user function library: [HeatSolve]...[HeatSolver_bulk]
Loading user function library: [HeatSolve]...[HeatSolver]
RadiationFactors: ----------------------------------------------------
RadiationFactors: Computing radiation factors for heat transfer
RadiationFactors: ----------------------------------------------------
RadiationFactors: Total number of Radiation Surfaces 14788 of 32282
ERROR:: systemc: Command exit status was 1
RadiationFactors: Message
RadiationFactors: All done time (s) 3.2000E-02
RadiationFactors: ----------------------------------------------------

'ViewFactors' is not recognized as an internal or external command,
operable program or batch file.

OptimizeBandwidth: ---------------------------------------------------------
OptimizeBandwidth: Computing matrix structure for: heat equation...done.
OptimizeBandwidth: Half bandwidth without optimization: 41538
OptimizeBandwidth:

OptimizeBandwidth: Bandwidth Optimization ...done.
OptimizeBandwidth: Half bandwidth after optimization: 5998
OptimizeBandwidth: ---------------------------------------------------------

Loading user function library: [StatCurrentSolve]...[StatCurrentSolver_Init]
Loading user function library: [StatCurrentSolve]...[StatCurrentSolver_bulk]
Loading user function library: [StatCurrentSolve]...[StatCurrentSolver]
OptimizeBandwidth: ---------------------------------------------------------
OptimizeBandwidth: Computing matrix structure for: static current conduction...done.
OptimizeBandwidth: Half bandwidth without optimization: 41538
OptimizeBandwidth:

OptimizeBandwidth: Bandwidth Optimization ...done.
OptimizeBandwidth: Half bandwidth after optimization: 5998
OptimizeBandwidth: ---------------------------------------------------------

Loading user function library: [ResultOutputSolve]...[ResultOutputSolver_Init]
Loading user function library: [ResultOutputSolve]...[ResultOutputSolver_bulk]
Loading user function library: [ResultOutputSolve]...[ResultOutputSolver]
MAIN:
MAIN: -------------------------------------
MAIN: Steady state iteration: 1
MAIN: -------------------------------------
MAIN:
SingleSolver: Attempting to call solver
SingleSolver: Solver Equation string is: heat equation
HeatSolver: Solving the energy equation for temperature

HeatSolve:
HeatSolve:
HeatSolve: -------------------------------------
HeatSolve: TEMPERATURE ITERATION 1
HeatSolve: -------------------------------------
HeatSolve:
HeatSolve: Starting Assembly...
HeatSolve: Assembly:


Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0 ffffffffffffffff

Thank you for your help,
G
Attachments
egproject.xml
(165.76 KiB) Downloaded 291 times
case.sif
(4.22 KiB) Downloaded 327 times
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: Segmentation Fault - Heat and Static Current Conduction

Post by mzenker »

Hi,

this message might give a hint:
ViewFactors' is not recognized as an internal or external command,
operable program or batch file.
I didn't use Viewfactors so far, so I cannot help further...

Matthias
kevinarden
Posts: 2221
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: Segmentation Fault - Heat and Static Current Conduction

Post by kevinarden »

This error can occur when the program does not successfully calculate the view factors for diffused gray. Diffused gray is for radiating heat into another body or cavity. Since you don't specify that the boundary is open, the code assumes an enclosed cavity. If it is open then you have to specify open boundary and specify and external temperature (not temperature, unless you want the boundary to have a specific temperature). If you are trying to radiate heat out of the system then use idealized radiation with external temperature.

A picture of the model and a description of what the analyses is trying to do would help.

Geometry file if the mesh files are too big.
raback
Site Admin
Posts: 4801
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: Segmentation Fault - Heat and Static Current Conduction

Post by raback »

Hi

Perhaps the ViewFactors executable is not in the path? Then it is not found and failure occurs.

-Peter
Post Reply