Just for checking
You can use this free simple laterally loaded pile software.
http://www.yongtechnology.com/pypile/
if you have any questions, please let me know.
I read all comments and I thankful for responds but I have different opinion maybe we can discuss:
the mohr-envelop theory in reality applicable for all types of material not soil only [this issue discussed in Mechanic of Materials Texts], and for all type of material failure there is no such...
LRJ you are right about phi of loose and Dense sand.
But for first part of your answer I understand you but my question is why that happen? Why same soil may have C =0 and C >0 for different type of test?
What's the theory behind all that?
Why normally consolidated clay shows sandy behavior in CU test, what I mean C=0 and phi>0 ,while it must be completely opposite of that (C>0 and phi =0 because it is cohesive soil)