Git Product home page Git Product logo

pyprimemesh's People

Contributors

agvarghe avatar akaszynski avatar alejandrofernandezluces avatar anscfrisson avatar asmukane avatar dependabot[bot] avatar giovannipappalardiansys avatar hlee0122 avatar maxjprey avatar nikhilpawar159 avatar ninad-kamat avatar peng2001 avatar pipkat avatar rajesh1359 avatar raph-luc avatar rchopade7 avatar revathyvenugopal162 avatar robpasmue avatar schadha78 avatar smoraisansys avatar srpyprime avatar waltersma avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pyprimemesh's Issues

Plotting with many zones is slow

Could you share an update where you are with the refactoring the graphics issues seen with PyPrime?

Absolutely.

First, thanks Ninad for helping me get started with PyPRIME. I'd like to see the install docs and packaging (of the server) to be improved so it's not a huge pain to install, and thanks @ninad-kamat for all your help.

Were you able to reproduce the issue using pyprime? If so, were you able to identify the root cause for the issue seen?

I was able to reproduce the issue and fundamentally it comes down to a limitation with VTK:
https://discourse.vtk.org/t/vtk-is-slow-when-i-have-a-lot-of-actors-10000/2421

That being said, PyVista is also a contributor to the slowdown and I can improve the performance a bit, by as much as 50-60% depending on the platform.
pyvista/pyvista#2925

However, fundamentally the issue will still be on VTK's side. It's simply not designed to scale for 1000s of actors.

I'm researching a workaround. For now, pyvista #2925 will help a little bit.

Integrate PIM with PyPrime

Currently, when we use PIM a lot of extra customization is needed for starting a session, as well as for reading and writing files. We should have this dependency integrated within the library to provide the users a consistent experience when launching a prime session.

The changes proposed are

  1. Adding support to detect PIM configuration and launching Prime through PIM. This is especially true with Ansys Labs.
  2. When reading and writing files, we should ensure that we use the file service to upload and download the files.

Add code style to Contributing Guide

PyPrime repository has support for pre-commit and the contributing guide should explain how to use this to automatically format code. See the PyMAPDL code style guide for reference.

consolidate pipe_tee and tjunction examples

Currently two sets of geometry files with differing setup for different examples.

Geometry needs consolidating into a single complete set of files (scdoc, fmd, pmdat) with appropriate example scripts. Capping API now available and workflow could be modified to account for this rather than using wrapper.

Add an examples module

The examples module will provide users access to a few publicly available example databases as a starting point for our tutorials. This is also vital to provide test cases for unit testing.

Publish private Prime container image to Github

Publish a private Github docker image for Prime server. This is needed to run unit testing and documentation build with example gallery. This image should not be accessible to every one and is only to be used for Github Actions.

NOTE: This is not part of pyprime release

lucid create zones from labels default behaviour

if no labels are supplied all are used and the zone names are flattened. ie label1 overlaps with label2 for a portion of the face zonelets -> zone1(label1) zone2(label2) zone3(label1label2).

Avoid reliance on local ansys-api-meshing-prime wheel for install

Currently, build pipelines use --find-links deps and the local wheel to install. We need to switch to using PyAnsys PyPI in Github Actions. The major bottleneck at present for completing this is that ansys-api-meshing-prime==0.1.1 is not available on PyAnsys PyPI

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.