Thứ Bảy, 13 tháng 6, 2020

"3 weeks" series - OpenFOAM


"3 weeks" series

Jump to navigation Jump to search In this series you will have the possibility to get a more detailed understanding of the basics of OpenFOAM. You will be able to complete it in about three weeks. It is understandable, that you are exited. Everybody is, but please do not work on the weekends. Breaks are important for the learning process. This is the reason, why the tutorials are divided into fifteen days (see figure below). Do not skip the weekends! Some time without OpenFOAM is also important. You can start by clicking Day 1 below.
Go back to Tutorials.

Installing OpenFOAM

In order to be able to complete the tutorials, you will have to install OpenFOAM. There are multiple ways to do this. First, follow the official guideline here.
Alternatively, you can follow the video tutorial of Jozsef Nagy or the written tutorial of Joel Guerrero.
If you prefer Windows 10, you can find a tutorial on installing OpenFOAM in Windows 10 here.

General overview of the "3 weeks" tutorial series

3-weeks-series
Day 1 Day 2 Day 3 Day 4 Day 5
install - first steps steps - visualization introductory course discretization theory - fun simulations - tips
Day 6 Day 7 Day 8 Day 9 Day 10
geometry and meshing turbulence 1 turbulence 2 multiphase parallelization
Day 11 Day 12 Day 13 Day 14 Day 15
programming 1 programming 2 programming 3 programming 4 programming 5

Day 1

On Day 1 you will start to get familiar with OpenFOAM. Just follow the instructions step by step and familiarize yourself with the concept of OpenFOAM, Linux, the terminal and working with dictionaries.
  • basic workflow in OpenFOAM
  • getting used to the terminal
  • meshing with the OpenFOAM internal meshing utility blockMesh
  • running simulations
  • first steps with postprocessing in Paraview

Day 2

On Day 2 you will continue with your first steps. You will get an even deeper understanding and learn the work flow of OpenFOAM with a special focus on visualization of results.
  • more detailed understanding of the work flow
  • further short and fun simulations
  • grid convergence
  • transport equations
  • detailed scientific visualization of results

Day 3

On Day 3 you will digest all the information from the previous days by listening to a talk on the basics of OpenFOAM.

Day 4

On Day 4 you will understand the theory behind OpenFOAM by taking a detailed look at the discretization of the equations and the numerical settings. We will cover a big theoretical area about
  • gradient scheme
  • gradient limiter
  • convection discretization
  • face interpolation
  • diffusion discretization
  • influence of discretization on the simulation results
  • CFL number
  • linear solvers
  • solution methods

Day 5

Day 5 is there to round off the week with some fun simulations. Also we give you links to some interesting documents, which can help you solve your problems in OpenFOAM in the future.

Day 6

Day 6 is all about meshing. In order to be able to run simulation for real life problems, you have to understand how to create an arbitrary high quality mesh and which alternatives you have in OpenFOAM. For this you will learn about
  • geometry creation
  • mesh generation

Day 7

On Day 7 we will talk about turbulence modeling, as this is one of the most important aspects in a CFD simulation. It is important to understand the models as well as the difference between them ion order to choose the correct one for a given problem. Here we will cover the following topics:
  • steady-state turbulence modeling
  • transient turbulence modeling
  • Reynolds-Averaged Navier-Stokes equations
  • Large Eddy Simulations
  • initial and boundary conditions
  • case setup

Day 8

On day 8 we continue our investigation of turbulence modeling by doing extensive parameter studies to understand the idea behind turbulence modeling, the difference between models and the actual application. After this day you will be able to choose the correct model for your own problem.

Day 9

On Day 9 we will start another important topic in CFD, multiphase modeling. It is important to understand the additional physics involved to correctly set up the simulation case and to run the simulation. We will take a look at the available models and focus on the Volume-Of-Fluid Method and run several simulations to fully understand the theory and to gain experience in the simulations.

Day 10

On Day 10 we will take a look at the possibility to parallelize simulations in OpenFOAM. This is important, as high-quality simulation setups tend to be computationally very intensive. In order to reduce computation time, you will learn about
  • the idea of parallelization
  • domain decomposition
  • steps of parallelization
  • postprocessing parallel results

