pycalculix icon indicating copy to clipboard operation
pycalculix copied to clipboard

Actual calculix in 2022 is Version 2.19. Is pycalculix here full compatible?

Open stefano2734 opened this issue 3 years ago • 6 comments

Actual calculix is 2.19.

Is pycalculix here in good shape to version 2.19? Is version 2.19 actual base in installation of pycalculix?

i read about version 2.10 in some issues is here basic or good running.

what is here base?

stefano2734 avatar Aug 10 '22 22:08 stefano2734

Just looked this up for packaging the new version and noticed, that at the end of July, calculix-2.20 has been released.

waebbl avatar Aug 11 '22 05:08 waebbl

Thank you, do not look some days and the guys from Munich done it.

stefano2734 avatar Aug 11 '22 09:08 stefano2734

Development status on this project is inactive per the setup.py file. Some challenges on keeping this project up to date are:

  • the calculix file format changes as the solver evolves
  • there are installation scripts that are included that are dependent on upstream broken installations in mac and othe operating systems

If you want to submit a PR getting it working feel free. Or feel free to fork it

spacether avatar Aug 11 '22 22:08 spacether

What is the last compatible version of calculix for pycalculix in your installation? Others can also answer with know-how. In change-log is 2.11 by Ubuntu and 2.13 by Mac-port.

stefano2734 avatar Aug 11 '22 22:08 stefano2734

Please roll back calculix versions until it works or check the last version that was current at the time when the last pycaclulix PR went in handling the results file format.

spacether avatar Sep 19 '22 23:09 spacether

What is the last basic version of your development 2.11 or other? In 0.9.5 is this information from 2.11 for Linux to 2.13 for macOS. Version 1.1.4 is without this important information. With an error in code or example all calculix versions are not working.

jchkoch with issue #56 coupled with #69 was running 1.1.4 with calculix 2.16. Is this bugfix in actual version 1.1.4 silently included? So 2.16 would be a good start point for tests by version 2.16 and higher.

stefano2734 avatar Sep 20 '22 08:09 stefano2734

I have it working with 2.18. Haven't tried newer versions. I am not that hip with git, but here are the edits below which are fairly straightforward.

In base_classes.py:
=================
under:
RESFIELDS['force'] = 'fx,fy,fz'.split(',')
Added:
RESFIELDS['error'] = 'e'

In results_file.py
===============
Under:
                        'FORC': 'force',
added:
                        'ERROR': 'error' }
under function:
            def __modearr_nresults(self, infile):
Added:
    def _save_node_error(self, line, rfstr, time, mode='error'):
        """Saves node errors"""
        node, e  = self.__get_vals(rfstr, line)[1:]
        labs = base_classes.RESFIELDS[mode]
        vals = [e]
        adict = self.__results[time]['node'][node]
        for (label, val) in zip(labs, vals):
            adict[label] = val

feacluster avatar Dec 19 '22 19:12 feacluster

I am no longer maintaining this repo and will archive it

spacether avatar Feb 13 '24 21:02 spacether