-
Couldn't load subscription status.
- Fork 12
Potential fix to reflections at AMR levels #158
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
Draft
nileshsawant
wants to merge
31
commits into
NREL:main
Choose a base branch
from
nileshsawant:main
base: main
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.
+105
−14
Draft
Changes from 28 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
322dbdc
usable fix to velocity BC for channel_regular
5910371
formatting change
b92df4a
formatting with llvm 20.1.7
4168c20
blocked unused variables
6c10113
removed commented code
79ecc99
fixed periodicity and n_cell
0b307e1
zero gradient outlet
34603d0
Merge branch 'main' into main
marchdf 67d370e
build fix
marchdf ed73c99
default to something wrong so we know it's wrong
marchdf dc90053
white space
marchdf 1527ff3
consolidate mach
marchdf 2454387
remove um
marchdf 453e7dc
consolidate input file
marchdf c20d35b
remove a couple other input options
marchdf 4cad3ac
Merge branch 'NREL:main' into main
nileshsawant 012f57f
Merge branch 'NREL:main' into main
nileshsawant 38c935c
Merge branch 'NREL:main' into main
nileshsawant 7eb0ddc
cylinder shedding case
59be659
corrected underline length
9d16e58
Merge branch 'NREL:main' into main
nileshsawant 9e9d02f
Possible fix to AMR reflections. compute_q_corrections is needed befo…
e7fe638
turek amr input file
b7c8613
seperated amr turek into its own folder
adbd2b6
added tureks to tests
965ccac
tureks 2D tests only
b7541a9
test turek only in 3D
cdacebc
crashing even after bound checks
e0cd3b3
removed amr turek from tests
75c22e6
not checking q>=0 code quality test
b84e166
more codeQL fix
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
65 changes: 65 additions & 0 deletions
65
Tests/test_files/cylinder_turek_2d2_amr/cylinder_turek_2d2_amr.inp
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,65 @@ | ||
| max_step = 100000 | ||
|
|
||
| # geometry parameters | ||
| geometry.prob_lo = 0.0 0.0 -2.0 | ||
| geometry.prob_hi = 660.0 123.0 2.0 | ||
| geometry.is_periodic = 0 0 1 | ||
|
|
||
| # timestepping | ||
| amr.n_cell = 660 123 4 | ||
| amr.max_level = 1 | ||
| amr.max_grid_size = 32 | ||
| amr.blocking_factor_x = 2 | ||
| amr.blocking_factor_y = 1 | ||
| amr.blocking_factor_z = 1 | ||
| amr.plot_int = 100 | ||
| amr.chk_int = 1000 | ||
| amr.file_name_digits = 5 | ||
|
|
||
| lbm.bc_lo = 2 1 0 | ||
| lbm.bc_hi = 5 1 0 | ||
| lbm.dx_outer = 1.0 | ||
| lbm.dt_outer = 1.0 | ||
|
|
||
| #nu = u D / Re | ||
| #nu = M a D / Re | ||
| #nu = M sqrt(gamma R T) D / Re | ||
| #nu = 0.1 sqrt(1.4 1 0.03333) 30 / 100 | ||
|
|
||
| lbm.nu = 0.00648 | ||
| lbm.alpha = 0.00648 | ||
| lbm.initial_temperature = 0.03333 | ||
| lbm.adiabatic_exponent = 1.4 | ||
| lbm.save_streaming = 0 | ||
| lbm.compute_forces = 1 | ||
|
|
||
| lbm.velocity_bc_type = "parabolic" | ||
| velocity_bc_parabolic.Mach_ref = 0.1 | ||
| velocity_bc_parabolic.normal_dir = 1 | ||
| velocity_bc_parabolic.tangential_dir = 0 | ||
| velocity_bc_parabolic.initial_density = 1.0 | ||
| velocity_bc_parabolic.initial_temperature = 0.03333 | ||
| velocity_bc_parabolic.adiabatic_exponent = 1.4 | ||
|
|
||
| lbm.ic_type = "constant" | ||
| ic_constant.mach_components = 0.1 0.0 0.0 | ||
| ic_constant.density = 1.0 | ||
| ic_constant.initial_temperature = 0.03333 | ||
| ic_constant.adiabatic_exponent = 1.4 | ||
|
|
||
| eb2.geom_type = "cylinder" | ||
| eb2.cylinder_radius = 15.0 | ||
| eb2.cylinder_center = 60.0 60.0 0.0 | ||
| eb2.cylinder_has_fluid_inside = 0 | ||
| eb2.cylinder_height = 1000.0 | ||
| eb2.cylinder_direction = 2 | ||
|
|
||
| tagging.refinement_indicators = box | ||
| tagging.box.in_box_lo = 30.0 30.0 -2.0 | ||
| tagging.box.in_box_hi = 90.0 90.0 2.0 | ||
|
|
||
| amrex.fpe_trap_invalid = 1 | ||
| amrex.fpe_trap_zero = 1 | ||
| amrex.fpe_trap_overflow = 1 | ||
| amrex.the_arena_is_managed = 0 | ||
| amrex.abort_on_out_of_gpu_memory = 1 |
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.