ucns3d-team / UCNS3D

Unstructured Compressible Navier Stokes 3D code (UCNS3D)
https://ucns3d.com
GNU General Public License v3.0
244 stars 90 forks source link

I'd like to ask how to add velocity-inlet, pressure-outlet, wall,etc, boundary condition to the code #13

Open aeroacoustic opened 3 years ago

aeroacoustic commented 3 years ago

Sorry for this simple question, I'm a beginner in CFD. I'd like to know how to add normal boundary conditions to the code, the Readme.txt said that you can find all those boundary condition codes in the translate.f90, but I don't know where to find them and how to use it. For example, I want to simulate a jet flow, now I would prefer a hyperbolic tangent velocity distribution for the velocity-inlet boundary condition, so how can I do this thing? thanks a lot!

TakisCFD commented 3 years ago

You have to specify those at the boundarys subroutine in the flow operations module.