download
raw
367 Bytes
from fluidsim import load_sim_for_plot
# Charger la simulation
sim = load_sim_for_plot("/root/Sim_data/NS2D_48x48_S8x8_2026-01-08_19-25-12")
# CORRECTION: Utiliser des accolades simples pour l'évaluation f-string
x_pos = sim.oper.Lx / 4
print(f"Position x = {x_pos}")
# Cette ligne devrait fonctionner maintenant
sim.output.phys_fields.plot(equation=f'x={x_pos}')

Xet Storage Details

Size:
367 Bytes
·
Xet hash:
b514bfcab3344107b5960de869501a4e5c35795d82d178f8f7ace3dcd431ea60

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