cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

3D matrix with distances between x,y,z, coordinates

TikkaMasala
12-Amethyst

3D matrix with distances between x,y,z, coordinates

Hello

I have asked help for a computation sheet to compute settlements below a group of point loads and I have received very useful help from the forum, but I have now faced another problem while making the computation sheet.

 

The program should compute the distances R between all load points and all calculation points at all depths.

I have been able to make the program to compute the stresses below the first loading point,

but I have not been able to compute the stress below n-points.

The problem is that don't know how to form the 3D matrix with the two 2D matrixes.

 

As attached is the computation for the first load point, and my initial try for all 4 points.

 

Thanks again for your help.

4 REPLIES 4
Werner_E
25-Diamond I
(To:TikkaMasala)

Not sure if this modification does the caclulation you try to accomplish.

Bild.png

 

Thank you for your reply, but that's not what I had in mind.

 

Probably I haven't been clear enough what the aim in to computation is.

The aim is to compute stresses due to a group of point loads, below a group of  points.

This type of a program could be used for example to compute settlement of a group of tip bearing piles,

or when there are several point loads  the sheet could be used to compute settlement below any shape of loading.

 

I have now made some additional tries. As attached is my latest version.

I was able to compute the x,y and z distances between all calculation points.

Now I should make a matrix with all distances Rall between all load points and computation points at all depths.

 

The Rall matrix however does not have the correct amount of rows... the amount of rows should be 5 as is the number of rows in zall

Mathcad does not (despite many requests, complaints, and rants) deal with arrays of dimension larger than 2.  So your attempt to develop a three-dimensional array is doomed.  You may have a two dimensional array where each element is either a scalar, a vector, or a two dimensional array. 

 

You can also find (if your search is lucky) some ways to get around this restriction.

Hi

Thanks for comments and recommendations.

The calculation sheet is still a mess, but the programming seems to work now

with the aid of vectorization.

 

Announcements

Top Tags