User:Sudhanshu Dubey/GSOC20/logs: Difference between revisions

From FreeCAD Documentation
 
(22 intermediate revisions by the same user not shown)
Line 92: Line 92:


'''7 July:''' Installed Z88 and completed Z88 test framework ([https://github.com/Sudhanshu-Dubey14/FreeCAD_sd/commit/5b104e1a7c86fdd3269d4094665b4e5735d9f2ae Commit]). Rebased to latest FreeCAD master ([https://forum.freecadweb.org/viewtopic.php?f=18&t=44705&start=310#p414669 Forum Post]).
'''7 July:''' Installed Z88 and completed Z88 test framework ([https://github.com/Sudhanshu-Dubey14/FreeCAD_sd/commit/5b104e1a7c86fdd3269d4094665b4e5735d9f2ae Commit]). Rebased to latest FreeCAD master ([https://forum.freecadweb.org/viewtopic.php?f=18&t=44705&start=310#p414669 Forum Post]).

'''8 July:''' Improved examplegui to work with all solvers([https://github.com/Sudhanshu-Dubey14/FreeCAD_sd/commit/07f81c14cfee785dc70cbf60c476246ee4211f18 Commit]). Added else clause to new examples for invalid solvers ([https://github.com/Sudhanshu-Dubey14/FreeCAD_sd/commit/7a7b4a704f8fc33d156f1d2acd40640b1b79152b Commit])

'''9 July:''' Merged new PRs by bernd.

'''10 July:''' Changed the example of z88 testing framework to cxx_cantilever_faceload

'''11 July:''' Created self weight example ([https://github.com/Sudhanshu-Dubey14/FreeCAD_sd/commit/b14b6b27891da2c071373672ca33d4148497d0f9 Commit])

'''12 July:''' Added z88 warning to prescribeddisplacement example ([https://github.com/Sudhanshu-Dubey14/FreeCAD_sd/commit/2078f88664d33e0356642ab04afa28fcd9fed0de Commit])

'''13 July:''' Tested elmer results with SI units ([https://forum.freecadweb.org/viewtopic.php?f=18&t=47895&p=415874#p415928 Forum Post])

'''14 July:''' Renamed selfweight example ([https://forum.freecadweb.org/viewtopic.php?f=18&t=44705&start=380#p416044 Forum Post]). Tried node loads on the edge load example ([https://forum.freecadweb.org/viewtopic.php?f=18&t=44705&start=390#p416156 Forum Post]). Improved elmer solver in bimetall example to give correct results ([https://forum.freecadweb.org/viewtopic.php?f=18&t=44705&start=390#p416177 Forum Post])

'''16 July:''' Coded node load example ([https://github.com/Sudhanshu-Dubey14/FreeCAD_sd/commit/23e62ea679d7592c99e9f0531fc06501d9565bd7 Commit]). Got incorrect results.

'''17 July:''' Improved node load and edge load examples to give correct results ([https://forum.freecadweb.org/viewtopic.php?f=18&t=44705&start=400#p417038 Forum Post])

'''18 July:''' Discovered issue with FreeCAD-Elmer ([https://forum.freecadweb.org/viewtopic.php?f=18&t=44705&start=400#p417283 Forum Post]).

'''20 July:''' Wrote tests for z88 examples ([https://github.com/Sudhanshu-Dubey14/FreeCAD_sd/commit/dbed787330be1ddb9cab0f5b6b9f720394a6bb63 Commit])

'''21 July:''' Tried to debug hinged beam example ([https://forum.freecadweb.org/viewtopic.php?f=18&t=44705&start=410#p417780 Forum Post]). Rebased to get a clean history ([https://forum.freecadweb.org/viewtopic.php?f=18&t=44705&start=420#p418091 Forum Post]).

'''22 July:''' Discovered non-positive jacobians issue with Gmsh ([https://forum.freecadweb.org/viewtopic.php?f=18&t=44705&start=420#p418228 Forum Post]). Added mesh to capacitance two balls example ([https://forum.freecadweb.org/viewtopic.php?f=18&t=44705&start=430#p418354 Forum Post]) and more debugging in hinged beam example ([https://forum.freecadweb.org/viewtopic.php?f=18&t=44705&start=430#p418351 Forum Post]).

'''23 July:''' Added mesh region in capacitance two balls example ([https://forum.freecadweb.org/viewtopic.php?f=18&t=44705&p=418646#p418646 Forum Post]).

'''24 July:''' Corrected electrostatic electricforce example ([https://forum.freecadweb.org/viewtopic.php?f=18&t=44705&start=440#p419039 Forum Post])

'''25 July:''' Started working on curved pipe heat flow example ([https://forum.freecadweb.org/viewtopic.php?f=18&t=44705&start=450#p419137 Forum Post])

'''26 July:''' Created the cube capacitor example ([https://forum.freecadweb.org/viewtopic.php?f=18&t=44705&start=460#p419494 Forum Post])

'''27 July:''' Enhanced examplesgui by implementing setup on double-click, adding wait cursor and sorting on the 2nd level.

'''28 July:''' Finished Second Evaluation.

'''29 July:''' Added tests for elmer examples ([https://forum.freecadweb.org/viewtopic.php?f=18&t=44705&sid=44b19ea7e0ae2af5578ecbe1855b1475&start=470#p420099 Forum Post])

'''30 July:''' Tried to implement drop down icon for solvers in C++ ([https://forum.freecadweb.org/viewtopic.php?f=18&t=48733&p=420816#p420569 Forum Post])

'''31 July:''' Implemented drop down icons for solver and meshers ([https://forum.freecadweb.org/viewtopic.php?f=18&t=48733&p=420816#p420761 Forum Post])

== Coding Period (August 1 - August 31, 2020) ==

'''4 Aug:''' Started work on thermomech beam example ([https://forum.freecadweb.org/viewtopic.php?f=18&t=44705&start=490#p421571 Forum Post])

'''5 Aug:''' Improved thermomech beam example ([https://forum.freecadweb.org/viewtopic.php?f=18&t=44705&start=490#p421767 Forum Post])

'''8 Aug:''' Started working on Laminar flow example ([https://forum.freecadweb.org/viewtopic.php?f=18&t=44705&start=500#p422681 Forum Post])

'''9 Aug:''' Corrected Laminar flow example ([https://forum.freecadweb.org/viewtopic.php?f=18&t=44705&start=500#p422779 Forum Post])

'''11 Aug:''' Built temperature field example ([https://forum.freecadweb.org/viewtopic.php?f=18&t=44705&start=510#p423109 Forum Post])

'''13 Aug:''' Tried temperature field example with a finer mesh but the results did not match with those given in tutorial. ([https://forum.freecadweb.org/viewtopic.php?f=18&t=44705&sid=84dea8465ca55f2b08bf80e9031b7a34&start=510#p423403 Forum Post])

'''15 Aug:''' Modified laminar flow example to include freetextinput for adding custom boundary conditions. ([https://forum.freecadweb.org/viewtopic.php?f=18&t=44705&sid=84dea8465ca55f2b08bf80e9031b7a34&start=510#p423807 Forum Post])

'''18 Aug:''' Found a way to check for Netgen in python. ([https://forum.freecadweb.org/viewtopic.php?f=18&t=48733&start=30#p424338 Forum Post])

'''21 Aug:''' Resolved the issue with z88 testing in AppImage. ([https://forum.freecadweb.org/viewtopic.php?f=18&t=49594#p425303 Forum Post])

'''22 Aug:''' Started working on wiki documentation of the project. ([https://forum.freecadweb.org/viewtopic.php?f=18&t=44705&start=520#p425415 Forum Post])

'''24 Aug:''' Created final report of this project. ([https://forum.freecadweb.org/viewtopic.php?f=18&t=44705&start=520#p425910 Forum Post])

'''26 Aug:''' Completed Final evaluation.

'''27 Aug:''' Created [[FEM Examples]] wiki page.

'''30 Aug:''' Created [[FEM Example Capacitance Two Balls]] wiki page.


== TODO ==
== TODO ==
Line 125: Line 199:
✓ Write test cases for new examples
✓ Write test cases for new examples


✓ Improve ExampleGUI
* Add new capacitance example

✓ Install Z88

✓ Write test framework for z88

✓ Make exampleGUI create different solvers when selected from Solver tree.

✓ Add self weight example

✓ Add edge load example with constraint force node loads

✓ Add z88 test for all examples solvable by z88.

✓ Add new capacitance two balls example

✓ Add cube capacitor example

✓ Write test for Electrostatic examples.

✓ Add elmer test for thermomech bimetal.

* Implement drop down icon for solvers and meshers in FEM.


* Add thermal flow in curved pipe example.
* Install Z88


* Add thermo-mechanical cantilever example.
* Write test framework for z88


* Solve node load issue with Elmer.
* Write test for Electrostatic example


* Look into the non-positive jacobian issue.
* Improve ExampleGUI

Latest revision as of 23:14, 1 September 2020

Community Bonding Period (May 4 - June 1, 2020)

8 May: Created the User page and this logs page.

9 May: Segregated modules having multiple examples into single examples. Segregated ccx_cantilever_std and Segregated boxanalysis

10 May: Implemented QTreeWidget in examplesgui to open examples from the GUI. Related commit

11 May: Rebased my femexamples branch onto the FreeCAD:master branch.

12 May: Wrote my GSoC proposal in the FreeCAD wiki.

13 May: Added constraints and meshes category to the Example GUI.

14 May: Added solvers, equations and materials category to the Example GUI.

17 May: Completed hinged beam example.

19 May: Ran some FreeCAD unit tests. The results seem ok but I am not sure.

22 May: Added unit test for transform torque example. Related commit

23 May: Added unit test for hinged beam example. Related commit

24 May: Changed plain mesh to Gmsh mesh in new examples. Related commit

28 May: Changed file names to names from get_information in Example GUI. Related commit

Coding Period (June 1 - July 3, 2020)

1 June: Got electrostatics example. Installing Elmer.

2 June: Installed paraview-opt and mmg3d which are dependencies of elmer. Facing issues installing elmer which are reported in the comments at the AUR repo.

3 June: Trying to install elmerfem-git.

4 June: Installed Elmer by building it from source. Rebuilt FreeCAD to have the latest code.

5 June: Changed plain mesh to Gmsh mesh in all the examples. Tried the manager module.

6 June: Discovered the issue in manager module which was giving the UnboundLocalError. Forum Post

7 June: Added new examples to managers modules and corrected modified examples.

8 June: Integrated manager module with examplesgui. Related commit

10 June: Read the documents related to Electrostatics example given in this forum post

11 June: Created model of the electrostatic example using Part Design and Sketcher workbench.

12 June: Coded the geometry of electrostatic example.

13 June: Added material and mesh to electrostatic example.

14 June: Added constraints to electrostatic example and finished it. But it doesn't run. Commit. Related Forum Post

16 June: Created model of Constraint Section Print example. Related Commit

17 June: Added mesh and constraints to Section Print example. Commit. Getting error while executing.

18 June: Tried to build a simple Electrostatic example, faced same error while solving. Forum Post

19 June: Solved the error by adding 'RelativePermitivity' in material. Completed Electrostatic example. Commit

20 June: Tried adapting thermomech_bimetall for Elmer Solver (Forum Post). Added multibody_analysis example (Commit)

21 June: Added edge_load_calculation example (Commit).

22 June: Created new branch with cleaner history (Forum Post). Added shell thickness in edge_load_calculation example (Commit).

23 June: Added multibody_face_analysis example (Commit). Added new examples to manager module (Commit).

24 June: Rebased with FreeCAD master. Developed a method for manager module to run any example dynamically (Forum Post)

25 June: Rebased and rewrote history. Formatted code to follow flake8 conventions (Commit)

27 June: Corrected input files for transform constraint examples.

30 June: Completed the First Evaluation. Tested new PR.

1 July: Checked new capacitance example, but it crashes when geometry is clicked.

3 July: Added tests for new ccx examples following the improved way of writing tests (Forum Post).

Coding Period (July 4 - July 31, 2020)

4 July: Started working on capacitance example (Commit).

5 July Added VaccumPermittivity in capacitance example. Tested issues with GMSH. Found and removed same name issue in get_information method (Commit)

6 July: Improved ExampleGUI. Started working on Z88 test framework

7 July: Installed Z88 and completed Z88 test framework (Commit). Rebased to latest FreeCAD master (Forum Post).

8 July: Improved examplegui to work with all solvers(Commit). Added else clause to new examples for invalid solvers (Commit)

9 July: Merged new PRs by bernd.

10 July: Changed the example of z88 testing framework to cxx_cantilever_faceload

11 July: Created self weight example (Commit)

12 July: Added z88 warning to prescribeddisplacement example (Commit)

13 July: Tested elmer results with SI units (Forum Post)

14 July: Renamed selfweight example (Forum Post). Tried node loads on the edge load example (Forum Post). Improved elmer solver in bimetall example to give correct results (Forum Post)

16 July: Coded node load example (Commit). Got incorrect results.

17 July: Improved node load and edge load examples to give correct results (Forum Post)

18 July: Discovered issue with FreeCAD-Elmer (Forum Post).

20 July: Wrote tests for z88 examples (Commit)

21 July: Tried to debug hinged beam example (Forum Post). Rebased to get a clean history (Forum Post).

22 July: Discovered non-positive jacobians issue with Gmsh (Forum Post). Added mesh to capacitance two balls example (Forum Post) and more debugging in hinged beam example (Forum Post).

23 July: Added mesh region in capacitance two balls example (Forum Post).

24 July: Corrected electrostatic electricforce example (Forum Post)

25 July: Started working on curved pipe heat flow example (Forum Post)

26 July: Created the cube capacitor example (Forum Post)

27 July: Enhanced examplesgui by implementing setup on double-click, adding wait cursor and sorting on the 2nd level.

28 July: Finished Second Evaluation.

29 July: Added tests for elmer examples (Forum Post)

30 July: Tried to implement drop down icon for solvers in C++ (Forum Post)

31 July: Implemented drop down icons for solver and meshers (Forum Post)

Coding Period (August 1 - August 31, 2020)

4 Aug: Started work on thermomech beam example (Forum Post)

5 Aug: Improved thermomech beam example (Forum Post)

8 Aug: Started working on Laminar flow example (Forum Post)

9 Aug: Corrected Laminar flow example (Forum Post)

11 Aug: Built temperature field example (Forum Post)

13 Aug: Tried temperature field example with a finer mesh but the results did not match with those given in tutorial. (Forum Post)

15 Aug: Modified laminar flow example to include freetextinput for adding custom boundary conditions. (Forum Post)

18 Aug: Found a way to check for Netgen in python. (Forum Post)

21 Aug: Resolved the issue with z88 testing in AppImage. (Forum Post)

22 Aug: Started working on wiki documentation of the project. (Forum Post)

24 Aug: Created final report of this project. (Forum Post)

26 Aug: Completed Final evaluation.

27 Aug: Created FEM Examples wiki page.

30 Aug: Created FEM Example Capacitance Two Balls wiki page.

TODO

✓ To segregate modules having multiple examples into single examples.

✓ To implement QTreeWidget in examplesgui

✓ To categorise examples.

✓ To add Solver and material category

✓ To complete hinged beam example.

✓ To change file names to names from get_information

✓ Install Elmer

✓ Change plain mesh object of all examples to Gmsh object.

✓ Add all examples to managers module and integrate it with the examplesgui.

✓ Work on Elmer Electrostatics example

✓ Add mutibody_analysis example

✓ Add edge_load_calculation example

✓ Add mutibody_face_analysis example

✓ Complete Constraint Section Print example.

✓ Write test cases for new examples

✓ Improve ExampleGUI

✓ Install Z88

✓ Write test framework for z88

✓ Make exampleGUI create different solvers when selected from Solver tree.

✓ Add self weight example

✓ Add edge load example with constraint force node loads

✓ Add z88 test for all examples solvable by z88.

✓ Add new capacitance two balls example

✓ Add cube capacitor example

✓ Write test for Electrostatic examples.

✓ Add elmer test for thermomech bimetal.

  • Implement drop down icon for solvers and meshers in FEM.
  • Add thermal flow in curved pipe example.
  • Add thermo-mechanical cantilever example.
  • Solve node load issue with Elmer.
  • Look into the non-positive jacobian issue.