Giter Site home page Giter Site logo

Comments (7)

ischoegl avatar ischoegl commented on June 9, 2024

Thanks for some external testing of this code! (it runs fine on my machine, but it hasn't been used much at this point yet). Hopefully it'll get you the results that you need.

The issue is that you had your YAML input set up for a variation of a large number of equivalence ratios, where some parameters may have poor convergence.

The default field specifies scalar inputs, whereas variation selects the entry that is varied; in your case:

# YAML file example for the `adiabatic_flame` module
# file specifes a parameter variation of temperature
variation:
  entry: upstream.T 
  values: [300.0, 360.0, 400.0, 403.0, 470.0, 500.0]
output:
  format: h5
defaults:
  upstream:
    T: [300., kelvin, 'temperature']
    P: [1., atmosphere, 'pressure']
    phi: [1.0, dimensionless, 'equivalence ratio']
    fuel: 'nC10H22(1)'
    oxidizer: 'O2(2):0.21,N2:0.79'
  chemistry:
    mechanism: chem_annotated.cti
  domain:
    width: [30, millimeter, 'domain width']
ctwrap: 0.1.0

I'm not familiar with SLURM, but I'd suggest to run a couple of tests on a standard Linux system (or a virtual machine/container, which are easy to set up), so you can troubleshoot prior to releasing jobs that are more difficult to debug on a cluster.

from ctwrap.

ajuluc avatar ajuluc commented on June 9, 2024

Hi @ischoegl thanks for the help with this and debugging the yaml file. I didn't realise the variation and defaults field until now. Thanks for pointing that out to me. What I was really trying to get was a code that had a fixed temperature and varied equivalence ratios (phis) but I guess I could do that by adding more lines where default is fixed then another section of the file where default is incremented to a different value with that fixed and varying phis.

So SLURM is really the Simple Linux Utility Resource Management for high performance computation. So it's a bunch of supercomputers that we access to do heavy computational calculations that otherwise cannot be performed on a simple local system like a Mac or Windows.I'll try it out again on my local then send it back to SLURM.

from ctwrap.

ischoegl avatar ischoegl commented on June 9, 2024

@ajuluc ... ok, got it. At the moment, I have only implemented a single variation, so the approach would be to have one YAML file per temperature.

from ctwrap.

ischoegl avatar ischoegl commented on June 9, 2024

PS: my own experience with marginal cases (phi close to flammability limit) is that they oftentimes do not converge easily, which can cause extremely long runs (without ever converging). So some workers may finish, while others may time out.

from ctwrap.

ajuluc avatar ajuluc commented on June 9, 2024

Ah thanks for letting me know about the flammability limit convergence issues. I was planning on starting off at 0.75 and stopping around 1.8 maybe that might help

from ctwrap.

ischoegl avatar ischoegl commented on June 9, 2024

Not sure whether the issue persists - closing.

from ctwrap.

ischoegl avatar ischoegl commented on June 9, 2024

Opened #25 to address variation of multiple parameters.

from ctwrap.

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.