Comments (4)
Wrote the unit tests to calculate the order of convergence of the explicit diffusion terms. The following are observed:
- Overall order of convergence of the diffusion kernel appears to be approximately 1.5
- When only the x-derivatives for u and the y-derivatives for v are considered, the convergence is second-order. The other derivatives make use of a different kernel at the boundary, and that could be causing the unexpected order of convergence for the entire kernel.
Run the unit test to check the convergence of the explicit diffusion kernel using the following commands in the project root directory:
make unitTests/diffusionTerm
make testDiffusion
Proposal: Write simple 1-D codes to see how the diffusion kernel converges for different types of grids and stencils.
from cuibm.
The diffusion kernel is expected to show an order of convergence of approximately 1.5 in the L-2 norm. See the following iPython notebook for details:
http://nbviewer.ipython.org/urls/dl.dropbox.com/s/d18lm7okq4n089v/secondDerivative.ipynb?create=1
from cuibm.
Closing this for now and will revisit it later. I removed the direct forcing test cases because they were cluttering the repository, but will reintroduce them in a more organised way after further analysis.
from cuibm.
Lid-driven cavity does show second order convergence. The earlier issue was because the tolerance used was too large in magnitude (1e-5). Using 1e-8 with successive grid sizes of 20, 60, 180 and 540 gives the correct order of convergence. Use the script scripts/convergence/cavityRe100.py to check this, with the folder cases/convergence/cavityRe100/NavierStokes/20x20.
from cuibm.
Related Issues (20)
- Put the relevant body files inside the case folders HOT 1
- Push Olivier's documentation HOT 1
- Write automated scripts for cases in "Lift and wakes of flying snakes"
- Add restart function
- Move SLL# implementations to a branch HOT 1
- Remove generation of `run.info` file
- Fix all CPU routines HOT 1
- Add automated regression tests
- Pin points inside the body for DirectForcingSolver
- routine for free oscillation of cylinder HOT 2
- Type of Krylov solver as an input parameter
- High Reynolds Cylinder Simulations: YAML Issue HOT 3
- JOSS Reviews: Add link to API to Readme
- JOSS Reviews: Add community guidelines
- JOSS Reviews: Plots do not work for flying snake example HOT 4
- DirectForcingSolver has not been tested for multiple or moving bodies
- Use the second GPU in the workstation HOT 2
- New IBM solver HOT 1
- User option to decide type of interpolation for Direct Forcing scheme
- Optional parameters in input files HOT 1
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 cuibm.