UCNS3D icon indicating copy to clipboard operation
UCNS3D copied to clipboard

How to set periodic boundary condition?

Open flyyufei opened this issue 3 years ago • 4 comments

I'm studying this solver. Thanks to the team for sharing this code.

I'm trying to compute an airfoil OAT15A with the ILES method. I set 41 grid points in the spanwise direction. The spanwise length is 0.1c. The symmetry boundary condition is set in the Pointwise software like the tutorial. The "Periodic" setting is set to 1 in the UCNS3D.DAT.

But the result is not periodic in the spanwise direction. Is there any other setting to activate the periodic boundary? Thanks.

flyyufei avatar Aug 22 '21 10:08 flyyufei

You are better off exporting the mesh in ugrid format (binary, swap bytes) where you can prescribe the periodic boundary conditions correctly and then use the UGRID translator available. The .msh fluent format might not take the correct periodic boundary condition code.

TakisCFD avatar Sep 14 '21 11:09 TakisCFD

You are better off exporting the mesh in ugrid format (binary, swap bytes) where you can prescribe the periodic boundary conditions correctly and then use the UGRID translator available. The .msh fluent format might not take the correct periodic boundary condition code.

Hello, I also encountered the problem of periodic boundary conditions, have tried for about a week still can not solve, such as setting the boundary conditions of the KHI, you can give some details of how to set the grid?

sea-jack avatar Feb 09 '22 12:02 sea-jack

Thanks to the team for sharing this code. I have a question about the boundary condition. I want to set a temperature boundary condition in the inflow for a determined temperature. I tried to use pressure and density to calculate the temperature with ideal gas equation of states. Are there any methods to set a temperature boundary condition, such as isothermal boundary or adiabatic boundary?

qhma avatar Mar 08 '23 11:03 qhma

You are better off exporting the mesh in ugrid format (binary, swap bytes) where you can prescribe the periodic boundary conditions correctly and then use the UGRID translator available. The .msh fluent format might not take the correct periodic boundary condition code.

I am also trying to set periodic boundary condition for a flat plate boundary layer case - for the spanwise directions. After exporting the grid from pointwise in UGRID format, am I supposed to use this "UGRID translator" code by creating an executable? https://github.com/ucns3d-team/UCNS3D/blob/master/scripts/translators/UGRID2NAT.f90

Additionally, are all the BCs listed for UGRID software, supported by UCNS3D? Viz. Inflow (mass), Inflow (fixed), Farfield (Riemann), etc.? Thanks a ton in advance

SRkumar97 avatar Jun 14 '23 10:06 SRkumar97