GithubHelp home page GithubHelp logo

Comments (3)

hpenedones avatar hpenedones commented on May 29, 2024

Thanks for raising this issue @IvanPombo and for the initiative to find fixes for it!

Let's see what we can do to find a possible deeper issue...
These seem to be the references to inductiva_sph existing so far:

https://github.com/inductiva/inductiva/search?q=inductiva_sph

image

We need to see whether we want to have the scenarios defined in inductiva-sph or directly at inductiva...

One inconsistency that I see is the following:
At the moment we already have a low-level call to SplishSplash in the inductiva package

https://github.com/inductiva/inductiva/blob/880a7d437f9f67b46059abd9f384b30e23a65440/inductiva/sph/splishsplash.py

However, the DamBreak scenario is not using it. Instead it is using the inductiva-sph to invoke

simulation = inductiva_sph.splishsplash.SPlisHSPlasHSimulation(

Maybe we can correct things at this level? Or am I missing something?

from inductiva.

IvanPombo avatar IvanPombo commented on May 29, 2024

Thanks for the deep dive @hpenedones!

This last invoke here is creating a class, which is used to write the input file that is sent into the low-level call of SplishSplash in the API. At the same time this class holds the function run which is the one needing the resources module.

Then, it also takes advantage of the FluidProperties class that describes the fluid properties, as the fluid suggests.

We could do is not import inductiva-sph at all and provide a way to write the files in inductiva. Split things for local development and API.

from inductiva.

IvanPombo avatar IvanPombo commented on May 29, 2024

The work is in progress to break the dependencies with inductiva-sph and therefore the portability to Windows clients is fixed with that! Due to this, I am closing this issue!

from inductiva.

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.