Comments (5)
I agree that this is counter-intuitive. It may take me some time to investigate what's going on. We have an experimental surface pressure solver where this doesn't happen, so it definitely seems connected to the stream function.
from veros.
Cool, yes, I'm used to a surface pressure solver in the MITgcm. Though that can be expensive and hard to parallelize.
I'm not sure what I would do if I wanted to initialize a shear flow with non-zero barotropic flow. Remove the barotropic and put that in as a stream function and just initialize u and v with the shear?
Here, where I wanted a barotropic initial flow, the solution to a mean flow definitely seemed to be not to specify vs.u
and only specify vs.psi
.
from veros.
I'm not sure what I would do if I wanted to initialize a shear flow with non-zero barotropic flow. Remove the barotropic and put that in as a stream function and just initialize u and v with the shear?
Yes that seems to be it. The streamfunction solver removes any barotropic mode from u
and v
, and adds it back based on psi
.
That's a bit awkward of course. I think I will pull in the first version of the surface pressure solver with linear free surface soon (identical to the MITgcm implementation). That should make things easier for you.
from veros.
I think, even working within the confines of the stream function solver we might consider calculating the initial steam function from the initial velocity field as an initial step. Most of your demos start from rest, but I would expect people to be more likely to know u, v rather than psi as an initial condition?
from veros.
Yes, that's a good suggestion.
from veros.
Related Issues (20)
- Non-hydrostatic solver HOT 5
- Linear solver issue when parallelising VEROS HOT 1
- Document overturning variables HOT 2
- Bathymetry in Veros HOT 1
- Changing grid resolution and a closed ITF in global_4deg setup HOT 1
- How to run Veros via MPI on a cluster with slurm? HOT 1
- How to run veros with multi-GPU HOT 5
- Perturbation to basic state variables HOT 20
- The latest model version is not displayed correctly in documentation HOT 2
- How to change the sampling frequency of Veros 1
- How to change the sampling and output frequency of veros 1_deg model ? HOT 6
- No output files generating while using mpirun with JAX HOT 18
- How to add a mask file to veros and how to call in the model setup ? HOT 15
- Output variables HOT 11
- ENH: more metadata in diagnostic outputs? HOT 2
- North Atlantic Missing assets.json HOT 2
- Set beginning and ending time for simulation? HOT 4
- Veros using 10% of CPU HOT 1
- Using the North Atlantic regional setup for other regions HOT 5
- Update function HOT 17
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 veros.