- 9
- 114 926
Computational Domain
เข้าร่วมเมื่อ 1 ส.ค. 2022
Hello there! On this channel I will be posting videos related to computational modelling. If you are interested in the geek stuff, I'm sure you'll find this channel interesting
Coupling Neural Network with a CFD Solver
In this video, I demonstrate the process of training a physics informed neural network and implementing it in a CFD solver to create a custom boundary condition. Below you can find the link to the github repository:
Github: github.com/ComputationalDomain/wakeFoam
Resources:
- doi.org/10.1115/ICEF2022-90371
- doi.org/10.1016/j.energy.2021.121603
- doi.org/10.2514/1.J059997
- www.tfd.chalmers.se/~hani/kurser/OS_CFD_2016/FangqingLiu/openfoamFinal.pdf
Music: th-cam.com/video/qTrkTRBwZVc/w-d-xo.html
Thanks for watching, don't forget to leave a like and subscribe for more video on machine learning and fluid dynamics!
Github: github.com/ComputationalDomain/wakeFoam
Resources:
- doi.org/10.1115/ICEF2022-90371
- doi.org/10.1016/j.energy.2021.121603
- doi.org/10.2514/1.J059997
- www.tfd.chalmers.se/~hani/kurser/OS_CFD_2016/FangqingLiu/openfoamFinal.pdf
Music: th-cam.com/video/qTrkTRBwZVc/w-d-xo.html
Thanks for watching, don't forget to leave a like and subscribe for more video on machine learning and fluid dynamics!
มุมมอง: 3 416
วีดีโอ
Teaching Neural Network to Solve Navier-Stokes Equations
มุมมอง 78Kปีที่แล้ว
In this video, I demonstrate the process of building a physics informed neural network to predict the behavior of vortex shedding using the Navier-Stokes equations. Below you can find the link to the github repository: Github: github.com/ComputationalDomain/PINNs Resources: - arxiv.org/pdf/1711.10566.pdf - arxiv.org/pdf/2103.09655.pdf - th-cam.com/video/qYmkUXH7TCY/w-d-xo.html&ab_channel=AmirGh...
Simulation of an ignition process in OpenFOAM
มุมมอง 887ปีที่แล้ว
Here is a transient simulation of an ignition process of a Sandia/TUD burner. The temperature of the pilot was adjusted using a time varying boundary condition.
Solving ODE using Machine Learning
มุมมอง 9Kปีที่แล้ว
In this tutorial I explain how to solve Ordinary Differential Equations using machine learning in python. If anything was unclear to you, leave a question in the comment sections. If you enjoyed the video leave a like button and share a comment! Optimization algorithm: towardsdatascience.com/bfgs-in-a-nutshell-an-introduction-to-quasi-newton-methods-21b0e13ee504 Github: github.com/Computational...
Simulation of a Propeller in openFOAM Tutorial: Part 2/2
มุมมอง 3.6K2 ปีที่แล้ว
In this tutorial I explain how to run an incompressibl simulation of a propeller in openFOAM. If anything was unclear to you, leave a question in the comment sections. If you enjoyed the video leave a like button and share a comment! github: github.com/ComputationalDomain/Propeller
Simulation of a Propeller in openFOAM Tutorial: Part 1/2
มุมมอง 8K2 ปีที่แล้ว
In this tutorial I explain how to run an incompressibl simulation of a propeller in openFOAM. If anything was unclear to you, leave a question in the comment sections. If you enjoyed the video leave a like button and share a comment!
Lid-driven Cavity Flow in Ansys CFX
มุมมอง 5312 ปีที่แล้ว
This is a video showing a process of making a lid-driven cavity flow CFD simulation in Ansys CFX. The simulation was performed for the Reynold's number of 10, which was specified by changing kinematic viscosity. If you're interested in more content like this simply subscribe my channel. Don't forget to share your thoughts in the comment section, and perhaps leave a like! Music: th-cam.com/video...
Generating C-Mesh around Airfoil in gmsh
มุมมอง 10K2 ปีที่แล้ว
The video shows how to create a C-Mesh around an airfoil for a CFD simulation. In the video I used a python script to convert the coordinates of the airfoil into a .geo file. The mesh, geometry file and python code are in the github repository. If you enjoyed the video leave a like button and share a comment! Airfoil data: airfoiltools.com/airfoil/details?airfoil=rae69ck-il Github: github.com/C...
Dam Break Multiphase Flow Simulation in Ansys CFX
มุมมอง 7982 ปีที่แล้ว
This is a video showing a process of making a dam break CFD simulation in Ansys CFX. In case you're interested in improving the results on your own I advise to decrease the time step to 0.001 s. If you're interested in more content like this simply subscribe my channel. Don't forget to share your thoughts in the comment section, and perhaps leave a like! Music: th-cam.com/video/n68f_Oh2N1k/w-d-...
Hello, thanks very much for putting together these great tutorials. Please could I ask for some help with the SnappyHexMesh setup - after I run "snappyHexMesh -overwrite", my boundaryfile is set up with "innerCylinderSmall" and "innerCylinderSmall_slave" boundary definitions - rather than the expected "AM1" and "AMI2" boundary definitions. Please could you help me correct this :)
Could humanity one day utilize this knowledge to enhance the rheological properties of a bolus, thereby simulating an accurate, "real" human swallowing process? I'm a Speech-Language Pathologist working with patients who have Dysphagia.
Hello Sir make video on solving coupled Ode's using deepxde library
Hello Adam, I think your explanations are clear and good, and they serve me as a basis for a simulation of centrifugal compressor. I can't make it and therefore I need support. How can we talk to each other directly?
How about to create a C-Mesh if the AoA is different than zero?
I guess same procedure but you need to download .dat file of your airfoil already in that AoA.
I was thinking through your problem with LBGFS vs mini-batching like SGD or ADAM. Isn't it the case that you can shuffle your mini batches more effectively and/or involve some gradient accumulation, to prevent the overlooking of key physical constraints in the cylinder wake problem? That way you can achieve the same result without needing this much compute and the possible memory bottleneck that your solution involves?
2:53 Can anyone please explain how is the cost function (boundary conditions) obtained using supervised learning?
Thank you for this video. I have two questions in the part def loss(t): 1) why did you write u.sum() at line 3 when you want to compute the gradients? 2) why did you write [0] in the end of line 3?
hi,i replaced the obj file with my obj file but when i run the "mpirun..." , the sum of forces , moment is alway 0 all the time, can you help me
Hello, your code doesn't work. Can you help me?
amazing work!!!!! :)
With what changes would it be possible to create a model that takes as an input an unknown geometry and then predicts the velocity and pressure fields?
How did you initialize your parameters in the network?
how to deal with the derivative with respect to time?
Couldbyou make this available to download?
Hello I simply love the way you explained the physics informed neural networks and especially the coding part. Kudos!! I am new to the topic of PINNs and I just wanted to ask you can we implement a PINNs for 1st order coupled ODE system with just one independent variable? like dP/dt = f(x, y); dS/dt = g(x, P); dT/dt = h(x, y, S, T)? If yes could you please tell some examples where I can find a way to code the same? Thank you very much in advance!! Subscribed your channel as well!
Hi, from where I can get the stl file you have used?
Do you know how we can add period boundary condition to both sides ?
Does this video mean that the trained model can be generally applied to other fluid situations? Or is this only showing that such nonlinear network can approximate to the given result when trained for certain cases?
The trained model in this example can not be applied to other fluid situations.
Hi there, fantastic work. However, could you provide us a little bit about normalization process of data? Tnx
Neural networks do not give analytical or exact solutions nor do they prove the existence of solutions. There is a huge difference between exact solutions and numerical solutions.
Hey Adam, don’t understand anything but I support the channel 😂 - Erik
It helped a lot. Thank you
What if we don't have training data? No experiments no cfd. Just equations and boundary conditions
great topic, horrible audio 😨
Genuinely fascinated by the use of PINNs to accelerate computation of such important problems like this! Is it in any way possible to train something like this (even if only in 1D) on a strong pc? If so, what specs would you use? (I am planning to conduct further research into this specific use of PINNs 😅)
how can we solve this if we don't know the exact solution. explain how the loss function changes
I only used the boundary condition in the loss function and the exact solution was only used to compare the results obtained from the NN. Everything would remain the same if you didn't know the full analytical solution.
@@computational_domain okay understood now , thank you. but i want to know to find the derivative at particulat value everytime. please solve this equation {u''(x) = 0, u(0) = 0, F = A E u'(L), 0<=x<=L} here A is cross section area E is youngs modulus and L is length of the steel rod u is the elongation at a distance x from the origin I want to solve this problem using ANN but i dont understand how to define the loss for F = A E u'(L) this boundary condition
How can I get the same predicted graph of the paper with your code. 4:48 The graph your code is giving is from 0 to 50 in y-axis and 0 to 100 in x-axis. I tried changing the axis values but I was not getting the same graph as the paper.
Very nice. Thank for teaching us. When I run mine, i got the error [0] --> FOAM FATAL IO ERROR: (openfoam-2112 patch=220610) [0] Cannot find patchField entry for propellerTip [0] [0] file: processor0/0/p.boundaryField at line 11 to 42.
Help me resolve the error
can you tell how did you get cylinder_wake.mat file or how to use a particular data set for the same?
Hi! Thanks for the video, this is great. I have a question, you have an input of size (100,1); then, you use nn.Linear(1,10) to perform a transformation of the data considering the weights. However, this gives a matrix of size (100,10), which will have the same size after the Sigmoid activation. How do the neurons of the hidden layers appear in this output? I cannot get the result in terms of the typical y=sum(w_ij*x_j + b_i) where i is the ith hidden unit (neuron). Are there 100*10 units in this configuration? How many weights are set for training at this point, 100 or 100*10? Thanks for your attention to this matter
Great video. Can this still be applied when p(x) is not zero?
Solving ode!
Large language models and chat box my dad made those two connections.
Thank you very much, this is so nice! 😃 My "Problem" is, that im using PyTorch and OpenFOAM a bit, but not used to C++ to let them "talk" to each other 😞
Thanks for sharing. Notice you model the flow around cylinder that is in the wake of another cylinder. Where the two cylinders of the same diameter? When you model step cylinders , you can get interesting results such as karman vortex shedding and other phenomena. It would defnitely be of interest if you were to apply PINNs to the CFD of other geometric shapes.
عندما كنت لا أزال في المدرسة الابتدائية ، كان هناك Pawe كنت أركب دراجة التقيت به ثم ذهبت إلى الخنفساء للحصول على الآيس كريم ، وفي طريقي إلى المنزل عدت إلى المنزل
Excellent work! I've been delving into a similar area, albeit focused on the individual particle level. I've successfully trained a neural network to calculate particle dynamics in a single step, effectively replacing the need for 25 traditional computational substeps of Verlet integration. Interestingly, the network yields significantly more stable results compared to numeric integration when subjected to high-energy collisions. Unlike Verlet integration, the network simulation does not "explode". Have you experimented with your simulation at energy levels exceeding those used during training?
Parabéns, lindo
Nice start. Thank you for sharing!
Hi, your video inspired me a lot, but I would like to ask you what software did you use to generate your geometry files? When I imported my generated geometry files into openfoam, snappyHexMesh will always prompt "Unknown region name ascii for surface A". I am looking forward to your reply.
The file used in this video was downloaded from the internet. In some other projects I used the CAD softwares to create geometry in .stl format, but the software does not matter. What matter is whether the geometry file was constructed correctly. Could you tell me a bit more about the OpenFoam's error? Does is say something like "Valid region names are ..." If you contact me via email (thecomputationaldomain@gmail.com) I could try to help you out with the simulation
thank you very much, I will send the setails to you @@computational_domain
@@computational_domain Hi, I also have the same issue where I couldn't execute the snappyhexmesh command, while the error said that "Valid region names are 1(propellerStem)". Could you help me solve this problem?
Which version of OPENFOAM did you use
OpenFOAM v6, but it shouldn't matter if you use a newer version
ok,thank you
Great video! How would you expand this code to encompass other situations like systems of ODE or PDE?
In case of ODEs there's only one input parameter (e.g. x), so first I would have to change the structure of NN to include more input paratemer (e.g. x and y). As for the training, typical approach is to include the initial and boundary conditions (to minimize the loss for the output values) as well as the collocation points which are used to minimize the loss of the PDE itself. I've a video in which I trained NN to predict pressure field based on the velocity field and the Navier-Stokes equation if you're interested: th-cam.com/video/ISp-hq6AH3Q/w-d-xo.html
@@computational_domain I am very interested in employing Neural Networks to predict pressure field based on the velocity field and the Navier-Stokes equation
Dear, please let me know which software you are using in these problems?
I'm using the Jupyter notebook as the programming environment and the pytorch library for the machine learning functions
Well done! Thanks.
You should include a link to the documentation website
Exactly I am searching for why Adam is not effective. Thank you for sharing.
How much time did it take to train using LBFGS method of optimization?
Do you have colab link?
and now, to openfoam? how do i do it?