Day 11

On Day 11 we will take a look at programming. Today is all about the initial steps. By now you should be able to run simulations of real life problems with OpenFOAM. In some cases models might not be implemented in the source code. OpenFOAM offers through an open source code the possibility to add models to the existing code. This might be a challenging task, but with the following tutorials, you will get a basic understanding of the work flow.

Day 12

On day 12 we will further explore the programming possibilities OpenFOAM offers to extend the source code according to our needs. First we start with a video of Professor Jasak on programming. Can you follow the other two tutorials after that?

Day 13

(https://wiki.openfoam.com)

Although you already programmed applications the days before, on Day 13 we take a look at the basics of C++ and start with simple examples, so you can view them from a C++ perspective.

Day 14

Today we continue with programming. There is only one tutorial, but this tutorial consist of multiple examples and explains a lot.

Day 15

On Day 15 we finalize our 3-weeks-series by doing a fun programming simulation and going through a couple of pages of pdf.

End of the 3-weeks-series

We reached the end of Day 15 and with that the end of the 3-weeks-series. Now, now... Let's not get emotional here. Let's think about all the great challenges and successes in your CFD career with OpenFOAM and look forward to the future.
Also you can take a look at the collection by topic, where you can find further tutorials in different topics.
With this in mind... cheers!

Thứ Tư, 10 tháng 6, 2020

Numerical Mathematics and Computing



Preface


  1. Introduction   1.1 Preliminary Remarks
    1.2 Review of Taylor Series
  2. Floating-Point Representation and Errors 2.1 Floating-Point Representation
    2.2 Loss of Significance
  3. Locating Roots of Equations 3.1 Bisection Method
    3.2 Newton's Method
    3.3 Secant Method
  4. Interpolation and Numerical Differentiation 4.1 Polynomial Interpolation
    4.2 Errors in Polynomial Interpolation
    4.3 Estimating Derivatives and Richardson Extrapolation
  5. Numerical Integration 5.1 Lower and Upper Sums
    5.2 Trapezoid Rule
    5.3 Romberg Algorithm
  6. Additional Topics on Numerical Integration 6.1 Simpson's Rule and Adaptive Simpson's Rule
    6.2 Gaussian Quadrature Formulas
  7. Systems of Linear Equations 7.1 Naive Gaussian Elimination
    7.2 Gaussian Elimination with Scaled Partial Pivoting
    7.3 Tridiagonal and Banded Systems
  8. Additional Topics on Systems of Linear Equations 8.1 Matrix Factorizations
    8.2 Iterative Solution of Linear Systems
    8.3 Eigenvalues and Eigenvectors
    8.4 Power Methods
  9. Approximation by Spline Functions 9.1 First-Degree and Second-Degree Splines
    9.2 Natural Cubic Splines
    9.3 B Splines: Interpolation and Approximation
  10. Ordinary Differential Equations 10.1 Taylor Series Methods
    10.2 Runge-Kutta Methods
    10.3 Stability, Adaptive Runge-Kutta Methods, and Multistep Methods
  11. Systems of Ordinary Differential Equations 11.1 Methods for First-Order Systems
    11.2 Higher-Order Equations and Systems
    11.3 Adams-Bashforth-Moulton Methods
  12. Smoothing of Data and the Method of Least Squares 12.1 Method of Least Squares
    12.2 Orthogonal Systems and Chebyshev Polynomials
    12.3 Other Examples of the Least Squares Principle
  13. Monte Carlo Methods and Simulation 13.1 Random Numbers
    13.2 Estimation of Areas and Volumes by Monte Carlo Techniques
    13.3 Simulation
  14. Boundary Value Problems for Ordinary Differential Equations 14.1 Shooting Method
    14.2 A Discretization Method
  15. Partial Differential Equations 15.0 Some Partial Differential Equations from Applied Problems
    15.1 Parabolic Problems
    15.2 Hyperbolic Problems
    15.3 Elliptic Problems
  16. Minimization of Multivariate Functions 16.1 One-Variable Case
    16.2 Multivariate Case
  17. Linear Programming 17.1 Standard Forms and Duality
    17.2 Simplex Method
    17.3 Approximate Solution of Inconsistent Linear Systems

Appendix A: Advice on Good Programming Practices

Appendix B: Representation of Numbers in Different Bases

Appendix C: Additional Details on IEEE Floating-Point Arithmetic

Appendix D: Linear Algebra Concepts and Notation

Answers for Selected Problems

Bibliography

Index  


C3   C6   C7

Thứ Ba, 9 tháng 6, 2020

Relationships between undrained shear strength su and liquidity index IL and water content ratio WCR


 Table 1 Relationships between undrained shear strength su and liquidity index IL and water content ratio WCR

Table 2 Undrained shear strength at liquid and plastic limits of soils (sLL, sPL) and its strength ratio (Rs). Figures in parenthesis are average or recommended values

 

Reference:

Shimobe (2020) Relationships between undrained shear strength, liquidity index, and water content.pdf

Bài giảng Excel hay


Danh sách một số bài giảng Excel hay

1. Top 50 thủ thuật Excel: https://youtu.be/MDpb90pmIM0
2. Form nhập liệu tự động: https://youtu.be/v6cVD_NbFcQ
3. Học VBA Excel full: https://youtu.be/DT0QOoLvM10
4. Pivot Table trong Excel: https://youtu.be/7BQd_7ziKb0
5. Tạo báo cáo chuyên nghiệp: https://youtu.be/yjT3-osvH4w
6. Định dạng có điều kiện: https://youtu.be/OAXQcmHJGec
7. Luyện các hàm quan trọng: https://youtu.be/f0s05bTM9Eo
8. In ấn trong Excel: https://youtu.be/VB4QnlETk0g
9. Excel cơ bản full: https://youtu.be/k81nf5TM8rc
10. Excel cho Kế toán: https://youtu.be/SPQetkB3p_E
11. Giải 101 bài thực thi: http://bit.ly/101baiThucHanh
12. Lập Trình VBA nâng cao: http://bit.ly/VBAtrongExcel
13. Hàm điều kiện IF nâng cao: https://youtu.be/7gQe3B7JcRg
14. Hướng dẫn vẽ biều đồ: https://youtu.be/y8lMmXFH8ko
15. Học 25 phím tắt trong 5 phút: https://youtu.be/fU24GY3OSTU
16. Excel cho người đi làm: http://bit.ly/excelChoNguoiDiLam
17. Toàn bộ 100 hàm Excel thông dụng: https://youtu.be/M4aX0IaaIXU
18. Top 13 thủ thuật định dạng số: https://youtu.be/eevVoEeGXcA
19. 10 Kỹ năng Excel cần biết: https://youtu.be/ZgzamzTO_po
20. 25 thủ thuật hàng đầu: https://youtu.be/guCCtlpCVhw
21. Học trang tính google sheet: https://www.youtube.com/playlist…


(Data Science & Big Data Vietnam)

Thứ Năm, 16 tháng 1, 2020

Julia Downloads Reach 12.95 Million (77% Growth Since Jan 2019)


As of Jan 1, 2020, Julia has been downloaded more than 12.95 million times - an increase of 77% in just one year. Julia use and popularity grew by double digits last year on every one of the 30+ metrics we track, including those listed below.
Cumulative Julia Growth Statistics
Total as of Jan 1, 2019
Total as of Jan 1, 2020
Growth
Number of News Articles Mentioning Julia or Julia Computing
253
468
+85%
Discourse Views (Julia Forums)
12,656,734
22,920,570
+81%
Julia Downloads (JuliaLang.org + Docker Hub + JuliaPro)
7,305,737
12,950,630
+77%
Published Citations of Julia: A Fast Dynamic Language for Technical Computing (2012) + Julia: A Fresh Approach to Numerical Computing (2017)
1,048
1,680
+60%
YouTube Julia Language Channel Views
1,013,276
1,562,223
+54%
     
    Julia Computing Pharmacometrics Webinar Featuring PumasAI and Pumas.jl: Julia Computing is hosting a free one hour Webinar on Friday Jan 24 from 12-1 pm EST (US) to discuss pharmacology modeling using Pumas.jl. The Webinar is led by Vijay Ivaturi, Professor of Pharmacology at the University of Maryland School of Pharmacy who initiated and leads the Pumas project. Please click here to register.
     
    Alan Edelman’s Sidney Fernbach Award Presentation on the ‘Power of Language’ Now Available on YouTube: Alan Edelman accepted the Sidney Fernbach Award at SC19 with a presentation on the ‘Power of Language’. This presentation is now available on YouTube. Alan is co-creator of Julia, co-founder and Chief Scientist at Julia Computing, director of the Julia Lab at MIT and Professor of Applied Mathematics at MIT. He was awarded the Sidney Fernbach Award for “outstanding breakthroughs in high-performance computing, linear algebra, and computational science and for contributions to the Julia programming language.”
     

     
    JuliaCon 2020 Deadlines: JuliaCon 2020 will take place July 27-31 at ISCTE - Instituto Universitário de Lisboa (ISCTE-IUL) in Lisbon, Portugal.
    1. JuliaCon 2020 Call for Proposals: JuliaCon 2020 proposals are due March 7, 2020. Proposal types include talks, lightning talks, minisymposia, workshops, posters and ‘Birds of a Feather’ breakout sessions. Please review submission guidelines, prepare and submit your proposal no later than March 7, 2020. Mentorship is also available for new presenters.
    2. Financial Assistance to Attend JuliaCon 2020: If financial assistance will impact your ability to attend JuliaCon 2020, please apply no later than March 7, 2020.
    3. Early Bird Ticket Discount: Early Bird Tickets are available for purchase now through April 20, 2020. Please purchase your tickets early to take advantage of discounted pricing.
    4. JuliaCon 2020 Call for Volunteers: JuliaCon runs on volunteers! Please consider signing up to volunteer. JuliaCon volunteer opportunities include:
      • Mentors for new speakers
      • Proceedings reviewers
      • Talk submission reviewers
      • Financial assistance application reviewers
      • Local/onsite voluntees
    5. JuliaCon 2020 Sponsors: JuliaCon relies on the support of sponsors. Click here for more information about becoming a JuliaCon sponsor.


    Julia #1 Most Exciting New Language for Bioinformatics: Bioinformatics scientist Albert Vilella conducted a survey and identified Julia as the #1 most exciting new language for bioinformatics
    Parallel Computing and Scientific Machine Learning: MIT instructor Chris Rackauckas has published his lecture notes on parallel computing and scientific machine learning. Lectures include introductions to Julia, scientific machine learning, code optimization, high performance computing, parallelism, ordinary differential equations, automatic differentiation, differentiable programming, GPU computing, neural networks and more.
     
    Julia for High Schoolers: Julia Computing co-founder and CTO (Tools) Keno Fischer participated in a Skype a Scientist session with students at Athens High School in Athens, Alabama. Keno discussed programming languages, supercomputers, and how to get started on programming as a high school student.
     
    Julia On the March: James Warner asks “Is Julia Set to Take Over Python the Same Way Python Took Over Java?” Click here to read more.
     
    Getting to Know Julia at 36th Chaos Communication Congress (36C3): Michael Herbst presented Getting to Know Julia at the 36th Chaos Communication Congress (36C3) in Leipzig. Click here to read more about the workshop and access workshop materials.
     
    Julia Computing Enterprise Solutions: Contact Julia Computing for more information about putting Julia to work for your organization, deploying Julia more efficiently, effectively and at scale.
    • JuliaSure: JuliaSure provides enterprise support and indemnity for organizations using Julia.
    • JuliaTeam: JuliaTeam provides enterprise governance including private and package development, deployment, management, security, support and indemnity.
    • JuliaRun: JuliaRun allows you to scale Julia deployment from a single machine to dozens or hundreds of nodes in a public or private cloud environment, including AWS, Azure or Google Cloud.
    JuliaBox 30 Day Free Trial: JuliaBox is now available with a 30 day free trial. JuliaBox is the fastest and easiest way to start using Julia right away with no download required. Register today to start your 30 day free trial.
     
    JuliaBox Academic Discount: Hundreds of students and faculty at universities around the world use JuliaBox for classroom instruction and learning. Use free and open source materials to design your own course using Julia. JuliaBox starts at just $7 per month including a 50% academic discount. Sign up online or contact Julia Computing to take advantage of the academic discount or for more information.

    Julia and Julia Computing in the News
    • InsideHPC: Julia Computing and GPU Acceleration
    • HPCWire: Julia Computing to Use Machine Learning and Differentiable Programming for Energy Applications
    • InsideHPC: Joe Landman on How the Cloud is Changing HPC
    • Economic Times : Code Decode - Newer Challenges for Professional Coders
    • Analytics Insight : Top 10 Data Science Programming Languages for 2020
    • Robots: Top 10 Artificial Intelligence Programming Languages You Must Learn In 2020
    • Go Abekawa’s Go Global : Interview with Tanmay Bakshi
    • TechBeacon: 14 Data Scientists You Should Follow on Twitter
    Julia Blog Posts
    Upcoming Julia Events
    Recent Julia Events
    Julia Jobs, Fellowships and Internships
    Do you work at or know of an organization looking to hire Julia programmers as staff, research fellows or interns? Would your employer be interested in hiring interns to work on open source packages that are useful to their business? Help us connect members of our community to great opportunities by sending us an email, and we'll get the word out.
    There are more than 300 Julia jobs currently listed on Indeed.com, including jobs at Accenture, Airbus, Amazon, AstraZeneca, AT&T, Barnes & Noble, BlackRock, Capital One, CBRE, Charles River Analytics, Citigroup, Comcast, Conde Nast, Cooper Tire & Rubber, Disney, Dow Jones, Facebook, Gallup, Genentech, General Electric, Google, Huawei, Ipsos, Johnson & Johnson, KPMG, Lockheed Martin, Match, McKinsey, NBCUniversal, Netflix, Nielsen, Novartis, OKCupid, Opendoor, Oracle, Pandora, Peapod, Pfizer, Raytheon, Spectrum, Wells Fargo, Zillow, Brown, BYU, Caltech, Dartmouth, Emory, Harvard, Johns Hopkins, Louisiana State University, Massachusetts General Hospital, MIT, Penn State, Princeton, UC Davis, University of Chicago, University of Delaware, University of Kentucky, UNC-Chapel Hill, USC, University of Virginia, Argonne National Laboratory, Federal Reserve Bank, Lawrence Berkeley National Laboratory, Los Alamos National Laboratory, National Renewable Energy Laboratory, Oak Ridge National Laboratory, Pacific Northwest National Laboratory, State of Wisconsin and many more.
    Contact Us: Please contact us if you wish to:
    • Purchase or obtain license information for Julia products such as JuliaSure, JuliaTeam, or JuliaRun
    • Obtain pricing for Julia consulting projects for your organization
    • Schedule Julia training for your organization
    • Share information about exciting new Julia case studies or use cases
    • Spread the word about an upcoming conference, workshop, training, hackathon, meetup, talk or presentation involving Julia
    • Partner with Julia Computing to organize a Julia meetup, conference, workshop, training, hackathon, talk or presentation involving Julia
    • Submit a Julia internship, fellowship or job posting
    About Julia and Julia Computing
    Julia is the fastest high performance open source computing language for data, analytics, algorithmic trading, machine learning, artificial intelligence, and other scientific and numeric computing applications. Julia solves the two language problem by combining the ease of use of Python and R with the speed of C++. Julia provides parallel computing capabilities out of the box and unlimited scalability with minimal effort. Julia has been downloaded more than 12.95 million times and is used at more than 1,500 universities. Julia co-creators are the winners of the 2019 James H. Wilkinson Prize for Numerical Software and the 2019 Sidney Fernbach Award. Julia has run at petascale on 650,000 cores with 1.3 million threads to analyze over 56 terabytes of data using Cori, one of the ten largest and most powerful supercomputers in the world.
    Julia Computing was founded in 2015 by all the creators of Julia to develop products and provide professional services to businesses and researchers using Julia.