ktongue/docker_container / fluidsim /plot_cross_section.py
download
raw
414 Bytes
from fluidsim import load_sim_for_plot
import matplotlib.pyplot as plt
# Charger la simulation
sim = load_sim_for_plot("/root/Sim_data/NS2D_48x48_S8x8_2026-01-08_19-25-12")
# Initialiser avec l'état sauvegardé
sim.output.init_with_initialized_state()
# Tracer une coupe transversale à x = Lx/4
print("Tracé d'une coupe transversale...")
sim.output.phys_fields.plot(equation=f'x={sim.oper.Lx/4}')
plt.show()

Xet Storage Details

Size:
414 Bytes
·
Xet hash:
7ed50fa04a74e11c1c857f2fd1a6a8e5e3763333c88034daaacd7938fd7c4f80

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.