Decompose Vector Field

https://github.com/nortikin/sverchok/assets/14288520/90c65c97-8446-4401-b451-63f8e2bec00a

Functionality

This node generates three Scalar Fields by decomposing a Vector Field into it’s coordinates.

Inputs

This node has the following input:

  • Field. The vector field to be decomposed. The input is mandatory.

Parameters

This node has the following parameter:

  • Coordinates. This defines the coordinate system to be used. The available options are:

    • Cartesian. The vector field is decomposed into X, Y and Z fields.

    • Cylindrical. The vector field is decomposed into Rho, Phi and Z fields.

    • Spherical. The vector field is decomposed into Rho, Phi and Theta fields.

    The default mode is Cartesian.

    https://github.com/nortikin/sverchok/assets/14288520/3c46726b-7bec-4ff6-8129-db98fe31c097

Outputs

The names of the outputs depend on the Coordinates parameter:

  • X / Rho / Rho. The first scalar field.

  • Y / Phi / Phi. The second scalar field.

  • Z / Z / Theta. The third scalar field.

Example of usage

https://github.com/nortikin/sverchok/assets/14288520/031274cb-f44e-41ff-bc8d-ee84bcc581b2 https://github.com/nortikin/sverchok/assets/14288520/ae879c61-3759-48e5-82dc-74e34bcb5ff9

Use only one component of some attraction vector field to scale the cubes:

https://user-images.githubusercontent.com/284644/79474322-ae9ba980-801f-11ea-9cb0-0d6d5085e22a.png