Closed jbrillon closed 2 years ago
Consider opening up that PR soon if it's working. It's already starting to be on the bigger side.
@dougshidong Yep, that's the plan
Regarding format. First issue I'm tackling when I'm done with some of the PhD is: https://github.com/dougshidong/PHiLiP/issues/98
This will automatically format code such that spacing is not an issue anymore.
Looks like FlowSolver is currently quite specific to TGV. Especially since you are checking for some specific condition in between each step.
Pull request to incorporate the addition of the abstract
FlowSolver
class derived fromTestBase
. The purpose of this class is to unify the codes/scripts withinsrc/testing/
that simulate an unsteady flow case, where the different flow cases will be ran using theflow_solver.cpp
and an appropriate.prm
file.This is accomplished within
FlowSolver
by:InitialConditionFunction
virtual class (src/physics/initial_conditions/initial_condition.cpp
)src/parameters/parameters_flow_solver.cpp
)As a first case, the Taylor Green Vortex (turbulent) flow case has been implemented, both inviscid and viscous; included in the class
PeriodicCubeFlow
derived fromFlowSolver
andInitialConditionFunction_TaylorGreenVortex
class derived fromInitialConditionFunction
Additional contributions:
step_in_time()
for easier use insrc/testing/
grid_study.cpp
InitialConditionsLib
found insrc/physics/initial_conditions/
FreeStreamInitialConditions
fromsrc/physics/euler.h
tosrc/physics/initial_conditions/initial_conditions.h
use_periodic_bc==true
to suppresscheck_same_coords()
Current limitations: