Coder Social home page Coder Social logo

eoslib's People

Contributors

chreinhardt avatar halbarath avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

pinebai

eoslib's Issues

EOSsolveBC not working for ANEOSmaterial

EOSsolveBC is not working for ANEOSmaterial, as the lower bound for the bisection rootfinder is outside the density range of the ANEOSmaterial table. This can be easily fixed by changing the lower bound to a value inside the table, or we can switch cases and set it dynamically depending on the material. This also goes for the upper bound.

Required functions for ballic

During the implementation of EOSlib in our IC code ballic I found that the following functions are missing:

  • Calculation of u_cold(rho)

  • A function that returns an EOS material string for a given material id

  • A function that outputs the EOS material parameters or table size

Add the SCvH EOS library

We have to add the SCvH EOS (Saumon et al. 1995, Vazan et al. 2013) to EOSlib.

The following functions have to be modified:

  • EOSinitMaterial()
  • EOSinitIsentropicLookup()
  • EOSfinalizeMaterial()
  • EOSPrintMat()
  • EOSPofRhoU()
  • EOSPofRhoT()
  • EOSCofRhoU()
  • EOSPCofRhoU()
  • EOSPCTofRhoU()
  • EOSIsentropic()
  • EOSTofRhoU()
  • EOSUofRhoT()
  • EOSRhoofPT()
  • EOSRhoofUT() (***)
  • EOSIsInTable()
  • EOSdPdRho()
  • EOSdPdU()
  • EOSdUdRho()
  • EOSdPdRhoofRhoT() (**)
  • EOSdPdT() (**)
  • EOSUCold()

**: These functions are currently not used but could be useful in future versions of ballic
***: These functions are not used

EOSlib.h:

  • Add header file in EOSlib.h
  • Define material id for the eos in EOSlib.h
  • Define range of iMat for the eos in EOSlib.h
  • Add material to struct EOSmaterial in EOSlib.h

Makefile:

  • Add object files to objects
  • Add eos and path to the library to INCLUDES

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.