Code Monkey home page Code Monkey logo

peleanalysis's People

Contributors

baperry2 avatar drummerdoc avatar emotheau avatar esclapez avatar olivecha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

peleanalysis's Issues

problem compiling model-specific analysis tool

Hello,

I am trying to compile PeleAnalysis/Src/ModelSpecificAnalysis/plotTransportCoeff.cpp and I had to make the following changes to the GNUMakefile in the above directory to point to the right submodules:

PELE_ANALYSIS_HOME ?= /home/suryanarayan/PeleAnalysis
PELE_PHYSICS_HOME ?= /home/suryanarayan/PeleC/Submodules/PelePhysics
AMREX_HOME ?= /home/suryanarayan/PeleC/Submodules/AMReX

Basically, I used my local PeleC submodules to point to the AMReX and PelePhysics folders instead of installing them again.

I get the following errors while trying to compile plotTransportCoeff.cpp:

plotTransportCoeff.cpp:13:10: fatal error: mechanism.h: No such file or directory
   13 | #include <mechanism.h>
      |          ^~~~~~~~~~~~~
compilation terminated.

When I changed it to mechanism.H instead of mechanism.h I get:

plotTransportCoeff.cpp:14:10: fatal error: chemistry_file.H: No such file or directory
   14 | #include <chemistry_file.H>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.

I comment that line and end-up with:

plotTransportCoeff.cpp:17:10: fatal error: Transport_F.H: No such file or directory
   17 | #include <Transport_F.H>
      |          ^~~~~~~~~~~~~~~

Is it possibly an environment issue?

conditional Mean need update

Also, I fixed a few minor errors that popped up during compile time for conditionalMeans. Just a few changes in the header files, adding a few std:: namespaces:

  1. #include <WritePlotFile.H>
    changed to #include <AMReX_PlotFileUtil.H>
  2. Removed
    #include <AppendToPlotFile.H>
  3. Vector<string> compNames;
    becomes Vector<std::string> compNames;
  4. vector<Real> bbll,bbur;
    becomes std::vector
  5. string variables = "VARIABLES = " + compNames[0];
    becomes std::string variables...

Originally posted by @RSuryaNarayan in #6 (comment)

Segfaults while trying to append data to plot file in grad.cpp

I am trying to append data to a plot file using the script grad.cpp. I use the following inputs inp.2d after I have an executable:

infile = pltfile
gradVar = Temp
finestLevel = 2
is_per = 0 0 0
appendPlotFile= 1

The output I get after I do mpirun -np 4 ./grad2d.gnu.MPI.ex inp.2d reads as follows:

MPI initialized with 4 MPI processes
MPI initialized with thread support level 0
AMReX (21.02-18-g7742e1c99f5e-dirty) initialized
Doing FillVar at lev: 0
Doing FillVar at lev: 1
Doing FillVar at lev: 2
Segfault
See Backtrace.1 file for details

I tried to trace it back to the exact line at which it breaks away and it looks like it might be L#163

Anything wrong I might be doing?

flame speed analysis

I want to calculate flame displacement speed, but I find that it is difficult for me to implement this function by modifying existing code (curvature.cpp). Has anyone encountered this problem before? Thanks in advance.

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.