calfem-python
calfem-python copied to clipboard
CALFEM for Python is the Python port of the CALFEM finite element toolkit. It also implements meshing function based on GMSH and triangle. Visualisation routines are implemented using visvis and matpl...
Hello, I am trying to combine 6 blocks with common faces between blocks. I have a problem when I try to mesh with an error like "Incompatible surface 28 in...
Hi, congrats on this nice library, I think it stands out among other open source libs for FEA with its simplicity and "engineer" friendly API. I try to work further...
gsmh
Traceback (most recent call last): File "C:/Users/HP/AppData/Local/Programs/Python/Python37/hkl.py", line 91, in coords, edof, dofs, bdofs, elementmarkers = mesh.create() File "C:\Users\HP\AppData\Local\Programs\Python\Python37\lib\site-packages\calfem\mesh.py", line 230, in create raise IOError("Error: Could not find GMSH. Please...
When running calfem on python 3.7.3 I get a deprecation warning for the use of np.matrix in \calfem\core.py M=np.ravel(C.I*(G*np.asmatrix(ed).T-np.matrix([0., 0., 0., -qx*L**2/(2*EA), qy*L**4/(24*EI), qy*L**3/(6*EI)]).T)) A=np.matrix([M[0],M[3]]).T B=np.matrix([M[1],M[2],M[4],M[5]]).T C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\calfem\core.py:361: PendingDeprecationWarning: the matrix...
Dear developers of calfem-matlab and calfem-python, I adapted some functions (among others eldisp2.m beam2crd.m beam2s.m) from matlab to python/matplotlib for the visualiation of OpenSees finite element framework. Can we use...
Hi, I tried the following code according to [the guide in the documentation](https://calfem-for-python.readthedocs.io/en/latest/calfem_mesh_guide.html) ``` import calfem.geometry as cfg import calfem.mesh as cfm import calfem.vis as cfv g = cfg.Geometry() g.point([0.0,...
`plante` returned a row instead of a column vector for `fe`. This caused a dimension mismatch error when assembling the force vector by `assem`, because `assem` would create a matrix...
After creating mesh, is there any way to export the lines or polygons forming the mesh? Say, the simple quad mesh in the attached image. I can export the coordinates...
Hello everyone! I'd like to express my gratitude to the development team behind the CALFEM project. I have successfully utilized your library as an [optional dependency](https://ifctruss.github.io/IfcTruss/00_General/installation.html#calfem-solver) in the project [IfcTruss](https://ifctruss.github.io/IfcTruss/)...
It is also known as [extras](https://peps.python.org/pep-0508/#extras) currently, I also use this library to solve truss system like [those](https://calfem-for-python.readthedocs.io/en/latest/examples/exs3.html) I do not require the dependencies, for example the Vis component of...