Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set periodic boundary condition? #19

Open
flyyufei opened this issue Aug 22, 2021 · 4 comments
Open

How to set periodic boundary condition? #19

flyyufei opened this issue Aug 22, 2021 · 4 comments

Comments

@flyyufei
Copy link

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.

@TakisCFD
Copy link
Collaborator

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.

@sea-jack
Copy link

sea-jack commented Feb 9, 2022

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?

@qhma
Copy link

qhma commented Mar 8, 2023

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?

@SRkumar97
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants