Giter Site home page Giter Site logo

Comments (8)

katyhuff avatar katyhuff commented on August 24, 2024

Can you update moose and moltres, and rebuild, then see if you still get this error? New changes in moltres have been made to keep moltres up to date with new versions of moose... It's usually best to use the most updated version.

from moltres.

ajhlee avatar ajhlee commented on August 24, 2024

Hi all, just rebuilt moose and moltres to the latest versions. Re-ran the above LOSCA example and the error persisted:
"Error getting elemental values.
[0] ../src/mesh/exodusII_io_helper.C, line 1059, compiled Feb 18 2019 at 20:14:09
application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0"

Examining the exodusII_io_helper.C file, line 1059 is:
EX_CHECK_ERR(ex_err, "Error getting elemental values.");

  std::vector<Real> block_elem_var_values(num_elem);
  ex_err = exII::ex_get_elem_var(ex_id,
                                 time_step,
                                 var_index+1,
                                 block_ids[i],
                                 num_elem_this_blk,
                                 block_elem_var_values.data());
  EX_CHECK_ERR(ex_err, "Error getting elemental values.");

from moltres.

gridley avatar gridley commented on August 24, 2024

Well, this superficially looks deeper than Moltres. The first thing to do is check which branch of MOOSE you pulled from---it could be a bleeding-edge branch failing unit tests. To figure out if it is MOOSE, you could try to run something dead-simple: heat conduction. See this example.

https://github.com/idaholab/moose/blob/next/modules/heat_conduction/test/tests/verify_against_analytical/1D_transient.i

I propose that you take this simulation, and rather than go for 100 seconds, split the simulation into two input files: one for 50 seconds, printing its results to a file, then a second reading the results from the first to run it out to 100. Then you can compare that to the 0-100 run. If the second fails to load or they disagree, you should raise an issue to idaholab/moose. Unfortunately I do not have time to do that at the moment, so good luck! 😄

from moltres.

lindsayad avatar lindsayad commented on August 24, 2024

A working path is at libMesh/libmesh#2041

from moltres.

ajhlee avatar ajhlee commented on August 24, 2024

@lindsayad Thanks! I recompiled libmesh (and MOLTRES) with the modified exodusII_io_helper.C and there are no more problems with restarting using the previous run's pre-conc values!

from moltres.

lindsayad avatar lindsayad commented on August 24, 2024

from moltres.

gridley avatar gridley commented on August 24, 2024

Does this work now for sure @joonhon? If so the issue could be closed.

from moltres.

ajhlee avatar ajhlee commented on August 24, 2024

Hi Gavin, thanks for the reminder. I believe the issue has been resolved. I'll close the issue, Thanks!

from moltres.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.