errors when running solver

Numerical methods and mathematical models of Elmer
yuanxun
Posts: 17
Joined: 20 Feb 2019, 14:04
Antispam: Yes

errors when running solver

Post by yuanxun »

Hi,

I've made a mesh by salome.And there're some errors when started to run in ElmerGUI.
1 systemc: Command exit status was 1
RadiationFactors: Message
RadiationFactors: All done time (s) 6.7000E-02
2 ElementMetric: Degenerate 3D element: 68998
ElementMetric: Body Id: 4 DetG: -2.384E-07
ElementMetric: Node: 1 Coord: 6.664E+01 1.540E+02 1.778E+03
ElementMetric: Node: 2 Coord: 3.331E+01 1.360E+02 1.754E+03
ElementMetric: Node: 3 Coord: 6.664E+01 1.360E+02 1.778E+03
ElementMetric: Node: 4 Coord: 3.331E+01 1.540E+02 1.754E+03
ElementMetric: Node: 2 dCoord: -3.333E+01 -1.800E+01 -2.400E+01
ElementMetric: Node: 3 dCoord: -1.000E-04 -1.800E+01 0.000E+00
ElementMetric: Node: 4 dCoord: -3.333E+01 0.000E+00 -2.400E+01
3 ElementMetric: Degenerate 3D element: 71407
Body Id: 2 DetG: -1.039E-07
ElementMetric: Node: 1 Coord: 4.667E+02 2.440E+02 4.685E+03
ElementMetric: Node: 2 Coord: 4.667E+02 2.690E+02 4.685E+03
ElementMetric: Node: 3 Coord: 4.334E+02 2.690E+02 4.661E+03
ElementMetric: Node: 4 Coord: 4.334E+02 2.440E+02 4.661E+03
ElementMetric: Node: 2 dCoord: 1.000E-03 2.500E+01 0.000E+00
ElementMetric: Node: 3 dCoord: -3.333E+01 2.500E+01 -2.456E+01
ElementMetric: Node: 4 dCoord: -3.333E+01 0.000E+00 -2.456E+01
Now I have no idea about what happened,thanks a lot.
Here's Solver file in GUI:
Attachments
solver.txt
(19.7 KiB) Downloaded 228 times
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: errors when running solver

Post by mzenker »

Hi,

your mesh has a problem, there are degenerated elements in it.
Try to make a slightly coarser mesh and rerun the simulation.

HTH,
Matthias
yuanxun
Posts: 17
Joined: 20 Feb 2019, 14:04
Antispam: Yes

Re: errors when running solver

Post by yuanxun »

Hi,
Thank you,I'll remake it!
Wish it works this time!

Yuan
yuanxun
Posts: 17
Joined: 20 Feb 2019, 14:04
Antispam: Yes

Re: errors when running solver

Post by yuanxun »

Hi,Matthias

I've made some of new mesh with lager size but,the error still happen.
The biggest part of model is 500 and the smallest part is just 10.I'm wondering if it is the key of this question?
Here is the UNV file of the newest mesh(It's a model of a part of a building so exactly become heavy).
Thanks for your kind help.

Yuan
Attachments
te2.zip
(656.14 KiB) Downloaded 252 times
kevinarden
Posts: 2237
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: errors when running solver

Post by kevinarden »

That is a lot of materials. I took the model posted and did this it ran fine as one material. Perhaps it is in the material definitions. Perhaps post your sif file
case.sif
(3.08 KiB) Downloaded 311 times
yuanxun
Posts: 17
Joined: 20 Feb 2019, 14:04
Antispam: Yes

Re: errors when running solver

Post by yuanxun »

Oh I'm sorry that I loaded the wrong mesh.
But it still doesn't work,maybe there's something wrong with boundary condition?I was supposed to making a thermal convection and radiation surface.
It became like this:

Code: Select all

ELMER SOLVER (v 8.3) STARTED AT: 2019/02/21 17:52:51
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.3 (Rev: 432ee0dd, Compiled: 2018-12-18)
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]
LoadMesh: Base mesh name: ./.

LoadMesh: Elapsed REAL time:     0.3560 (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     3193 of    15664

ERROR:: systemc: Command exit status was 1
RadiationFactors: Message
RadiationFactors: All done time (s)                      1.3400E-01
RadiationFactors: ----------------------------------------------------

'ViewFactors' ²»ÊÇÄÚ²¿»òÍⲿÃüÁҲ²»ÊÇ¿ÉÔËÐеijÌÐò
»òÅú´¦ÀíÎļþ¡£

OptimizeBandwidth: ---------------------------------------------------------
OptimizeBandwidth: Computing matrix structure for: heat equation...done.
OptimizeBandwidth: Half bandwidth without optimization: 6581
OptimizeBandwidth: 
OptimizeBandwidth: Bandwidth Optimization ...done.
OptimizeBandwidth: Half bandwidth after optimization: 146
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
Attachments
case.sif
(4.55 KiB) Downloaded 234 times
kevinarden
Posts: 2237
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: errors when running solver

Post by kevinarden »

I will study the sif, but I turned on a radiation boundary and it still worked.
radiate.png
(68.09 KiB) Not downloaded yet
case.sif
(3.23 KiB) Downloaded 325 times
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: errors when running solver

Post by mzenker »

yuanxun wrote: 21 Feb 2019, 13:01 But it still doesn't work,maybe there's something wrong with boundary condition?I was supposed to making a thermal convection and radiation surface.
(...)
Your materials don't have a heat capacity. I would suspect this as reason for the crash.

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

Re: errors when running solver

Post by kevinarden »

I took your sif file and ran it with the mesh you posted and got this result
although there were some errors in the log
radiate.png
(63.83 KiB) Not downloaded yet
kevinarden
Posts: 2237
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: errors when running solver

Post by kevinarden »

I was mistaken on the errors your case.sif with your mesh ran fine attached is the solver log
log.txt
(7.02 KiB) Downloaded 320 times
Post Reply