Skip to content

Commit

Permalink
Mesh readers (#218)
Browse files Browse the repository at this point in the history
* ENH: Adding vtk writer WIP

* ENH: Add serial vtk writer to refactor branch

* BUG: fix t=0 time dump

* BUG: Added missing host to mesh reader

* STYLE: Cleaning up commented out code

* ENH: Clean up BCs and add RK stage

* STYLE: Uncrustify common

* STYLE: Uncrustify solvers

* ENH: Adding high order mesh builder WIP

* ENH: Adding high order mesh generator, WIP

* ENH: HO mesh builder builds

* ENH: Adding test for reading ensight mesh

* BUG: Fix wrong GPU memory access in state writer
  • Loading branch information
jacob-moore22 authored Aug 14, 2024
1 parent 6b88413 commit a2bc65b
Show file tree
Hide file tree
Showing 35 changed files with 24,989 additions and 1,846 deletions.
8 changes: 4 additions & 4 deletions docs/formatting/uncrustify.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ indent_columns = 4 # number

# The continuation indent. If non-zero, this overrides the indent of '(' and '=' continuation indents.
# For FreeBSD, this is set to 4. Negative value is absolute and not increased for each ( level
indent_continue = 0 # number
indent_continue = 4 # number

# How to use tabs when indenting code
# 0=spaces only
Expand All @@ -21,16 +21,16 @@ indent_access_spec_body = true # false/true

# True: indent continued function call parameters one indent level
# False: align parameters under the open paren
indent_func_call_param = true # false/true
indent_func_call_param = false # false/true

# Same as indent_func_call_param, but for function defs
indent_func_def_param = false # false/true
indent_func_def_param = false # false/true

# for function definitions, only if indent_func_def_param is false
# Allows to align params when appropriate and indent them when not
# behave as if it was true if paren position is more than this value
# if paren position is more than the option value
indent_func_def_param_paren_pos_threshold = 6 # unsigned number
indent_func_def_param_paren_pos_threshold = 28 # unsigned number

# Same as indent_func_call_param, but for function protos
indent_func_proto_param = false # false/true
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
# Sedov Test Problem

dynamic_options:
time_final: 1.0
dt_min: 1.e-8
dt_max: 1.e-2
dt_start: 1.e-5
cycle_stop: 300000

mesh_options:
source: file
file_path: standard_inputs/meshes/mesh_Sedov_16.geo
num_dims: 3


output_options:
timer_output_level: thorough
output_file_format: state
graphics_time_step: 1.0

solver_options:
- solver:
method: SGH

boundary_conditions:
# Tag X plane
- boundary_condition:
solver: SGH
geometry: x_plane
direction: x_dir
value: 0.0
type: reflected_velocity


# Tag Y plane
- boundary_condition:
solver: SGH
geometry: y_plane
direction: y_dir
value: 0.0
type: reflected_velocity

# Tag z plane
- boundary_condition:
solver: SGH
geometry: z_plane
direction: z_dir
value: 0.0
type: reflected_velocity

materials:
- material:
id: 0
eos_model_type: decoupled
eos_model: gamma_law_gas
q1: 1.0
q2: 1.333
q1ex: 1.0
q2ex: 1.333
eos_global_vars:
- 1.666666666666667
- 1.0E-14
- 1.0

regions:
- fill_volume:
type: global
material_id: 0
den: 1.0
sie: 1.e-14
velocity: cartesian
u: 0.0
v: 0.0
w: 0.0



# energy source initial conditions
- fill_volume:
type: sphere
origin: [0.0, 0.0, 0.0]
radius1: 0.0
radius2: 0.1
material_id: 0
den: 1.0
sie: 61.67375002
velocity: cartesian
u: 0.0
v: 0.0
w: 0.0


Loading

0 comments on commit a2bc65b

Please sign in to comment.