error: structure has no member 'filename'

Submitted by hfz.amani.org on Mon, 09/19/2016 - 21:23

Dear all,

Can any body help me to fix this error please?
It comes up when I run ./Allrun_convective in nonCatalyticHeterogeneousReaction case.

Thank you in advance.
Hfz
_______________________________________________________________________________________________
ParScale (Version: master-1.1.1-beta, compiled 2016-09-19-21:40:59 by hfz)

ParScale is processing your input...

particleMesh initialized with 18 grid points
[Process 0/1] CouplingModel with name none initialized.

...coupling model none (ID: 0) is registered with name none

[Process 0/1] Model with name speciesADiffusivity initialized.

...this model is registered with ID 0
Assuming constant model for speciesADiffusivity with default value of: 0.0002
[Process 0/1] Model with name speciesATransferCoeff initialized.

...this model is registered with ID 1
Assuming constant model for speciesATransferCoeff with default value of: 10
[Process 0/1] Model with name speciesAPhaseFraction initialized.

...this model is registered with ID 2
Assuming constant model for speciesAPhaseFraction with default value of: 0.5
[Process 0/1] Model with name speciesATortuosity initialized.

...this model is registered with ID 3
Assuming constant model for speciesATortuosity with default value of: 1
[Process 0/1] Model with name speciesSolidDiffusivity initialized.

...this model is registered with ID 4
Assuming constant model for speciesSolidDiffusivity with default value of: 0
[Process 0/1] Model with name speciesSolidTransferCoeff initialized.

...this model is registered with ID 5
Assuming constant model for speciesSolidTransferCoeff with default value of: 0
[Process 0/1] Model with name speciesA initialized.

...this species transport Eqn of type 1DSpherical is registered with ID 0
found diffusivity in model speciesADiffusivity
with value: 0.0002
found heat/mass transfer coefficient in model speciesATransferCoeff
with value: 10
found phaseFraction in model speciesAPhaseFraction
with value: 0.5
found tortuosity in model speciesATortuosity
with value: 1
Boundary condition 1 defined for BC0.
Boundary condition 2 defined for BC1.
IntegratorCvode will use 'CVDiag' as linear solver.
IntegratorCvode successfully initialized with 19 grid points
*********ModelEqn initialized*****************

[Process 0/1] Model with name speciesSolid initialized.

...this species transport Eqn of type 1DSpherical is registered with ID 1
found phaseFraction in model speciesAPhaseFraction
with value: 0.5
found diffusivity in model speciesSolidDiffusivity
with value: 0
found heat/mass transfer coefficient in model speciesSolidTransferCoeff
with value: 0
Boundary condition 1 defined for BC0.
Boundary condition 2 defined for BC1.
IntegratorCvode will use 'CVDiag' as linear solver.
IntegratorCvode successfully initialized with 19 grid points
*********ModelEqn initialized*****************

[Process 0/1] Model with name myChem initialized.

...this chemistry model of type SingleReaction is registered with ID 0
********ModelChemistry::WARNING: you do not have a heat equation.
********Can only run in iso-thermal mode for ALL involved particles!

*** ChemistryReactionSingle - Status ***
reversible: 0, temperature_dependend: 1, elementary_reaction_: 0, involved species: 2
Arrhenius-Props: A_i: 2000, beta: 0, E_i: 0
* reactant: A,
order : 1,
stoichm.: -0.5,

* reactant: Solid,
order : 0,
stoichm.: -1,

*** ChemistryReactionSingle - Status ***

*** ChemistryGrainModel - Status ***

type : none
cSolidInit: 1
solidID : 1

*** ChemistryGrainModel - Status ***

[Process 0/1] : initalizig ParScale...

[Process 0/1] *******************************************

[Process 0/1] Will initialize individual components of Pascal now...

ParticleData: scanning 2 ModelEqns in modelEqnContainer() for phase information.
Yor are looking at a 1 model eqn, if species is in phase 1!
Yor are looking at a 1 model eqn, if species is in phase 0!
ParticleData: will allocate memory for 2 ModelEqns in modelEqnContainer().
...allocating mem for modelEqn 'speciesA' with particleDataId 0
...allocating mem for modelEqn 'speciesSolid' with particleDataId 1
creating phase fraction mem for gas species equation now
creating phase change rate mem / Jacobi for gas species equation now
ParticleData::generatePhaseIDMap: phaseList:
phase[0]: 1
phase[1]: 0
ParticleData::generatePhaseIDMap: phaseIDMap:
phaseIDMap[0]: 1
phaseIDMap[1]: 0
phaseIDMap[2]: -1
phaseIDMap[3]: -1
ParticleData allocation completed.

[Process 0/1] CustomValueTracker::allocate added 1 particles (of 1 global) to the simulation...

[Process 0/1] read in for coupling model done

Input::fill_container_from_json for scope: radius
Input::fill_container_from_json for scope: speciesA
Input::fill_container_from_json for scope: speciesSolid
Input::fill_container_from_json for scope: gasPhaseFraction
[Process 0/1]
*******************************************

[Process 0/1] : ParScale initalized!

**Processed input
GNU Octave, version 3.8.1
Copyright (C) 2014 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type 'warranty'.

Octave was configured for "x86_64-pc-linux-gnu".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/get-involved.html

Read http://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.

timeToPlot = 2.000100
ThieleMod = 1.5811
Omega_v = 0.60145
N_sh = 50
Time for complete first stage
t_complete_first_stage = 3.3734
GNU Octave, version 3.8.1
Copyright (C) 2014 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type 'warranty'.

Octave was configured for "x86_64-pc-linux-gnu".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/get-involved.html

Read http://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.

ThieleMod = 1.5811
N_sh = 50
Time for complete 1st and 2nd stage
t_complete_both_stages = 4.7665
Diffusion time scale
diffusionTimeScale = 0.0025000
omega_vNew = 1.2028
radius_interval = 0.020000
radius_interval_absolut = 0.020000
xi_m = 0.72758
concentration_reaction_front = 0.0018985
GNU Octave, version 3.8.1
Copyright (C) 2014 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type 'warranty'.

Octave was configured for "x86_64-pc-linux-gnu".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/get-involved.html

Read http://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.

ThieleMod = 1.5811
Diffusion time scale
diffusionTimeScale = 0.0025000
Reaction time scale
reactionTimeScale = 3.3255
final conversion:
ans = 1
final solids consumption:
results =

scalar structure containing the fields:

Cs0 = 14.100
conversion = 1
time = 6
consumption = 14.100

after:
ans = 6
error: structure has no member 'filename'
error: evaluating argument list element number 1
error: called from:
error: /home/hfz/utilities/jsonlab/savejson.m at line 147, column 10

sradl1981's picture

sradl1981 | Mon, 02/06/2017 - 17:00

..this should be solved with the latest release of ParScale. Anyhow: it originated from jsonlab (see last line), which is just postprocessing the output of ParScale

Stefan Radl
IPPT, TU Graz