Sorry Sir, no idea...
I have never worked with fenics. In FEM-wb, you can generate 2D-meshes, but I cant
tell you, if they can be used in Fenics-calculations.
regards Thomas
Moderator: oliveroxtoby
Sorry Sir, no idea...
Why don't you use the XDMF and XML export functions of FreeCAD? They also work with pure 2D meshes. (If there is nothing happened during the development of FC which breaks their functionality ) Or is the problem the missing export function of boundary conditions?qingfeng.xia wrote: ↑Sun Nov 19, 2017 11:20 pm And can anyone teach me to make a 2D plane part, elbow, to test my code?
joha2 wrote: ↑Sat Nov 25, 2017 8:20 amWhy don't you use the XDMF and XML export functions of FreeCAD? They also work with pure 2D meshes. (If there is nothing happened during the development of FC which breaks their functionality ) Or is the problem the missing export function of boundary conditions?qingfeng.xia wrote: ↑Sun Nov 19, 2017 11:20 pm And can anyone teach me to make a 2D plane part, elbow, to test my code?
Best wishes
Johannes
PS: the files in the attachment were created via a sketch and a planar face in the FEM wb. I think either of them can be used by Fenics.
In the same manner you could create the elbow from the tutorial.
bernd wrote: ↑Sat Dec 02, 2017 8:20 pm it's in master ...
I did a lot rebase today, all my other dev branches. I gave the branch of qing a try too. https://github.com/berndhahnebach/FreeC ... gmshexport But I did not test it at all. ...
you may have a look at https://github.com/berndhahnebach/FreeC ... gmshexport tooqingfeng.xia wrote: ↑Mon Apr 09, 2018 12:22 pm I should soon test CFDworkbench it again on FreeCAD 0.17, make Fenics and OpenFOAM in CFD module work with stable 0.17 release.