Giter Site home page Giter Site logo

Comments (2)

bastorer avatar bastorer commented on July 26, 2024 1

Hi Fernando,

Absolutely!

The seed is a starting guess to the Helmholtz solver. The kind of solver that we use in Helmholtz_projection.cpp is an iterative solver, so that it converges towards the correct Psi/Phi from an initial guess over a series of iterations. If the initial guess is "good" (i.e. somewhat reflective of the true Psi/Phi), then it could greatly reduce the time required to converge. In the absence of some known starting guess, we start with a zero solution.

Mathematically, we're trying to solve Ax=b for x, where A,b are known and A is very large and very sparse. If we have a guess x_0 for what x should be, then we can instead solve Ax' = b-Ax_0, where x'=x-x_0. If x_0 is a good guess, then b-Ax_0 will be "small" and the new problem should converge much faster than original.

One example of how to get a "good" initial guess is to solve for Psi/Phi on a coarser grid (where computational costs are lower and convergence is faster), and use those solutions as a seed for the finer grid.

Regards,
Ben

from flowsieve.

fecampos avatar fecampos commented on July 26, 2024

Thank you so much Ben.

Regards,

Fernando

from flowsieve.

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.