dragonfly_sim.core.windtunnel_model

Classes

DG_windtunnel_model

Module Contents

class dragonfly_sim.core.windtunnel_model.DG_windtunnel_model(mesh, boundary_dict, ffd_shape, aero_center, mesh_inner_bdry_function=None, ffd_block_corner_list=None, cp_coord_opt_idxs=None, poly_order=1, gamma=1.4, ffd_degree=2, filename_suffix='test', asm_overlap=None, ilu_levels=None)

Bases: csdl_alpha.experimental.CustomImplicitOperation

_cm_alpha_for_logging(solution)
_log_memory(stage)
_run_fom_solve()
apply_inverse_jacobian(input_vals, outputs, d_outputs, d_residuals, mode)
compute_jacvec_product(input_vals, outputs, d_inputs, d_outputs, d_residuals, mode)
evaluate(mesh_node_motions: csdl_alpha.Variable, cp_motion_inputs: csdl_alpha.Variable, alpha: csdl_alpha.Variable)
set_up_sim()
solve_residual_equations(input_vals, output_vals)
wall_geometry()

Geometric constraint quantities of the FFD-deformed wall (area/volume, thickness, planform); see shape_parameterization.WallGeometry.

Built on first use. Collective: call it on every rank.

INLET_TAG = 3
OUTLET_TAG = 4
SYMMETRY_TAG = 5
WALL_TAG = 2
_wall_geometry = None
aero_center
asm_overlap = None
boundary_condition_dict
cp_coord_opt_idxs = None
data_store
euler_residual_conv_limit = 1e-09
eval_idx = 0
ffd = None
ffd_block_corner_list = None
ffd_degree = 2
ffd_projection_newton_tol = 1e-12
ffd_shape
filename_suffix = 'test'
gamma: float = 1.4
ilu_levels = None
inner_bdry_overset_margin = 0.0001
inner_bdry_rel_tol = 1e-06
linear_residual_accept_limit = 1e-10
linear_solver_atol = 1e-11
linear_solver_max_it = 1000
linear_solver_rtol = 1e-20
log_cm_alpha = True
max_newton_iterations = 100
mesh
mesh_node_match_tol = 1e-10
mesh_warper = None
ordered_callbacks = True
poly_order: int = 1
previous_solution = None
sim_model