GithubHelp home page GithubHelp logo

Comments (10)

akaszynski avatar akaszynski commented on July 17, 2024 2

@MaxJPRey, would it be possible for you to address @mjc865's point here?

from pymapdl-reader.

MaxJPRey avatar MaxJPRey commented on July 17, 2024 1

@akaszynski Yes, we will work on a fix for this issue. Thanks for the notification.

from pymapdl-reader.

germa89 avatar germa89 commented on July 17, 2024 1

@mjc865 can you share a minimum working example?

from pymapdl-reader.

akaszynski avatar akaszynski commented on July 17, 2024

Hi @kiluam,

Looks like there's some work to do updating the legacy reader. I'm moving the issue to the legacy reader so we can track (and fix) it there.

from pymapdl-reader.

akaszynski avatar akaszynski commented on July 17, 2024

Following up to this issue: 2021R2 result files can be read by ansys-mapdl-reader, if this is failing for specific result files, I'll need a minimum working example and sample file (ideally small) to be able to debug the issue.

from pymapdl-reader.

lars-bittrich avatar lars-bittrich commented on July 17, 2024

Maybe I can add some more information here: I investigated the issue and found out, that these new result files seem to use zlib compression at least for the element types. binary_reader.cpp does read the zlib flag but does not act on it in any way. Is there any documentation on this zlib compression available? I also try to get a minimal example. My current ones are more than 100MB.

from pymapdl-reader.

lars-bittrich avatar lars-bittrich commented on July 17, 2024

Just as an update. So far I did not manage to get any small example because this zlib compression does seem to be activated only for big files. On the other hand, the zlib compression is fairly simple and the data read in each record just needs to be passed to zlib uncompress. I do not know how to handle all dependencies on C level here and it needs to be implemented in a lot of different but similar functions of binary_reader.cpp. One other way would be the use of the python zlib module that already implements everything needed in zlib.decompress. But still for my example which I got with and without compression active I could verify that all data matches exactly the uncompressed data if processed by zlib uncompress.

from pymapdl-reader.

mjc865 avatar mjc865 commented on July 17, 2024

Hi @akaszynski , is this on the roadmap for a fix? I can probably generate an example file if you need one. We may need to move to a newer ANSYS release at some point in the near future and it would be nice to have the legacy reader working, since I use it to get the ANSYS results into MATLAB. I'm using the legacy reader because it does not require ANSYS to be installed on the computer. Thanks

from pymapdl-reader.

mjc865 avatar mjc865 commented on July 17, 2024

@lars-bittrich which element types are activating the zlib compression? I can't seem to get an example using 2021R2 Workbench with SOLID186 and SOLID187 elements.

from pymapdl-reader.

MaxJPRey avatar MaxJPRey commented on July 17, 2024

Adding @germa89 for visibility.

from pymapdl-reader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.