Search found 253 matches

Go to advanced search

by joha2
Fri Sep 20, 2019 8:10 am
Forum: FEM
Topic: FEM mesh: Create mesh groups in Python (exposing C++ functions to Python)
Replies: 40
Views: 3069

Re: FEM mesh: Create mesh groups in Python (exposing C++ functions to Python)

py3 fix ... https://github.com/berndhahnebach/FreeCAD_bhb/commits/femgroups python only example ... import Fem from femexamples.meshes.mesh_canticcx_tetra10 import create_nodes, create_elements fm = Fem.FemMesh() control = create_nodes(fm) print(control) control = create_elements(fm) print(control)...
by joha2
Thu Sep 19, 2019 4:46 pm
Forum: FEM
Topic: FEM mesh: Create mesh groups in Python (exposing C++ functions to Python)
Replies: 40
Views: 3069

Re: FEM mesh: Create mesh groups in Python (exposing C++ functions to Python)

wow! I will have a look! :D Hey @bernd! I will continue the discussion from github here. Maybe some of the questions are also answered in the posts above. File location of the methods: I was not sure where to put them in, and since we wanted to expose some C++ functionality to the Python code, I pu...
by joha2
Fri Aug 23, 2019 6:32 am
Forum: FEM
Topic: Fenics as Solver
Replies: 227
Views: 29040

Re: Fenics as Solver

I found a problem with the XDMF export. If GMSH creates 2nd order elements they are exportet with <TopologyType="tet_10"> which brings the XDMF importer of fenics to crash. It is also not XDMF compliant. It does work with 1st order elements as this exports<TopologyType="tetrahedron"> which is suppo...
by joha2
Sun Aug 04, 2019 2:14 pm
Forum: Users Showcase
Topic: Making CNC Machine
Replies: 10
Views: 4380

Re: Making CNC Machine

Now I am designing a CNC machine. Nice one! Keep up the good work! There is a another CNC machine project on github, with a 3 axis setup, comparable to yours: https://github.com/bcndynamics/MaduixaCNC If you don't know it already, it is maybe a useful source of information. The intention for this d...
by joha2
Fri Aug 02, 2019 7:20 pm
Forum: FEM
Topic: Topology optimization
Replies: 93
Views: 26586

Re: Topology optimization

I have written my own optimizer which is open source. (in python) In this case i use calculiX for solving the physical equation. You can optimize any problem and model which run on calculiX. There are different types of optimization: Maximize Heat-Exchange. Maximize Stiffnes. Multi physic topology ...
by joha2
Thu Aug 01, 2019 6:07 am
Forum: FEM
Topic: Buckling and Free Vibrations (without integrals or matrices)
Replies: 2
Views: 442

Re: Buckling and Free Vibrations (without integrals or matrices)

Nice one! Thanks @HarryvL! :D
by joha2
Wed Jul 31, 2019 6:20 pm
Forum: FEM
Topic: Compliant mechanism (FEM / Python)
Replies: 11
Views: 816

Re: Compliant mechanism (FEM / Python)

Right now, this is just a random meshing. The optimizer will create or fill the holes, so that the bending is more following the desired curve (which is not included right now). What is weird in your picture: The upper row and the right most column have to be fully filled like in my picture. Did yo...
by joha2
Wed Jul 31, 2019 4:22 pm
Forum: FEM
Topic: Fenics as Solver
Replies: 227
Views: 29040

Re: Fenics as Solver

I am still interested in Fenics + FC. Good to hear that... I once again searched a click-and-play alternative to comsol and finally ended up with fenics but it is not ready to do a quick study on a complex geometry within 5mins Please let me know if you have anything to test. BR, HoWil Yeah, they a...
by joha2
Tue Jul 30, 2019 5:36 pm
Forum: FEM
Topic: Fenics as Solver
Replies: 227
Views: 29040

Re: Fenics as Solver

For all still interested in using fenics in combination with FC .... I found this nice tutorial (using FC only for the geometry, and gmsh for creating the mesh externally) and thought sharing could maybe help somebody https://comphysblog.wordpress.com/2018/08/26/3d-electrostatics-using-fenics/ Nice...
by joha2
Sat Jul 27, 2019 8:54 pm
Forum: FEM
Topic: Gmsh error: Unknown element type for UNV export (MSH type 15)
Replies: 32
Views: 3208

Re: Gmsh error: Unknown element type for UNV export (MSH type 15)

bernd wrote:
Sat Jul 27, 2019 7:32 pm
might be because geo file includes Mesh.SaveAll option ... http://gmsh.info//doc/texinfo/gmsh.html ... cal-groups ?
Setting Mesh.SaveAll = 0; does not change anything. The error message remains. :-(

Go to advanced search