Comments (4)
Thanks for the info @glwagner!
I decided to go back and build up the spectral solver from the 1D case which now works using rfft
and irfft
as tested against analytic solutions, and I discovered a couple of bugs with my 3D solver in the process. Working on the 2D solver now and this issue + domains.jl
will be quite helpful.
from oceananigans.jl.
Great, keep us updated!
from oceananigans.jl.
Got the 1D and 2D solvers working and confirmed that they converge spectrally using your 2D wavenumber construction. Here are the tests you've been craving: test_spectral_solvers.jl
from oceananigans.jl.
This has been figured out. We have
solve_poisson_3d_ppn(f, Nx, Ny, Nz, Δx, Δy, Δz)
solve_poisson_3d_ppn!(g::RegularCartesianGrid, f::CellField, ϕ::CellField)
solve_poisson_3d_ppn_planned!(ssp::SpectralSolverParameters, g::RegularCartesianGrid, f::CellField, ϕ::CellField)
that work and pass multiple tests. The DCT is slower than the FFT (somewhat expected) and for some reason we couldn't get it to work with FFTW.rfft
but those are optimizations we can figure out later.
from oceananigans.jl.
Related Issues (20)
- Allow single column grids with a specific location HOT 1
- Error when using `OpenBoundaryCondition` with `HydrostaticFreeSurfaceModel` HOT 35
- Using `LagrangianParticles` with `Flat` topology hits wrong function dispatch when computing fractional indices HOT 1
- More / more flexible Smagorinsky models HOT 8
- Outdated docs on background diffusivity/viscosity HOT 1
- Are `GradientBoundaryCondition`s set by the outward normal component or the coordinate-aligned component? HOT 1
- Segmentation Fault when trying to run a script HOT 22
- Post-Checkpoint Output Saving Interval Issue HOT 16
- `Mem.free` is deprecated HOT 1
- Add in documentation for user defined vertical diffusivity profile in the hydrostatic model HOT 3
- Error in AveragedTimeInterval Output HOT 32
- Documentation 2.0 HOT 3
- Egregious errors in `NonhydrostaticModel` simulations on `ImmersedBoundaryGrid` when nonhydrostatic pressure is not separated HOT 21
- `cell_advection_timescale` (and CFL) does not account for `Flat` topologies HOT 1
- Support passing keyword arguments to `jldopen` when using `FieldTimeSeries` HOT 1
- `PartialCellBottom` needs to be adapted correctly for the GPU when using a `HydrostaticFreeSurfaceModel` HOT 4
- Performance benchmarks section of the README is super out of date HOT 3
- `view` fails on a `Field` indexed from `FieldTimeSeries`
- Ocenanigans license HOT 5
- Reducing parameter space usage by `LatitudeLongitudeGrid` HOT 3
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 oceananigans.jl.