Comments (2)
Hi @bharath-kamath705!
Step 9 of CFDPython solves the Laplace equation in a two-dimensional domain.
Numerically speaking, the variable p
is the solution vector of the Laplace equation.
In this notebook, we use a 2D NumPy array to represent the solution vector, as it is easier to conceptualize the two-dimensional discretization and to visualize (with Matplotlib) the solution in the two-dimensional domain.
We can think of the variable p
as a sequence of 1D arrays, where each array represents the solution along an horizontal gridline (starting from the bottom of the domain, up to the top).
Thus, using the definition of the L1-norm for a vector is appropriate here.
@labarba: To avoid the confusion, I think we should replace (in the notebook) "matrix" by "2D array" when talking about the variable p
.
from cfdpython.
Thanks for clarifying :)
from cfdpython.
Related Issues (20)
- Statement of need could be more clear about the target audience
- Pressure is -ve in 11th step
- 11 step, d(div(U))/dt term HOT 2
- Typo in Step 11 HOT 1
- Typo in the Poisson equation discretization in Step 11 HOT 2
- No pressure gradient in step 12? HOT 2
- Maybe there is a bug in code of Array Operations with NumPy HOT 3
- About equation 4 in step11 HOT 4
- Step 8 transpose equations typo
- CD Derivation - Step 3
- Initialization error in Step 7 HOT 1
- cfdpython HOT 1
- Disappearing viscosity term in the discrete version of Poisson-pressure equation HOT 10
- Initialization error in Step 9 HOT 1
- Step 5: matplotlib error HOT 3
- Outdated dependencies HOT 1
- Lesson 14 build_up_b
- CFD Code Writing HOT 2
- Step #4 Initial Conditions 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 cfdpython.