Search found 236 matches

Go to advanced search

by joha2
Sun Oct 06, 2019 9:35 am
Forum: FEM
Topic: FEM mesh: Create mesh groups in Python (exposing C++ functions to Python)
Replies: 17
Views: 929

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

@bernd I know I asked that already, but I cannot find where we discussed this, whether on github or here in the forum: How to implement a useful unit test for the functions? I already found Mod/Fem/femtest/App/test_mesh.py There I would implement a new method into the TestMeshCommon class, namely te...
by joha2
Sat Oct 05, 2019 5:33 pm
Forum: FEM
Topic: FEM mesh: Create mesh groups in Python (exposing C++ functions to Python)
Replies: 17
Views: 929

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

what ever fits best for you. ... I will continue to maintain a brach which will be regularly rebased on master. With this we will not have any difficaulty at the end with mergong into master. Ah OK. I already thought like this, but I wanted to be sure. :mrgreen: I've provided the splitting of C++ a...
by joha2
Sat Oct 05, 2019 7:59 am
Forum: FEM
Topic: FEM mesh: Create mesh groups in Python (exposing C++ functions to Python)
Replies: 17
Views: 929

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

*SCHNIPP* *SCHNAPP* exactly. With this one could use the methods from C++ too. *SCHNIPP* *SCHNAPP* cheers bernd Hey bernd, I ask myself: How to proceed on the development. Should I continue to add changes to the pull requested code from my fem_mesh_groups branch into your femdev branch? Best wishes...
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: 17
Views: 929

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: 17
Views: 929

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: 26296

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: 3501

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: 78
Views: 19819

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: 345

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: 624

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...

Go to advanced search