Regarding the issue encountered with floats

Is Croco still unable to perform Lagrangian particle simulation using floats at present? Are there any better or alternative methods available?Thanks!

Hi,

I am not sure to understand your question. Can you develop a little ?

  • Do you need to perform online or offline Lagrangian experiments
  • Do you want 3D or 2D Lagrangian experiments
  • Do you need to add particles behavior (sinking/interacting…)

There are quite a few tools that works for offline Lagrangian with CROCO, parcels, Ariane, Pyticles and more. They are designed for different usage, so the best option for you depends on your needs.

Thank you for your reply. Firstly, I need an online Lagrangian particle experiment. If it cannot be done offline, it is also acceptable. Secondly, I want a three-dimensional simulation. Thirdly, I just want to see how the fluid moves. Therefore, there is no need for interaction or sinking. Currently, I have encountered the following problems using the FLOATS module.

  • WRT_FLT ERROR while writing variable ‘time_step’ into float file.
    Time record: 2 netCDF error code -33
    Cause of error: NetCDF: Not a valid ID mynode = 0

WRT_FLT ERROR: Cannot synchronize/close float netCDF file.
From the posts of other scholars, some scholars have explained that MPI and FLOATS are incompatible. I’m not sure if Croco can continue its Lagrangian particle experiments at present. So, could you please give me some guidance? Thank you.

I don’t know much about FLOATS so I wont be able to assist you with that matter but I did inquire about it. My guess is that it may no longer be maintained. I will let you know

For offline 3D particles I suggest Ichtyop as it is documented, maintained and from what what I heard user friendly.

Hello,

See also this discussion : FLOATS module status

FLOATS CPP key was no longer maintained and has been removed from the master branch for the next release.

Another tool with Lagrangian capabilities (parallelized with MPI) is available in the dev_2025_FOIL branch. An integration is planned for the next release.

And yes I also suggest Ichthyop using CROCO output, that could be a good offline way to do it.

Thank you. Next, I will give Ariane and Ichtyop a try. Once again, thank you for your warm reply! Best wishes!

Thank you! Looking forward to the new version of CROCO!