Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielDoehring committed Mar 27, 2024
1 parent e877dbc commit 71a5509
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,11 @@ boundary_conditions_airfoil = BoundaryConditionNavierStokesWall(velocity_airfoil
heat_airfoil)

function momenta_initial_condition_mach08_flow(x, t, equations)
u = initial_condition_mach08_flow(x, t, equations)
momenta = SVector(u[2], u[3])
u = initial_condition_mach08_flow(x, t, equations)
momenta = SVector(u[2], u[3])
end
velocity_bc_square = NoSlip((x, t, equations) -> momenta_initial_condition_mach08_flow(x, t, equations))
velocity_bc_square = NoSlip((x, t, equations) -> momenta_initial_condition_mach08_flow(x, t,
equations))

heat_bc_square = Adiabatic((x, t, equations) -> 0.0)
boundary_condition_square = BoundaryConditionNavierStokesWall(velocity_bc_square,
Expand Down Expand Up @@ -148,6 +149,7 @@ callbacks = CallbackSet(summary_callback, analysis_callback, alive_callback, sav
# run the simulation

time_int_tol = 1e-8
sol = solve(ode, RDPK3SpFSAL49(thread = OrdinaryDiffEq.True()); abstol = time_int_tol, reltol = time_int_tol,
sol = solve(ode, RDPK3SpFSAL49(thread = OrdinaryDiffEq.True()); abstol = time_int_tol,
reltol = time_int_tol,
ode_default_options()..., callback = callbacks)
summary_callback() # print the timer summary
summary_callback() # print the timer summary

0 comments on commit 71a5509

Please sign in to comment.