Comments (2)
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.
Thank you so much Ben.
Regards,
Fernando
from flowsieve.
Related Issues (20)
- When does filter commute with derivatives? HOT 5
- Scalar Tutorial HOT 4
- Makefile for Jasmin HOT 14
- question about irregular longitude and latitude, and many times HOT 4
- Cannot find -lhdf5 HOT 9
- Specify minimum requirements for installation in documentation HOT 7
- Installation errors with gcc 10 HOT 14
- Add a copy of `constants.hpp` with the specific values in Tutorials HOT 3
- Example of usage with MPI parallelism HOT 6
- Filering on cartesian grid HOT 2
- How to make an appropriate system.mk file HOT 2
- The range to which coarse-grain is performed locally HOT 8
- ''from matpy import FiniteDiff'' failed HOT 2
- Compilation error
- Successfull compile but 'Assertion `input_nc_format == (3)' failed.' on JASMIN HPC
- Errors, compute_KE_spectra_and_slopes.cpp:(.text+0x139a): undefined reference to functions, such as `potential_vel_from_F HOT 8
- About Parallelization HOT 1
- Some improvement HOT 1
- FlowSieve to compute the kinetic energy spectrum
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flowsieve.