Search found 209 matches

Go to advanced search

by qingfeng.xia
Sun Jan 26, 2020 8:14 pm
Forum: FEM
Topic: FEM mesh: Create mesh groups in Python (exposing C++ functions to Python)
Replies: 48
Views: 3961

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

Great Job, Joha2! It is highly desirable to have group support for FemMesh in FreeCAD. I have not got the experience in SMesh programming, but I guess you code is fine when I read througb your code. I wonder if `theID` in `int FemMesh::addGroup(const std::string TypeString, const std::string Name, c...
by qingfeng.xia
Sun Jan 26, 2020 3:59 pm
Forum: FEM
Topic: problems with Elmer results back read
Replies: 6
Views: 284

Re: problems with Elmer results back read

how about check both types of names in python code?
by qingfeng.xia
Fri Jan 24, 2020 3:14 pm
Forum: FEM
Topic: PR #3279 - Bugfix and improvement in Fluid material property in femMaterailTaskPanel
Replies: 4
Views: 241

Re: Bugfix and improvement in Fluid material property in femMaterailTaskPanel

Bug description: VolumetricThermalExpansionCoefficient is always zero ``` choose_material in FEM material task panel: _transient_material VolumetricThermalExpansionCoefficient in material data seems to have no unit or a wrong unit (reset the value): Water ``` Analysis: I think it is because this pro...
by qingfeng.xia
Fri Jan 24, 2020 2:50 pm
Forum: FEM
Topic: PR #3279 - Bugfix and improvement in Fluid material property in femMaterailTaskPanel
Replies: 4
Views: 241

Re: Bugfix and improvement in Fluid material property in femMaterailTaskPanel

Description of PR https://github.com/FreeCAD/FreeCAD/pull/3279 commit 1 Base: add VolExpansionCoeff and complete KinematicViscosity unit commit 2 Fem: add update_material_property() for FemMaterial editor Commit 1: VolExpansionCoeff quantity need to register, and KinematicViscosity is not completely...
by qingfeng.xia
Fri Jan 24, 2020 1:57 pm
Forum: FEM
Topic: PR #3279 - Bugfix and improvement in Fluid material property in femMaterailTaskPanel
Replies: 4
Views: 241

Re: Bugfix and improvement in Fluid material property in femMaterailTaskPanel

description of bug, in the UI file, viscosity and vol-expansion-coeff unit are correct, the kinematic viscosity of water is 1e-6 m^2/s fluid_materail_ui_qdesigner.png it is correctly shown in taskpanel, before I click the input field, once I click it , it change value and unit, the value changed by ...
by qingfeng.xia
Fri Jan 24, 2020 1:55 pm
Forum: FEM
Topic: PR #3279 - Bugfix and improvement in Fluid material property in femMaterailTaskPanel
Replies: 4
Views: 241

PR #3279 - Bugfix and improvement in Fluid material property in femMaterailTaskPanel

Fork to fix bug: my fork, branch fluid_material https://github.com/qingfengxia/FreeCAD/tree/fluid_material 1. commit Bug fix: Fem: Fluid material does not show in TaskPanel combobox (not imported) To reproduce: From Fem workbench, command toolbar create a fluid material, fluid material is not find i...
by qingfeng.xia
Fri Jan 24, 2020 1:44 pm
Forum: CfdOF / CFD
Topic: Progress of the general Computational Fluid Dynamics (CFD) workbench: CfdWorkbench
Replies: 22
Views: 4943

Re: Progress of the general Computational Fluid Dynamics (CFD) workbench: CfdWorkbench

I have been updating my Cfd workbench recently, to make it works with python3 and qt5 There are also several new features, 1. advance OpenFOAM bondary condition, 2. import mesh from external mesher and then setup CFD case 3 general internal field intialization GUI, sent to fem last year, without res...
by qingfeng.xia
Mon Nov 11, 2019 10:53 am
Forum: Install / Compile
Topic: How is smesh (salome mesh) module maintained in FreeCAD
Replies: 17
Views: 1022

Re: How is smesh (salome mesh) module maintained in FreeCAD

I also got segment fault, if our research project will use netgen later, I may have time to investigate. for the time being, I may leave it as it is. There is patch for netgen 6.2, not sure how good it is. netgen license is GNU Lesser General Public License v2.1. it is compatible with FC, an easy wa...
by qingfeng.xia
Sat Nov 09, 2019 1:42 pm
Forum: Install / Compile
Topic: How is smesh (salome mesh) module maintained in FreeCAD
Replies: 17
Views: 1022

Re: How is smesh (salome mesh) module maintained in FreeCAD

Good to hear this. I gave up on latest netgen and settled at 6.2.1808. But this also needs some patches to work. netgen 6.2 has been developed for 3 years, lots of change. If you mean patch is needed to work (not only to compiling), then I'd better to give up. I just use netgen in ubuntu (it may be...
by qingfeng.xia
Sat Nov 09, 2019 12:12 pm
Forum: Install / Compile
Topic: How is smesh (salome mesh) module maintained in FreeCAD
Replies: 17
Views: 1022

Re: How is smesh (salome mesh) module maintained in FreeCAD

There is some breaking change in netget master, which I think I have fixed (netgen 6.2 and occt 7.3 all from ppa). On ubuntu 16.04, the compiler gcc 5 is not high enough to compile, I spent one hour to update g++ to make it works. I will give it anther test before I post. > " why did you split out s...

Go to advanced search