Skip to content

Commit 7a46091

Browse files
author
PatrickRoel
committed
Made two seperate solver levels
1 parent 3b69f27 commit 7a46091

File tree

6 files changed

+543
-9
lines changed

6 files changed

+543
-9
lines changed

data/TUDELFT_V3_KITE/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ structural_kite_fem:
5454
tolerance: !!float 0.01
5555
step_limit: !!float 0.1
5656
relax_init: !!float 0.1
57-
relax_update: !!float 0.95
57+
relax_update: !!float 0.99
5858
k_update: !!int 1
5959
I_stiffness: !!int 15 #V3 kite: 25
6060
print_info: !!bool false

examples/run_simulation_level_2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
aerodynamic_vsm,
2424
structural_kite_fem_level_2,
2525
structural_pss,
26-
aerostructural_coupled_solver,
26+
aerostructural_coupled_solver_level_2,
2727
read_struc_geometry_level_2_yaml,
2828
)
2929

@@ -229,7 +229,7 @@ def main():
229229
########################################
230230
### AEROSTUCTURAL COUPLED SIMULATION ###
231231
########################################
232-
tracking_data, meta = aerostructural_coupled_solver.main(
232+
tracking_data, meta = aerostructural_coupled_solver_level_2.main(
233233
m_arr=m_arr,
234234
struc_nodes=struc_nodes,
235235
struc_nodes_initial=struc_nodes_initial,

src/kitesim/aerostructural_coupled_solver.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
structural_pss,
1212
tracking,
1313
plotting,
14-
structural_kite_fem_level_2,
14+
structural_kite_fem,
1515
aerodynamic_bridle_line_drag,
1616
)
1717

@@ -338,7 +338,7 @@ def main(
338338
)
339339
elif config["structural_solver"] == "kite_fem":
340340
kite_fem_structure, is_structural_converged, struc_nodes, f_int = (
341-
structural_kite_fem_level_2.run_kite_fem(
341+
structural_kite_fem.run_kite_fem(
342342
kite_fem_structure, f_ext_flat, config["structural_kite_fem"]
343343
)
344344
)
@@ -349,7 +349,7 @@ def main(
349349
if config["structural_solver"] == "pss":
350350
rest_lengths = psystem.extract_rest_length
351351
elif config["structural_solver"] == "kite_fem":
352-
rest_lengths = structural_kite_fem_level_2.get_rest_lengths(
352+
rest_lengths = structural_kite_fem.get_rest_lengths(
353353
kite_fem_structure, kite_connectivity_arr
354354
)
355355
kite_fem_structure.plot_convergence()
@@ -502,7 +502,7 @@ def main(
502502
if config["structural_solver"] == "pss":
503503
rest_lengths = psystem.extract_rest_length
504504
elif config["structural_solver"] == "kite_fem":
505-
rest_lengths = structural_kite_fem_level_2.get_rest_lengths(
505+
rest_lengths = structural_kite_fem.get_rest_lengths(
506506
kite_fem_structure, kite_connectivity_arr
507507
)
508508

0 commit comments

Comments
 (0)