> Regarding functions necessary for level I: > you don't even need to implement a function to group elements and nodes and > give them a name: > it already is an SMESH fuctionality
True in Salome, False in pythonOCC. The methods related to grouping are currently not working. > So, assuming that SMESH functions are used to create a MED files with > appropriate groups, I would say that a first version of FEM.py could be > really, really simple: > - "just" a command to start the solver > (ok, and all the others for error management) I would say yes for meshing / conditions, no for starting the solver. The reason is really simple: for a trivial problem this would be doable, but I do not see how this is within scope of the PythonOCC project. Take care though; I do not know much ( if anything ) about FEM. So if you can prove me wrong, please do so. > - regarding result post-treatment, this may be more complicated, because > according to what you study, the result file to consider will not necessarily > be always the same. Well, do not forget that Salome is a good project, with impressive post processing capabilities. For sure we wouldn't like to produce a second version of Salome ;') I do think that there is sufficient reason to implement meshing and boundary / initial conditions in pythonOCC however. Meshing is well implemented for the moment, and once the missing methods on SMESH_Mesh surface, it will be easy to make a simple example. For instance, something like this tutorial by Kees Wouters would be interesting: http://www.caelinux.org/wiki/index.php/Contrib:KeesWouters/plasticity or http://code-saturne.blogspot.com/2010/02/cfd-example-laminar-flow-along-2d.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+FreeYourCfd+%28Free+your+CFD%29 So, this example _would_ contain the .comm and .export file, such to _demonstrate_ how one can achieve Code_Aster ( Code_Saturn ) integration. ( with a README that questions related to the solver should be asked on the Code_Aster forum ;') I'm very much looking forward to completing such an example! Take care, -jelle
_______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users