-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lost connection to Fi when recommitting particles #1014
Comments
Can you try starting Fi with |
Setting redirection to none gives a 'timestep too small' message, for timesteps up to 1 Myr. It also gives the same error message as above. |
Thanks.
I’ve seen this error before then, I’ll get back to you soon.
|
Hello! |
I saw it before in #670. It's probably not the same solution here, but the underlying cause is probably the same. As a potential workaround, could you try manually setting timestep_old = hydro.parameters.timestep
hydro.parameters.timestep = 1 | units.s
hydro.evolve_model(hydro.model_time + (1 | units.s))
hydro.parameters.timestep = timestep_old
hydro.evolve_model(time) Please let me know if this works. |
When adding new SPF particles to a running Fi hydro code, the code crashes
time = 0|units.yr
end_time = 10|units.yr
while time <= end_time:
time += timestep
new_wind = wind.create_wind(star)
cloud.add_particles(new_wind)
cloud.synchronize_to(hydro.gas_particles)
hydro.evolve_model(time)
channel_hydro_to_gas.copy()
print(time)
Error message:
CodeException: Exception when calling function 'recommit_particles', of code 'FiInterface', exception was 'lost connection to code'
@GijsVermarien
The text was updated successfully, but these errors were encountered: