.. _python_api_grab_and_go_snippets:

.. currentmodule:: flow360

**********************
Grab-and-Go Snippets
**********************

Here are short snippets of code for handy features, grouped by topic.

Post-Processing
===============

* :doc:`Calculate Dimensional Forces <calculate_dimensional_forces>`
* :doc:`Compute the Center of Pressure <compute_center_of_pressure>`
* :doc:`Get Averaged Forces from a Boundary <show_averaged_force_on_surface>`
* :doc:`Plot Sectional Force Distribution <plot_sectional_force_distribution>`
* :doc:`Extract BET and Actuator Disk Forces <extract_disk_forces>`
* :doc:`Plot Probe Monitor Time History <plot_time_based_convergence>`
* :doc:`Interpolate <interpolate>`
* :doc:`Download Results <download_results>`

Project and Cloud Management
============================

* :doc:`Change Account and Submit <change_account>`
* :doc:`Folder Operations <folder_operations>`
* :doc:`Submit a Project to a Shared Workspace <submit_to_shared_workspace>`
* :doc:`Fork a Case <fork>`
* :doc:`List Projects <list_projects>`
* :doc:`Move Case to Folder <move_case_to_folder>`
* :doc:`Print Occupied Storage <print_storage>`
* :doc:`Reuse Cloud Project <reuse_cloud_project>`
* :doc:`Run a Case on Virtual GPU <run_case_on_vgpu>`
* :doc:`Total Flex Credits <total_flex_credits>`

Geometry and Meshing
====================

* :doc:`Compute a Projected Reference Area <compute_projected_area>`
* :doc:`Compute an Oriented Bounding Box <compute_obb>`
* :doc:`Generate Multiple Mesh <generate_multiple_meshes>`
* :doc:`Geometry Transformation <geometry_transformation>`
* :doc:`Import Sample Surface <import_sample_surface>`

Legacy Flow360 (v1)
===================

The following examples use the legacy ``flow360.v1`` API.

* :doc:`List Cases <list_cases>`
* :doc:`List Mesh Resources <list_mesh_resources>`

.. toctree::
   :hidden:

   calculate_dimensional_forces
   compute_center_of_pressure
   show_averaged_force_on_surface
   plot_sectional_force_distribution
   extract_disk_forces
   plot_time_based_convergence
   interpolate
   download_results
   change_account
   folder_operations
   submit_to_shared_workspace
   fork
   list_projects
   move_case_to_folder
   print_storage
   reuse_cloud_project
   run_case_on_vgpu
   total_flex_credits
   compute_projected_area
   compute_obb
   generate_multiple_meshes
   geometry_transformation
   import_sample_surface
   list_cases
   list_mesh_resources
