ahojukka5 / FEMTools

1 stars 1 forks source link

Compiling tests #1

Open epsi1on opened 9 years ago

epsi1on commented 9 years ago

Hello, I want to run 'FEMTools/TeeFEM/examples/platemodels.py' file, but i always get 'module not found' error, actually i'm not familiar so much with python and its IDE. I think IDE is not detected source codes of TeeFEM, can you please help me?

Thanks

ahojukka5 commented 9 years ago

Heh, this TeeFEM is some old school project I did several years ago, it's kinda abandoned nowadays and no-one is maintaining it. But still it should work, I think.

I guess this has something to do with your PYTHONPATH, try installing package with python setup.py install

Or copy-paste here the backtrace so I can see what's going on.

epsi1on commented 9 years ago

Actually i'm trying to compile your application to check your DKT element in a specific problem. I believe your DKT implementation is based on this paper: http://citeseerx.ist.psu.edu/viewdoc/download?rep=rep1&type=pdf&doi=10.1.1.208.3482

I also implemented that, but i get very strange results from my implementation! so i decided to consider a single DKT element with random coordinated nodes, say like this:

Node1: {X = 1, Y = 2, Z = 2.5} Node2: {X = 3, Y = -2, Z = 4} Node3: {X = 4, Y = 0, Z = -1/3}

with constant thickness of 0.1, E=210e9 N/m^2 and Poison ratio of 0.3

and calculate the B matrix and stiffness matrix (for linear analysis) at gaussian points and also constant transformation matrix for the element once with my own code and another time with your code and finally find out what is problem with my code... can you please help me on this by giving B matrix for above DKT element based in Gaussian points ( [0.5,0.0] , [0.5,0.5] , [0.0,0.5] ) on outputs of your code?

Thanks for making your great library open source!

ahojukka5 commented 4 years ago

You might be interested about our DKT implementation in JuliaFEM:

https://github.com/JuliaFEM/FEMPlates.jl/blob/master/src/dkt.jl

It's a different programming language but quite same looking than Python