-
Notifications
You must be signed in to change notification settings - Fork 134
Isothermal Boundary Conditions for Reacting Flows #1361
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
Open
DimAdam-01
wants to merge
20
commits into
MFlowCode:master
Choose a base branch
from
DimAdam-01:Isothermal_Slip_NoSlip
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
6bb52ed
Small Stuff
aa51a23
Temperature MPI + Periodic
86cd26d
Iso Dirichlet + Symmetry + Periodic
e181e78
Iso
4d8bc95
Final Debug
8e4e87d
OpenACC Bugs + Failing Tests debug
ca27714
Debugging
efd86f3
Prohibitions
bdc57f8
Golden Files and Test Suite
e14d7b0
Restore deleted golden files for test suite
7ee6b5a
Remove cases
8e37cf7
....
b2aa9c4
merging
de7f5b2
Small Stuf
4fb9f10
Precheck
ddb9423
Final Check
87edb94
Docs error
be3def3
vrr
7fe389a
AI Suggestions
c0c2f90
Format
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,76 @@ | ||
| #!/usr/bin/env python3 | ||
| import json | ||
| import math | ||
|
|
||
| import cantera as ct | ||
|
|
||
| Lx = 0.05 | ||
| Ly = 0.05 | ||
|
|
||
| ctfile = "h2o2.yaml" | ||
| sol_L = ct.Solution(ctfile) | ||
| sol_L.TPY = 1125, ct.one_atm, "O2:0.21,N2:0.79" | ||
| # Configuring case dictionary | ||
| case = { | ||
| "run_time_info": "T", | ||
| "x_domain%beg": 0.0, | ||
| "x_domain%end": Lx, | ||
| "y_domain%beg": 0.0, | ||
| "y_domain%end": Ly, | ||
| "m": 699, | ||
| "n": 699, | ||
| "p": 0, | ||
| "dt": 4.0e-08, | ||
| "t_step_start": 0, | ||
| "t_step_stop": 75000, | ||
coderabbitai[bot] marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "t_step_save": 4500, | ||
| "num_patches": 1, | ||
| "model_eqns": 2, | ||
| "alt_soundspeed": "F", | ||
| "num_fluids": 1, | ||
| "mpp_lim": "F", | ||
| "mixture_err": "T", | ||
| "time_stepper": 3, | ||
| "mp_weno": "F", | ||
| "weno_order": 5, | ||
| "weno_eps": 1e-16, | ||
| "riemann_solver": 2, | ||
| "wave_speeds": 1, | ||
| "avg_state": 2, | ||
| "bc_x%beg": -7, | ||
| "bc_x%end": -3, | ||
| "bc_y%beg": -16, | ||
| "bc_y%end": -3, | ||
| "bc_y%isothermal_in": "T", | ||
| "bc_y%Twall_in": 600.0, | ||
| "format": 1, | ||
| "precision": 2, | ||
| "prim_vars_wrt": "T", | ||
| "parallel_io": "T", | ||
| "chemistry": "T", | ||
| "chem_params%diffusion": "T", | ||
| "chem_params%reactions": "F", | ||
| "cantera_file": ctfile, | ||
| "chem_wrt_T": "T", | ||
| "patch_icpp(1)%geometry": 3, | ||
| "patch_icpp(1)%hcid": 291, | ||
| "patch_icpp(1)%x_centroid": Lx / 2, | ||
| "patch_icpp(1)%y_centroid": Ly / 2, | ||
| "patch_icpp(1)%length_x": Lx, | ||
| "patch_icpp(1)%length_y": Ly, | ||
| "patch_icpp(1)%vel(1)": 0, | ||
| "patch_icpp(1)%vel(2)": 0, | ||
| "patch_icpp(1)%pres": 101325, | ||
| "patch_icpp(1)%alpha_rho(1)": 1.00, | ||
| "patch_icpp(1)%alpha(1)": 1, | ||
| "fluid_pp(1)%gamma": 1.0e00 / (1.4e00 - 1.0e00), | ||
| "fluid_pp(1)%pi_inf": 0.0e00, | ||
| "viscous": "T", | ||
| "fluid_pp(1)%Re(1)": 100000, | ||
| } | ||
| for i in range(len(sol_L.Y)): | ||
| case[f"chem_wrt_Y({i + 1})"] = "T" | ||
| case[f"patch_icpp(1)%Y({i + 1})"] = sol_L.Y[i] | ||
|
|
||
| if __name__ == "__main__": | ||
| print(json.dumps(case)) | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.