TemperateIceSolver Model Input Error

Numerical methods and mathematical models of Elmer
Post Reply
denis.cohen
Posts: 56
Joined: 15 Dec 2010, 13:50

TemperateIceSolver Model Input Error

Post by denis.cohen »

Hello,

Trying to run the TemperateIceSolver I get the following error:

Code: Select all

ELMER SOLVER (v 6.2) STARTED AT: 2012/05/18 13:56:43
MAIN: 
MAIN: =============================================================
MAIN: ElmerSolver finite element software, Welcome!
MAIN: This program is free software; you can redistribute it and/or
MAIN: modify it under the terms of the GNU General Public License
MAIN: Copyright 1st April 1995 - , CSC - IT Center for Science Ltd.
MAIN: Webpage http://www.csc.fi/elmer, Email elmeradm@csc.fi
MAIN: Library version: 6.2 (Rev: 5561)
MAIN: =============================================================
MAIN: 
MAIN: 
MAIN: -----------------------
MAIN: Reading Model ...
ERROR:: Model Input: 
ERROR:: Model Input:  Unknown specifier: []
ERROR:: Model Input:  In section: [material 1]
ERROR:: Model Input:  For property name:[temp heat capacity]
The file TemperateIceSolver.f90 compiled fine with elmerf90 (obtained from trunk version 5705).

Here is excerpt from sif file (which I copied from the wiki page) :

Code: Select all

Solver 3
!------------------------------------------
! Heat equation
!------------------------------------------
  Exec Solver = "Always"
  Equation = String "Homologous Temperature Equation"
  Procedure =  File "/home/dcohen/apps/elmer/applications/bin/TemperateIce.exe" "TemperateIceSolver"
  !------------------------------------------------------------
  ! Comment next line in parallel, as EliminateDirichlet does
  ! not work in parallel
  !------------------------------------------------------------
  Before Linsolve = "EliminateDirichlet" "EliminateDirichlet"
  Variable = String "Temp"
  Variable DOFs = 1

  Stabilize = Logical True
  Bubbles = Logical True
  Optimize Bandwidth = True
  Steady State Convergence Tolerance = 1.0e-05

  Linear System Solver = "Iterative"
  Linear System Iterative Method = "BiCGStab"
  Linear System Max Iterations = 500
  Linear System Convergence Tolerance = 1.0E-07
  Linear System Preconditioning = "ILU0"
  Linear System Abort Not Converged = True
  Linear System Residual Output = 1
.
.
.
Any help appreciated.
Thanks
Denis
gagliar
Posts: 80
Joined: 04 Sep 2009, 16:34
Location: LGGE - Grenoble
Contact:

Re: TemperateIceSolver Model Input Error

Post by gagliar »

Hi Denis,

The problem is in the Material part of the sif file.

Seems that "temp heat capacity" is not well defined (may be it is just a Real missing before the value ?

regards
Olivier
denis.cohen
Posts: 56
Joined: 15 Dec 2010, 13:50

Re: TemperateIceSolver Model Input Error

Post by denis.cohen »

Hello,
here is my material section (copied from TemperateIceSolver on the wiki page):

Code: Select all

Material 1

  Density = Real 917.

  !-----------------------------------------------------------
  ! the heat capacity as a MATC function of temperature itself
  !-----------------------------------------------------------
  !Heat Capacity = Real 2100.0
  Temp Heat Capacity = Variable Temp
     !Real MATC "capacity(tx)*1.0E06*(31556926.0)"
     Real MATC "capacity(tx)"

  !--------------------------------------------------------------
  ! the heat conductivity as a MATC function of temperature itself
  !--------------------------------------------------------------
  !Heat Conductivity = Real 2.075
  Temp Heat Conductivity = Variable Temp
     Real MATC "conductivity(tx)"

  !-------------------------------------------------
  ! Upper limit - pressure melting point
  !  as a MATC function of the pressure (what else?)
  !-------------------------------------------------
  Temp Upper Limit = Variable Depth
     Real MATC "pressuremeltingpoint2(tx)"

  !--------------------------------
  ! lower limit (to be save) as 0 K
  !--------------------------------
  Temp Lower Limit = Real 0.0
This is the same as the wiki page so I don't get it.

Thanks for any help
raback
Site Admin
Posts: 4832
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: TemperateIceSolver Model Input Error

Post by raback »

Hi Denis

I think that you can't have comment within a continuous expression. The "Variable ..." prepares the parser to read the type of dependency and you give a comment...

-Peter
denis.cohen
Posts: 56
Joined: 15 Dec 2010, 13:50

Re: TemperateIceSolver Model Input Error

Post by denis.cohen »

Hello Peter,

Indeed, comments not allowed inside continuous expression
Thanks

Denis
Post Reply