jsitaraman / tioga

Tioga is a library for overset grid assembly on parallel distributed systems
GNU Lesser General Public License v3.0
64 stars 36 forks source link

make evaluation of unique IDs for near-body search optional #65

Open ashesh2512 opened 2 years ago

ashesh2512 commented 2 years ago

This has been tested for a 2 turbine simulation under atmospheric inflow. Skipping the unique IDs for near-body search presents small (O(1e-8) - O(1e-10)) errors in engineering quantities of interest (e.g. power and thrust), but speeds up the near-body search considerably for GPGPU computations.

sayerhs commented 2 years ago

@ashesh2512 This is not a good idea for fully coupled overset simulations as this causes fringe/field mismatch.

ashesh2512 commented 2 years ago

@sayerhs You are right, and I share that concern, hence this has been introduced as an option with the default set to ON. Skipping the evaluation of unique node IDs for loosely coupled multi-turbine simulations didn't seem to affect the flow field. For GPGPU sims skipping this evaluation provides a decent amount of speed up considering that the unique node ID algorithm is evaluated on host. More testing is required, but if robust enough we can avoid porting the related octree search to GPUs.