Comments (4)
Maybe there is a factor of dt hidden somewhere in the code I haven't spotted yet, but I think I agree with you. This is the initial sync projection (composite over all levels) to compute the initial pressure. The quantity we are projecting is Vproj=(unew-uold)/dt. Thus the pressure increment should be pnew = pold + phi, where phi is the solution to the elliptic problem. @asalmgren do you agree? I am going offline for a few hours but can do some numerical tests to confirm later. Basically what you want to do it set "ns.init_iter" to a very large number and see if the pressure converges to something. Try it with "1/dt" and "1" in the UpdateArg1 weighting and see if anything interesting happens.
from iamr.
dt = 1
from iamr.
Aaha, I really apologize for asking this stupid question. But indeed I have not found it before. The dt is an input parameter, which equals to 1. I should be more careful next time.
Thanks, everyone.
from iamr.
Doh! The use of "dt" as the input parameter name is a bit misleading. I'll change it to "factor".
from iamr.
Related Issues (20)
- Viscous terms HOT 2
- Pressure bc at outflow
- NavierStokes::velocity_diffusion_update HOT 2
- amrex::Abort::2721::MLMG failed !!! HOT 6
- Incorrect finite difference stencils in computing vorticity magnitude HOT 2
- Spatially varying viscosity that is a function of a state variable? HOT 8
- MLMG solver issues at high density ratio HOT 7
- Force vector as a function of scalar gradients? HOT 11
- IAMR regression tests out of date HOT 2
- High density ratios with EB HOT 11
- Missing information about AMReX-Hydro in the documentation HOT 2
- Hypre blows up in first mac_sync solve for max_level>1
- Broken dependancy on `create_constrained_umac_grown` function for main branch HOT 2
- CUDA version report error on certain inputs HOT 9
- multi phase flow HOT 2
- Compile error in Getting Started HOT 10
- IAMR postprocessing bug? HOT 3
- AMReX CUDA Isssue with CUDA version 11.2/11.3/11.6/11.7 HOT 1
- Compile with CustomFunc(Particles) in Debug Mode HOT 7
- amrex::Abort::0::MLMGBndry::setBoxBC: Unknown LinOpBCType !!! SIGABRT HOT 2
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 iamr.