Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GNUmake and fix initial velocity. #89

Merged
merged 4 commits into from
Jun 2, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions Exec/Cases/PremBunsen2D/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ TOP = ../../../..
AMREX_HOME ?= ${TOP}/amrex
PELELMEX_HOME ?= ${TOP}/PeleLMeX
PELE_PHYSICS_HOME ?= ${TOP}/PelePhysics
AMREX_HYDRO_HOME ?= ${TOP}/AMReX-Hydro


# AMReX
Expand All @@ -22,11 +23,8 @@ USE_HIP = FALSE
USE_EFIELD = FALSE

# PelePhysics
Chemistry_Model = drm19
Reactions_Model = Fuego
Eos_Model = Fuego
Transport_Model = Simple

USE_SUNDIALS_PP = TRUE
Chemistry_Model = drm19
Eos_Model = Fuego
Transport_Model = Simple

include $(PELELMEX_HOME)/Utils/Make.PeleLMeX
6 changes: 2 additions & 4 deletions Exec/Cases/PremBunsen2D/pelelm_prob.H
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ void pelelm_initdata(int i, int j, int k,
for (int n = 0; n < NUM_SPECIES; n++){
massfrac[n] = pmf_vals[3 + n];
}
//eos.X2Y(molefrac, massfrac);
}
} else {
if ( std::abs((x-splitx)) < ( std::sqrt((y+0.0009) / 0.01))/100.0) {
Expand All @@ -76,13 +75,12 @@ void pelelm_initdata(int i, int j, int k,
for (int n = 0; n < NUM_SPECIES; n++){
massfrac[n] = pmf_vals[3 + n];
}
//eos.X2Y(molefrac, massfrac);
}
}

AMREX_D_TERM(state(i,j,k,VELX) = 0.0;,
state(i,j,k,VELX) = 0.1;,
state(i,j,k,VELX) = 0.0);
state(i,j,k,VELY) = 0.1;,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should the 0.1 be on the X component still?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be on the Y for this configuration. Not sure how it ended up on X ...

state(i,j,k,VELZ) = 0.0);

amrex::Real P_cgs = prob_parm.P_mean * 10.0;

Expand Down