ucns3d-team / UCNS3D

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

How do I apply two velocity inlet conditions to two different boundaries? #57

Closed sidkamat closed 1 year ago

sidkamat commented 1 year ago

Hi. I am trying to set up a case where I have a liquid jet get introduced in a stream of air. For this, I need two velocity inlet boundaries. The u-freestream in the UCNS3D.DAT applies to only one inlet boundary if I am not wrong. I also looked at the INFLOW function in the flow_operations.f90 module but I am not able to figure out how to assign two different velocity inlet conditions to two different boundaries.

Any help would be greatly appreciated. Thanks

SRkumar97 commented 1 year ago

Hi, may I know how you resolved your issue? I'm also stuck in the INFLOW for introducing a velocity profile.

Also, was this thread initiated by you? https://www.cfd-online.com/Forums/fluent-udf/243601-problem-using-flow-variables-inside-macro.html

Thanks!

sidkamat commented 1 year ago

Hi, may I know how you resolved your issue? I'm also stuck in the INFLOW for introducing a velocity profile.

Also, was this thread initiated by you? https://www.cfd-online.com/Forums/fluent-udf/243601-problem-using-flow-variables-inside-macro.html

Thanks!

Hi, I did not use two velocity inlet conditions. I got around the problem using a suitable initial condition.

Yes, that thread was initiated by me but that was for a completely different project.