This function computes the coordinates of a point in cartesian space to it's isoparametric coordinates. This is particularly useful if you're doing deformable registration with biomechanical modoels or initializing rebar in isoparametric space in software's such as ABAQUS
Inputs:U is the point you want to get isoparametric location for
Format:row vector 3x1 [x,y,z]
Nodes are the 8 nodes required to define the hexahedral element
Format: 8x3 matrix, [Node1,Node2,...Node8] where nodes are column
vectors and ordered according to the isoparametric node
Outputs: p=[s,t,u], a 3x1 column vector of the isoparametric coordinates
Comments: By changing the lower and upper bounds of the optimization you can also solve for points out of the element.
Sergio Dempsey (2019). Inverse Isoparametric Mapping for 8 Noded (C3D8) Elements (https://www.mathworks.com/matlabcentral/fileexchange/71574-inverse-isoparametric-mapping-for-8-noded-c3d8-elements), MATLAB Central File Exchange. Retrieved .
Create scripts with code, output, and formatted text in a single executable document.