{"id":389,"date":"2021-08-08T16:15:23","date_gmt":"2021-08-08T14:15:23","guid":{"rendered":"https:\/\/alma-consulting.eu\/?p=389"},"modified":"2022-05-28T13:49:17","modified_gmt":"2022-05-28T11:49:17","slug":"working-wonders-with-adpl-math-illustrated-ep03-data-reduction","status":"publish","type":"post","link":"https:\/\/alma-consulting.eu\/index.php\/2021\/08\/08\/working-wonders-with-adpl-math-illustrated-ep03-data-reduction\/","title":{"rendered":"Working Wonders with ADPL Math\u00a0&#8211; Ep 03: Data Reduction Fundamentals"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">What are we doing here?<\/h2>\n\n\n\n<p><\/p>\n\n\n\n<p>This post may come as a surprise to many, as ANSYS APDL is at its core a tool aiming at simulating physical phenomena so that \u00abdata reduction\u00bb, being more oriented to the data analysis community, might sound a bit out-of-place.<\/p>\n\n\n\n<p>As a matter of fact, being a numerical tool, it does have ubiquitous applications and -as we shall shortly see- it can be also beneficial to down-to-earth, goal-oriented folks like say -engineers.<\/p>\n\n\n\n<p>Browsing the APDL Math commands, I started being curious about the *COMPRESS command, which I had so far ignored: as it was, I had assumed that it merely was a functionality aimed at compressing sparse matrices, i.e. a lossless procedure, detecting and eliminating near-zero entries. And yes, that\u2019s exactly what it can do, but there is more to it: it will also compress data using Singular Values Decomposition (SVD), which is probably one of the most important numerical tool there is. This is not the place to provide too much background on the topic, and for those interested there is a wealth of books and articles on the subject, one prominent contribution being the online videos by Steven Brunton and Nathan Kuntz, see [1] for an introduction.<\/p>\n\n\n\n<p>Before discussing applications, I will briefly introduce the topic of SVD, how it relates to data compression, and which APDL Math capabilities we need to use.<\/p>\n\n\n\n<!--nextpage-->\n\n\n\n<h2 class=\"wp-block-heading\">Compression using SVD: a minimal working example<\/h2>\n\n\n\n<p> Say we have a nx3 matrix \u00abM\u00bb, for which the first two columns are linearly independent (geometrically speaking, those vectors are \u00abnon parrallel\u00bb), and the third one is a linear combination of the first two.<\/p>\n\n\n\n<p>From linear algebra, we know that this matrix has rank 2, and hence is non-invertible. So far so good. But that\u2019s not our point, since we don\u2019t want to solve for the matrix. Quite the contrary, we assume that there are redundancies (or repetitions) in its vectors, so that it\u2019s non invertible, hence amenable to compression. Then, from this perspective, we know that it would be more economical to describe this matrix as \u00abits first vector is like this, the second vector like that, and the third is a linear combination of the first two, with the following coefficients\u00bb.<\/p>\n\n\n\n<p>Well, SVD does exactly that. Let\u2019s see how.<\/p>\n\n\n\n<p>Mathematically, SVD will factor the original matrix M (nxm) into a product of 3 matrices, namely<\/p>\n\n\n\n<p> <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/alma-consulting.eu\/wp-content\/ql-cache\/quicklatex.com-125881b785b1ee24c020c9a4e23ec452_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#77;&#61;&#85;&#32;&#92;&#83;&#105;&#103;&#109;&#97;&#32;&#86;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"84\" style=\"vertical-align: 0px;\"\/><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>U=left singular vector matrix (nxn)<\/li><li><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/alma-consulting.eu\/wp-content\/ql-cache\/quicklatex.com-14fb1e14301ad034b94e3db3ff52c0c9_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#83;&#105;&#103;&#109;&#97;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/>= diagonal matrix, containing singular values (nxm)<\/li><li>V\u2019=right singular vector matrix (mxm)<\/li><\/ul>\n\n\n\n<p>In this factorization, the number of non-zero entries in \uf053\uf020is equal to the rank of M. Obviously, if M is rectangular, M has rank at most equal to min(n,m). But here, we are specifically looking at situations where redundancies exist, so we expect the rank r to be much lower than that.<\/p>\n\n\n\n<p>Right, let\u2019s see how it works within ANSYS. Assume for simplicity a 3&#215;3 matrix.<\/p>\n\n\n\n<p>First column vector   <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/alma-consulting.eu\/wp-content\/ql-cache\/quicklatex.com-ebf80310553a2497b346fc82b04872c2_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#77;&#95;&#49;&#61;&#32;&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#98;&#109;&#97;&#116;&#114;&#105;&#120;&#125;&#32;&#49;&#32;&#92;&#92;&#49;&#32;&#92;&#92;&#32;&#49;&#32;&#92;&#101;&#110;&#100;&#123;&#98;&#109;&#97;&#116;&#114;&#105;&#120;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"64\" width=\"75\" style=\"vertical-align: -27px;\"\/><\/p>\n\n\n\n<p>Second column vector <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/alma-consulting.eu\/wp-content\/ql-cache\/quicklatex.com-ed0f29b2cf88ef505ecde5303a224a69_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#77;&#95;&#50;&#61;&#32;&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#98;&#109;&#97;&#116;&#114;&#105;&#120;&#125;&#32;&#49;&#32;&#92;&#92;&#32;&#45;&#49;&#32;&#92;&#92;&#32;&#49;&#32;&#92;&#101;&#110;&#100;&#123;&#98;&#109;&#97;&#116;&#114;&#105;&#120;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"64\" width=\"89\" style=\"vertical-align: -27px;\"\/><\/p>\n\n\n\n<p>Third column vector <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/alma-consulting.eu\/wp-content\/ql-cache\/quicklatex.com-bba07e3061c0a786b750bf45122bdcde_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#77;&#95;&#51;&#61;&#77;&#95;&#49;&#43;&#77;&#95;&#50;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"119\" style=\"vertical-align: -3px;\"\/><\/p>\n\n\n\n<p>The corresponding input commands would be:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>n=3\t! nb of \"DOFs\"\nm=3\t! nb of \"snapshots\"\n\n! Generate dummy \"snapshots\" matrix\n*DMAT,dummyMat,D,ALLOC,n,m\n\n! First and second vectors (should be linearly independent, hence rank=2)\n! first column \ndummyMat(1,1)=1\t\ndummyMat(2,1)=1\t \ndummyMat(3,1)=1\t \n! second column\ndummyMat(1,2)=1\t\t\ndummyMat(2,2)=-1\ndummyMat(3,2)=1\n! Add a third column, a linear combination of the first two\nalpha=1\nbeta=1\ndummyMat(1,3)=alpha*dummyMat(1,1)+beta*dummyMat(1,2)\ndummyMat(2,3)=alpha*dummyMat(2,1)+beta*dummyMat(2,2)\ndummyMat(3,3)=alpha*dummyMat(3,1)+beta*dummyMat(3,2)<\/code><\/pre>\n\n\n\n<p>As expected, we get the following<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>DUMMYMAT: \n &#91;1,1]: 1.000e+00 &#91;1,2]: 1.000e+00 &#91;1,3]: 2.000e+00 \n &#91;2,1]: 1.000e+00 &#91;2,2]:-1.000e+00 &#91;2,3]: 0.000e+00 \n &#91;3,1]: 1.000e+00 &#91;3,2]: 1.000e+00 &#91;3,3]: 2.000e+00 <\/code><\/pre>\n\n\n\n<p>From there, we can simply invoke the matrix compression by first allocating for the Matrix U, which will contain the left singular vectors, corresponding to singular values above a user defined threshold (more on this later). To do that, we simply copy the original matrix (it will be read and replaced by a skinnier version, same number of rows, but lower number of columns). The sigma matrix is diagonal and will be stored in a vector. Note that both vector sigmaVec and matrix Vtran will be created on the fly, and don\u2019t require manual allocation.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>! Perform Singular Value Decomposition \n*DMAT,U,D,COPY,dummyMat\t\n\n! M=U SIGMA V*\nthreshold=1e-2\n*COMPRESS,U,SVD,threshold,SigmaVec,Vconj<\/code><\/pre>\n\n\n\n<p>The output reads as follows:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> *COM COMMAND : USING SVD ALGORITHM  Allocate a &#91;3] Vector : SIGMAVEC\n\n  Allocate a &#91;3]&#91;3] Dense Matrix : VCONJ\n (TOLERANCE = 0.01)\n                MATRIX SIZE AFTER COMPRESSION : 2\n\n U: \n &#91;1,1]:-7.071e-01 &#91;1,2]: 1.504e-16 \n &#91;2,1]: 7.673e-17 &#91;2,2]:-1.000e+00 \n &#91;3,1]:-7.071e-01 &#91;3,2]: 5.395e-17 \n SIGMAVEC :\n Size : 3\n  3.464e+00   1.414e+00   7.009e-17  \n\n VCONJ: \n &#91;1,1]:-4.082e-01 &#91;1,2]:-4.082e-01 &#91;1,3]:-8.165e-01 \n &#91;2,1]:-7.071e-01 &#91;2,2]: 7.071e-01 &#91;2,3]:-7.477e-17 \n &#91;3,1]:-5.774e-01 &#91;3,2]:-5.774e-01 &#91;3,3]: 5.774e-01 \n<\/code><\/pre>\n\n\n\n<p>A number of important features are already visible:<\/p>\n\n\n\n<p>&#8211; the U matrix has been compressed to size 3&#215;2, consistent with the fact that only 2 singular values are above the threshold (the last one being a numerical zero)<\/p>\n\n\n\n<p>&#8211; U and V are unitary matrices (vectors have unit norm, and are orthogonal), hence U does <em>not <\/em>contain our \u00abbasis\u00bb vectors, but rather an orthogonal basis for the r-dimensional space in which the matrix M projects the n-dimensional space.<\/p>\n\n\n\n<p>&#8211; Vconj has 3 columns, but also 3 rows: however, the last row corresponds to the amplitudes of the discarded 3<sup>rd<\/sup> right singular vector, and has no usage.<\/p>\n\n\n\n<p>This decomposition and the \u00abpadding\u00bb is explained in an article by Gregory Undersen, see [2]. In order to check that everything ran as expected, we might want to re-generate the original matrix from its truncated factors, as follows:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>! Number of Singular values above threshold\nnbSingularValues=U_coldim\t\n\n! CHECK: REGENERATE ORIGINAL MATRIX FROM COMPRESSED \n! Step1: Generate SigmaMat (diagonal matrix) from vector SigmaVec\n*SMAT,SigmaMat,D,ALLOC,DIAG,nbSingularValues\n*do,ind,1,nbSingularValues\n\tSigmaMat(ind,ind)=SigmaVec(ind)\n*enddo\n\n! STEP2: GENERATE TRUNCATED RIGHT VECTORS MATRICE \n*DMAT,resizedVconj,D,COPY,Vconj\n*DMAT,resizedVconj,D,RESIZE,nbSingularValues,nbSnapshots\n\n!*MULT, M1, T1, M2, T2, M3 (M3=M1(T1)*M2(T2))\n*MULT,SigmaMat,,Vconj,,SigmaVconj\n*PRINT,SigmaVconj\n*MULT,U,,SigmaVconj,,shouldBeDummyMat\n*PRINT,shouldBeDummyMat<\/code><\/pre>\n\n\n\n<p>The output is consistent with our expectations:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>SHOULDBEDUMMYMAT: \n &#91;1,1]: 1.000e+00 &#91;1,2]: 1.000e+00 &#91;1,3]: 2.000e+00 \n &#91;2,1]: 1.000e+00 &#91;2,2]:-1.000e+00 &#91;2,3]:-1.113e-16 \n &#91;3,1]: 1.000e+00 &#91;3,2]: 1.000e+00 &#91;3,3]: 2.000e+00 \n<\/code><\/pre>\n\n\n\n<p>This is all well, but one could (and in fact, should) argue that this particular example was mathematically designed to showcase repeated vectors identification, and obviously works to perfection. In a real situation, one should expect a gradual decrease of singular values or, stated differently, a fuzzier boundary between \u00abneeded\u00bb and \u00absuperfluous\u00bb components, which renders the singular values selection much more empiric.<\/p>\n\n\n\n<p>A bulletproof -though na\u00efve- approach would be to iteratively generate data using an increasingly large number of singular vectors, until a satisfactory result is obtained, but this may not even be required. As it appears, since U and V matrices are unitary, so that only the singular values contain information about amplitude (i.e. they are scaling factors). What\u2019s more, those values are provided in decreasing order, and the total energy of the original signals (the square of the Frobenius norm of the original matrix) is equal to the sum of the squared singular values.<\/p>\n\n\n\n<p>Luckily for us ANSYS dutifully follows this rule. By construction, the Froebenius (energy) norm of our dummy matrix M is the sum of the norm of its vectors, namely:<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/alma-consulting.eu\/wp-content\/ql-cache\/quicklatex.com-2e233df16c998a3ed79ddf48625bd867_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#124;&#124;&#77;&#95;&#49;&#124;&#124;&#94;&#50;&#61;&#49;&#94;&#50;&#43;&#49;&#94;&#50;&#43;&#49;&#94;&#50;&#61;&#51;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"200\" style=\"vertical-align: -5px;\"\/><\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/alma-consulting.eu\/wp-content\/ql-cache\/quicklatex.com-8f90058d3f8d3ab39b7a1eba29e36541_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#124;&#124;&#77;&#95;&#50;&#124;&#124;&#94;&#50;&#61;&#49;&#94;&#50;&#43;&#40;&#45;&#49;&#41;&#94;&#50;&#43;&#49;&#94;&#50;&#61;&#51;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"227\" style=\"vertical-align: -5px;\"\/><\/p>\n\n\n\n<p>and <\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/alma-consulting.eu\/wp-content\/ql-cache\/quicklatex.com-e52bf1bd1dfef966bbf94288c448f982_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#124;&#124;&#77;&#95;&#51;&#124;&#124;&#94;&#50;&#61;&#50;&#94;&#50;&#43;&#40;&#48;&#41;&#94;&#50;&#43;&#50;&#94;&#50;&#61;&#56;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"213\" style=\"vertical-align: -5px;\"\/><\/p>\n\n\n\n<p>So that its total energy norm is :<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/alma-consulting.eu\/wp-content\/ql-cache\/quicklatex.com-d5f0173c69f98b012a49fea286d27e05_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#124;&#124;&#77;&#124;&#124;&#61;&#51;&#43;&#51;&#43;&#56;&#61;&#49;&#52;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"172\" style=\"vertical-align: -5px;\"\/><\/p>\n\n\n\n<p>This value compares favorably with the sum of the squared singular values calculated by ANSYS:<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/alma-consulting.eu\/wp-content\/ql-cache\/quicklatex.com-bd83942bc022d161f2277389c601e318_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#84;&#114;&#40;&#92;&#83;&#105;&#103;&#109;&#97;&#32;&#92;&#83;&#105;&#103;&#109;&#97;&#32;&#94;&#116;&#41;&#61;&#92;&#115;&#105;&#103;&#109;&#97;&#95;&#49;&#94;&#50;&#43;&#92;&#115;&#105;&#103;&#109;&#97;&#95;&#50;&#94;&#50;&#61;&#40;&#51;&#46;&#52;&#54;&#52;&#41;&#94;&#50;&#43;&#40;&#49;&#46;&#52;&#49;&#52;&#41;&#94;&#50;&#61;&#49;&#52;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"359\" style=\"vertical-align: -5px;\"\/><\/p>\n\n\n\n<p>Hence, by selecting a number of singular values, the amount of the total energy is known beforehand, and the energy loss (sum of squared <em>unused<\/em> singular values) can be controlled. To reemphasize, compression will only be efficient when the singular values decrease sufficiently rapidly, which may seem difficult to detect with the naked eye. A very clear explanation has been given by Pr.Alex Townsend in [3], which sheds light on the fact that propagating waves phenomena are ill-suited for SVD compression.<\/p>\n\n\n\n<!--nextpage-->\n\n\n\n<h2 class=\"wp-block-heading\">Compression using SVD: sample usage<\/h2>\n\n\n\n<p>Remember the aluminum bracket-shaped support we used in Episode 1 to illustrate Thermal Modal Analysis? It wouldn\u2019t hurt to use it again, since it can be handy to demonstrate the similarities and differences between the POD basis (i.e. the left singular vectors) and classical Normal modes<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-1 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<div class=\"wp-block-media-text alignwide is-stacked-on-mobile\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"200\" height=\"273\" src=\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image.png\" alt=\"\" class=\"wp-image-415 size-full\"\/><\/figure><div class=\"wp-block-media-text__content\">\n<p class=\"has-large-font-size\">Let&#8217;s assume our bracket is submitted to a random  temperature at its base, and see how its thermal response can be compressed using SVD. <\/p>\n<\/div><\/div>\n<\/div>\n<\/div>\n\n\n\n<p>For ease of understanding, this temperature signal is filtered white noise, using a order-1 low pass filter with time constant equal to 30s. Its amplitude is adjusted so that its standard deviation is unity (i.e. 1K RMS). We apply this temperature signal as a boundary conditions at the bracket support, and estimate temperature fields every second, for a total duration of 1000s, hence 1000 snapshots. In terms of space-wise discretisation, let\u2019s first use the most simple element we have i.e. the good old PLANE55 (linear, i.e. 4 nodes element).<\/p>\n\n\n\n<p>Now, let\u2019s apply POD magic to these values and see what happens. To test the method efficiency, we will assume decreasing values for the threshold parameter, and extract the maximum RMS error in terms of nodal temperature over the entire model.<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table><tbody><tr><td>Config#<\/td><td>Threshold<\/td><td>Model Order<\/td><td>Max. Nodal Error [K RMS]<\/td><\/tr><tr><td>1<\/td><td>1e-2<\/td><td>2<\/td><td>1.76<\/td><\/tr><tr><td>2<\/td><td>1e-3<\/td><td>4<\/td><td>0.60<\/td><\/tr><tr><td>3<\/td><td>1e-4<\/td><td>6<\/td><td>0.057<\/td><\/tr><tr><td>4<\/td><td>1e-5<\/td><td>8<\/td><td>0.015<\/td><\/tr><tr><td>5<\/td><td>1e-6<\/td><td>10<\/td><td>0.0016<\/td><\/tr><tr><td>6<\/td><td>1e-7<\/td><td>12<\/td><td>0.00014<\/td><\/tr><\/tbody><\/table><figcaption>Convergence indicators as a function of selected threshold<\/figcaption><\/figure>\n\n\n\n<p>From this, it is quite obvious that the procedure converges extremely rapidly, so that using 8 vectors, one readily reduces the compression error to about 1.5% of the original values, and below 0.01% for 12 vectors, well below the most daring engineering accuracy. It is also interesting to look at the corresponding spatial error distribution, see below. For the first two cases (model order 2 and 4), the maximum error is located about halfway along the heat propagation direction, while for higher order cases, the error is mostly localized at the bottom of the bracket.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"770\" src=\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image-1-1024x770.png\" alt=\"\" class=\"wp-image-423\" srcset=\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image-1-1024x770.png 1024w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image-1-300x226.png 300w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image-1-768x578.png 768w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image-1.png 1077w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Thermal Reduction error distribution using 2 POD vectors<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"770\" src=\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image-2-1024x770.png\" alt=\"\" class=\"wp-image-424\" srcset=\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image-2-1024x770.png 1024w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image-2-300x226.png 300w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image-2-768x578.png 768w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image-2.png 1077w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Thermal Reduction error distribution using 4 POD vectors<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"770\" src=\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image-3-1024x770.png\" alt=\"\" class=\"wp-image-427\" srcset=\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image-3-1024x770.png 1024w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image-3-300x226.png 300w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image-3-768x578.png 768w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image-3.png 1077w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-3 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"770\" src=\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image-5-1024x770.png\" alt=\"\" class=\"wp-image-431\" srcset=\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image-5-1024x770.png 1024w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image-5-300x226.png 300w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image-5-768x578.png 768w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image-5.png 1077w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"770\" src=\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image-6-1024x770.png\" alt=\"\" class=\"wp-image-432\" srcset=\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image-6-1024x770.png 1024w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image-6-300x226.png 300w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image-6-768x578.png 768w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image-6.png 1077w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"770\" src=\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image-7-1024x770.png\" alt=\"\" class=\"wp-image-433\" srcset=\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image-7-1024x770.png 1024w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image-7-300x226.png 300w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image-7-768x578.png 768w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image-7.png 1077w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Quite impressive, if you ask me. Now, let&#8217;s turn on to visually inspecting those POD vectors, which are so efficient at capturing the physics at hand:<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">POD Vectors unveiled<\/h2>\n\n\n\n<p>POD (aka left singular vectors) order 1 to 9 are as follows: <\/p>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-2 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<figure class=\"wp-block-gallery alignfull columns-3 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\"><ul class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"770\" src=\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_1_THERMAL-1024x770.png\" alt=\"\" data-id=\"437\" data-link=\"https:\/\/alma-consulting.eu\/?attachment_id=437\" class=\"wp-image-437\" srcset=\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_1_THERMAL-1024x770.png 1024w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_1_THERMAL-300x226.png 300w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_1_THERMAL-768x578.png 768w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_1_THERMAL.png 1077w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"770\" src=\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_2_THERMAL-1024x770.png\" alt=\"\" data-id=\"438\" data-link=\"https:\/\/alma-consulting.eu\/?attachment_id=438\" class=\"wp-image-438\" srcset=\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_2_THERMAL-1024x770.png 1024w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_2_THERMAL-300x226.png 300w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_2_THERMAL-768x578.png 768w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_2_THERMAL.png 1077w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"770\" src=\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_3_THERMAL-1024x770.png\" alt=\"\" data-id=\"439\" data-link=\"https:\/\/alma-consulting.eu\/?attachment_id=439\" class=\"wp-image-439\" srcset=\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_3_THERMAL-1024x770.png 1024w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_3_THERMAL-300x226.png 300w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_3_THERMAL-768x578.png 768w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_3_THERMAL.png 1077w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"770\" src=\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_4_THERMAL-1024x770.png\" alt=\"\" data-id=\"440\" data-link=\"https:\/\/alma-consulting.eu\/?attachment_id=440\" class=\"wp-image-440\" srcset=\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_4_THERMAL-1024x770.png 1024w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_4_THERMAL-300x226.png 300w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_4_THERMAL-768x578.png 768w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_4_THERMAL.png 1077w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"770\" src=\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_5_THERMAL-1024x770.png\" alt=\"\" data-id=\"441\" data-link=\"https:\/\/alma-consulting.eu\/?attachment_id=441\" class=\"wp-image-441\" srcset=\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_5_THERMAL-1024x770.png 1024w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_5_THERMAL-300x226.png 300w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_5_THERMAL-768x578.png 768w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_5_THERMAL.png 1077w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"770\" src=\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_6_THERMAL-1024x770.png\" alt=\"\" data-id=\"442\" data-link=\"https:\/\/alma-consulting.eu\/?attachment_id=442\" class=\"wp-image-442\" srcset=\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_6_THERMAL-1024x770.png 1024w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_6_THERMAL-300x226.png 300w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_6_THERMAL-768x578.png 768w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_6_THERMAL.png 1077w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"770\" src=\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_7_THERMAL-1024x770.png\" alt=\"\" data-id=\"443\" data-link=\"https:\/\/alma-consulting.eu\/?attachment_id=443\" class=\"wp-image-443\" srcset=\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_7_THERMAL-1024x770.png 1024w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_7_THERMAL-300x226.png 300w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_7_THERMAL-768x578.png 768w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_7_THERMAL.png 1077w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"770\" src=\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_8_THERMAL-1024x770.png\" alt=\"\" data-id=\"444\" data-link=\"https:\/\/alma-consulting.eu\/?attachment_id=444\" class=\"wp-image-444\" srcset=\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_8_THERMAL-1024x770.png 1024w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_8_THERMAL-300x226.png 300w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_8_THERMAL-768x578.png 768w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_8_THERMAL.png 1077w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"770\" src=\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_9_THERMAL-1024x770.png\" alt=\"\" data-id=\"445\" data-full-url=\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_9_THERMAL.png\" data-link=\"https:\/\/alma-consulting.eu\/?attachment_id=445\" class=\"wp-image-445\" srcset=\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_9_THERMAL-1024x770.png 1024w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_9_THERMAL-300x226.png 300w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_9_THERMAL-768x578.png 768w, https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/POD_VECTOR_9_THERMAL.png 1077w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/li><\/ul><figcaption class=\"blocks-gallery-caption\">POD vectors 1 to 9<\/figcaption><\/figure>\n\n\n\n<p><\/p>\n<\/div>\n<\/div>\n<\/div><\/div>\n\n\n\n<p>Obviously we see that POD vectors are only loosely connected to normal modes. In this particular case, the mass (thermal inertia) is homogeneous, hence the very first POD and normal modes are somehow similar, but this is not the case for the other modes: POD vectors corresponds to temperature distribution that are <em>actually <\/em>existing in the solution (based on the specific loading applied, both space and time-wise), ranging them in terms of contribution, while normal modes capture <em>all<\/em> <em>possible<\/em> temperature distributions, ranging them from lowest to highest \u00abstrain energy\u00bb (or, in thermal terms, from the longest to the shortest time constant).<\/p>\n\n\n\n<p>To reiterate, normal modes are orthogonal with respect to the \u00abmass\u00bb and \u00abstiffness\u00bb matrices (here, thermal capacity and conductivity) while POD vectors are orthogonal with each other. So far, so good. Now, we have a means to compress data, in our case from 228 nodal values per time point down to a mere dozen.<\/p>\n\n\n\n<p>A word of caution about threshold : in ANSYS, this is interpreted as the ratio of the current eigenvalue to the first (largest one). To clarify this, one can inspect the sigma matrix (which is actually a diagonal matrix, and stored as a vector). Dumping this vector to a text file one can readily check that actually, by requiring a threshold of 1e-2, only the first two POD vectors were required. Also, the decreasing rate is really both <em>very<\/em> fast and <em>very <\/em>steady, as illustrated by the singular values vector entries (see below). The amplitude decreases by a factor of 10 every other POD vector, down to 1e-12. This is in total contrast with normal modes, especially with thermal problems, for which the convergence rate is generally extremely slow.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>SIGMAVEC\n- Object : C_VecPi Vector\n- Scalar : Double\n- Dim : 1000\n- In Core : 1\n- Values : \n 2.060e+04   4.001e+02   3.170e+01   1.377e+01   6.441e+00 \n 1.593e+00   4.226e-01   1.794e-01   7.203e-02   2.394e-02 \n 7.098e-03   2.147e-03   6.429e-04   2.468e-04   6.185e-05 \n 1.837e-05   4.156e-06   8.188e-07   1.779e-07   4.781e-08 \n 6.798e-09   1.133e-09   2.100e-10   4.304e-11   8.585e-12 \n 4.392e-12   2.057e-12   1.686e-12   9.462e-13   7.568e-13 \n 6.757e-13   5.885e-13   4.543e-13   4.237e-13   4.094e-13 \n 4.044e-13   3.976e-13   3.837e-13   3.814e-13   3.777e-13 \n 3.709e-13   3.666e-13   3.601e-13   3.575e-13   3.525e-13 \n 3.483e-13   3.472e-13   3.418e-13   3.386e-13   3.365e-13 \n 3.355e-13   3.311e-13   3.300e-13   3.254e-13   3.239e-13 \n 3.223e-13   3.190e-13   3.159e-13   3.124e-13   3.108e-13 \n  ...<\/code><\/pre>\n\n\n\n<p>Other tests conducted with thermal conduction\/diffusion models in the range of up to 100k DOF showed the exact same trends. It was never necessary to include more than a dozen POD vectors to achieve excellent convergence (relative error below 10^-4). The POD reduction process, by itself, never required more computation time than about one transient time step.<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Summary and Conclusion<\/h2>\n\n\n\n<p>As we know, engineering simulations generate significant quantities of output data, which are certainly not spatially random -even if the forcing function is- but always organized by the physics of the system. Hence, a compression tool like POD will find repeating patterns (correlation) between DOF responses, and find an optimal base for reduced order representation of system response, capture <em>both system dynamics and forcing function characteristics<\/em>.POD reduction will always function, on one condition: the data used for identification must be rich enough, which in turns requires the loading to be \u00abharsh\u00bb enough. (And yes, engineering judgement will still be around for a while, very much so).<\/p>\n\n\n\n<p>This nice property can be used to our advantage for situations where large data volumes must be stored. But even more important, for all situations where <em>linear<\/em> downstream analysis are to be subsequently performed, it opens the possibility to directly estimate responses by linearly combining the unitary responses of a handful of base vectors. This can be very handy for say-thermal elastic problems, for which the mechanical analysis can be obtained \u00abfor free\u00bb, once the thermal transient analysis has been performed. The additional cost of projection of the thermal solution onto the POD basis, and the estimation of the mechanical response are numerically inexpensive, and this can be invaluable when long, complex (a-periodic) transients must be analyzed.<\/p>\n\n\n\n<p>Beyond that, for truly non-linear problems, POD method allows to find the lowest dimensional space in which to search for a solution, leading to efficient model reduction techniques.<\/p>\n\n\n\n<p>Both aspects will be treated in upcoming articles so stay tuned.<\/p>\n\n\n\n<p>Happy reduction!<\/p>\n<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">References<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>[1] Brunton and Kuntz &#8211; Data Driven Science &amp; Engineering : Machine Learning, Dynamical Systems, and Control<\/li><li>[2] https:\/\/gregorygundersen.com\/blog\/2018\/12\/10\/svd\/<\/li><li>[3] https:\/\/ocw.mit.edu\/courses\/mathematics\/18-065-matrix-methods-in-data-analysis-signal-processing-and-machine-learning-spring-2018\/video-lectures\/lecture-17-rapidly-decreasing-singular-values\/<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>What are we doing here? This post may come as a surprise to many, as ANSYS APDL is at its core a tool aiming at simulating physical phenomena so that \u00abdata reduction\u00bb, being more oriented to the data analysis community, might sound a bit out-of-place. As a matter of fact, being a numerical tool, it [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[4,5],"class_list":["post-389","post","type-post","status-publish","format-standard","hentry","category-technical-literature","tag-ansys-apdl-math","tag-model-reduction"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Working Wonders with ADPL Math\u00a0- Ep 03: Data Reduction Fundamentals - Alma Consulting<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/alma-consulting.eu\/index.php\/2021\/08\/08\/working-wonders-with-adpl-math-illustrated-ep03-data-reduction\/\" \/>\n<link rel=\"next\" href=\"https:\/\/alma-consulting.eu\/index.php\/2021\/08\/08\/working-wonders-with-adpl-math-illustrated-ep03-data-reduction\/2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Working Wonders with ADPL Math\u00a0- Ep 03: Data Reduction Fundamentals - Alma Consulting\" \/>\n<meta property=\"og:description\" content=\"What are we doing here? This post may come as a surprise to many, as ANSYS APDL is at its core a tool aiming at simulating physical phenomena so that \u00abdata reduction\u00bb, being more oriented to the data analysis community, might sound a bit out-of-place. As a matter of fact, being a numerical tool, it [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/alma-consulting.eu\/index.php\/2021\/08\/08\/working-wonders-with-adpl-math-illustrated-ep03-data-reduction\/\" \/>\n<meta property=\"og:site_name\" content=\"Alma Consulting\" \/>\n<meta property=\"article:published_time\" content=\"2021-08-08T14:15:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-05-28T11:49:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image.png\" \/>\n<meta name=\"author\" content=\"admin9661\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin9661\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"12 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/alma-consulting.eu\/index.php\/2021\/08\/08\/working-wonders-with-adpl-math-illustrated-ep03-data-reduction\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/alma-consulting.eu\/index.php\/2021\/08\/08\/working-wonders-with-adpl-math-illustrated-ep03-data-reduction\/\"},\"author\":{\"name\":\"admin9661\",\"@id\":\"https:\/\/alma-consulting.eu\/#\/schema\/person\/67349dff7b3613d00b9310b853e1544c\"},\"headline\":\"Working Wonders with ADPL Math\u00a0&#8211; Ep 03: Data Reduction Fundamentals\",\"datePublished\":\"2021-08-08T14:15:23+00:00\",\"dateModified\":\"2022-05-28T11:49:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/alma-consulting.eu\/index.php\/2021\/08\/08\/working-wonders-with-adpl-math-illustrated-ep03-data-reduction\/\"},\"wordCount\":2106,\"publisher\":{\"@id\":\"https:\/\/alma-consulting.eu\/#organization\"},\"image\":{\"@id\":\"https:\/\/alma-consulting.eu\/index.php\/2021\/08\/08\/working-wonders-with-adpl-math-illustrated-ep03-data-reduction\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image.png\",\"keywords\":[\"ANSYS APDL Math\",\"Model Reduction\"],\"articleSection\":[\"Technical Literature\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/alma-consulting.eu\/index.php\/2021\/08\/08\/working-wonders-with-adpl-math-illustrated-ep03-data-reduction\/\",\"url\":\"https:\/\/alma-consulting.eu\/index.php\/2021\/08\/08\/working-wonders-with-adpl-math-illustrated-ep03-data-reduction\/\",\"name\":\"Working Wonders with ADPL Math\u00a0- Ep 03: Data Reduction Fundamentals - Alma Consulting\",\"isPartOf\":{\"@id\":\"https:\/\/alma-consulting.eu\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/alma-consulting.eu\/index.php\/2021\/08\/08\/working-wonders-with-adpl-math-illustrated-ep03-data-reduction\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/alma-consulting.eu\/index.php\/2021\/08\/08\/working-wonders-with-adpl-math-illustrated-ep03-data-reduction\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image.png\",\"datePublished\":\"2021-08-08T14:15:23+00:00\",\"dateModified\":\"2022-05-28T11:49:17+00:00\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/alma-consulting.eu\/index.php\/2021\/08\/08\/working-wonders-with-adpl-math-illustrated-ep03-data-reduction\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/alma-consulting.eu\/index.php\/2021\/08\/08\/working-wonders-with-adpl-math-illustrated-ep03-data-reduction\/#primaryimage\",\"url\":\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image.png\",\"contentUrl\":\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image.png\",\"width\":200,\"height\":273},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/alma-consulting.eu\/#website\",\"url\":\"https:\/\/alma-consulting.eu\/\",\"name\":\"Alma Consulting\",\"description\":\"No limits, except for physics\",\"publisher\":{\"@id\":\"https:\/\/alma-consulting.eu\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/alma-consulting.eu\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/alma-consulting.eu\/#organization\",\"name\":\"Alma Consulting\",\"url\":\"https:\/\/alma-consulting.eu\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/alma-consulting.eu\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2020\/06\/LOGO_V1_bis.png\",\"contentUrl\":\"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2020\/06\/LOGO_V1_bis.png\",\"width\":1579,\"height\":447,\"caption\":\"Alma Consulting\"},\"image\":{\"@id\":\"https:\/\/alma-consulting.eu\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/nicolas-jobert\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/alma-consulting.eu\/#\/schema\/person\/67349dff7b3613d00b9310b853e1544c\",\"name\":\"admin9661\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/alma-consulting.eu\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4a042c685169086f29596c15b956a482?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4a042c685169086f29596c15b956a482?s=96&d=mm&r=g\",\"caption\":\"admin9661\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Working Wonders with ADPL Math\u00a0- Ep 03: Data Reduction Fundamentals - Alma Consulting","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/alma-consulting.eu\/index.php\/2021\/08\/08\/working-wonders-with-adpl-math-illustrated-ep03-data-reduction\/","next":"https:\/\/alma-consulting.eu\/index.php\/2021\/08\/08\/working-wonders-with-adpl-math-illustrated-ep03-data-reduction\/2\/","og_locale":"en_US","og_type":"article","og_title":"Working Wonders with ADPL Math\u00a0- Ep 03: Data Reduction Fundamentals - Alma Consulting","og_description":"What are we doing here? This post may come as a surprise to many, as ANSYS APDL is at its core a tool aiming at simulating physical phenomena so that \u00abdata reduction\u00bb, being more oriented to the data analysis community, might sound a bit out-of-place. As a matter of fact, being a numerical tool, it [&hellip;]","og_url":"https:\/\/alma-consulting.eu\/index.php\/2021\/08\/08\/working-wonders-with-adpl-math-illustrated-ep03-data-reduction\/","og_site_name":"Alma Consulting","article_published_time":"2021-08-08T14:15:23+00:00","article_modified_time":"2022-05-28T11:49:17+00:00","og_image":[{"url":"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image.png","type":"","width":"","height":""}],"author":"admin9661","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin9661","Est. reading time":"12 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/alma-consulting.eu\/index.php\/2021\/08\/08\/working-wonders-with-adpl-math-illustrated-ep03-data-reduction\/#article","isPartOf":{"@id":"https:\/\/alma-consulting.eu\/index.php\/2021\/08\/08\/working-wonders-with-adpl-math-illustrated-ep03-data-reduction\/"},"author":{"name":"admin9661","@id":"https:\/\/alma-consulting.eu\/#\/schema\/person\/67349dff7b3613d00b9310b853e1544c"},"headline":"Working Wonders with ADPL Math\u00a0&#8211; Ep 03: Data Reduction Fundamentals","datePublished":"2021-08-08T14:15:23+00:00","dateModified":"2022-05-28T11:49:17+00:00","mainEntityOfPage":{"@id":"https:\/\/alma-consulting.eu\/index.php\/2021\/08\/08\/working-wonders-with-adpl-math-illustrated-ep03-data-reduction\/"},"wordCount":2106,"publisher":{"@id":"https:\/\/alma-consulting.eu\/#organization"},"image":{"@id":"https:\/\/alma-consulting.eu\/index.php\/2021\/08\/08\/working-wonders-with-adpl-math-illustrated-ep03-data-reduction\/#primaryimage"},"thumbnailUrl":"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image.png","keywords":["ANSYS APDL Math","Model Reduction"],"articleSection":["Technical Literature"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/alma-consulting.eu\/index.php\/2021\/08\/08\/working-wonders-with-adpl-math-illustrated-ep03-data-reduction\/","url":"https:\/\/alma-consulting.eu\/index.php\/2021\/08\/08\/working-wonders-with-adpl-math-illustrated-ep03-data-reduction\/","name":"Working Wonders with ADPL Math\u00a0- Ep 03: Data Reduction Fundamentals - Alma Consulting","isPartOf":{"@id":"https:\/\/alma-consulting.eu\/#website"},"primaryImageOfPage":{"@id":"https:\/\/alma-consulting.eu\/index.php\/2021\/08\/08\/working-wonders-with-adpl-math-illustrated-ep03-data-reduction\/#primaryimage"},"image":{"@id":"https:\/\/alma-consulting.eu\/index.php\/2021\/08\/08\/working-wonders-with-adpl-math-illustrated-ep03-data-reduction\/#primaryimage"},"thumbnailUrl":"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image.png","datePublished":"2021-08-08T14:15:23+00:00","dateModified":"2022-05-28T11:49:17+00:00","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/alma-consulting.eu\/index.php\/2021\/08\/08\/working-wonders-with-adpl-math-illustrated-ep03-data-reduction\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/alma-consulting.eu\/index.php\/2021\/08\/08\/working-wonders-with-adpl-math-illustrated-ep03-data-reduction\/#primaryimage","url":"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image.png","contentUrl":"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2021\/08\/image.png","width":200,"height":273},{"@type":"WebSite","@id":"https:\/\/alma-consulting.eu\/#website","url":"https:\/\/alma-consulting.eu\/","name":"Alma Consulting","description":"No limits, except for physics","publisher":{"@id":"https:\/\/alma-consulting.eu\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/alma-consulting.eu\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/alma-consulting.eu\/#organization","name":"Alma Consulting","url":"https:\/\/alma-consulting.eu\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/alma-consulting.eu\/#\/schema\/logo\/image\/","url":"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2020\/06\/LOGO_V1_bis.png","contentUrl":"https:\/\/alma-consulting.eu\/wp-content\/uploads\/2020\/06\/LOGO_V1_bis.png","width":1579,"height":447,"caption":"Alma Consulting"},"image":{"@id":"https:\/\/alma-consulting.eu\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.linkedin.com\/in\/nicolas-jobert\/"]},{"@type":"Person","@id":"https:\/\/alma-consulting.eu\/#\/schema\/person\/67349dff7b3613d00b9310b853e1544c","name":"admin9661","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/alma-consulting.eu\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4a042c685169086f29596c15b956a482?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4a042c685169086f29596c15b956a482?s=96&d=mm&r=g","caption":"admin9661"}}]}},"_links":{"self":[{"href":"https:\/\/alma-consulting.eu\/index.php\/wp-json\/wp\/v2\/posts\/389","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alma-consulting.eu\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alma-consulting.eu\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alma-consulting.eu\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alma-consulting.eu\/index.php\/wp-json\/wp\/v2\/comments?post=389"}],"version-history":[{"count":49,"href":"https:\/\/alma-consulting.eu\/index.php\/wp-json\/wp\/v2\/posts\/389\/revisions"}],"predecessor-version":[{"id":562,"href":"https:\/\/alma-consulting.eu\/index.php\/wp-json\/wp\/v2\/posts\/389\/revisions\/562"}],"wp:attachment":[{"href":"https:\/\/alma-consulting.eu\/index.php\/wp-json\/wp\/v2\/media?parent=389"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alma-consulting.eu\/index.php\/wp-json\/wp\/v2\/categories?post=389"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alma-consulting.eu\/index.php\/wp-json\/wp\/v2\/tags?post=389"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}