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

I wannna simulate flow around a 3D square cylinder, but I make some mistakes. #100

Closed
StevenChow9527 opened this issue Jun 18, 2022 · 6 comments

Comments

@StevenChow9527
Copy link

StevenChow9527 commented Jun 18, 2022

I meet some problems that I cannot figure out. I want to use the incompact3d code to simulate flow around a 3D square cylinder. I use the "cylinder" module and then my domain is xlx=24,yly=8.zlz=3. The length and width of the square cylinder are 2 and 1,respectively. The cex and cey of the square cylinder are 8 and 1, respectively. The X left and right for the volume control are 7.0 and 9.0, respectively. The Y bottom and top for the volume control are 0 and 2.5, respectively. But there are some mistakes. After the caculation, the outcome is the following picture. The vort except the square cylinder is no changing, it is always close to zero. The inflow and outflow speed are 0.05, and the Re is 300.
The changes in the code has been put in the file in the terms of screenshots.
新建 Microsoft Word 文档 (3).docx

@pbartholomew08
Copy link
Member

Does the velocity field look reasonable?

@slaizet
Copy link
Contributor

slaizet commented Jun 29, 2022

Your inlet velocity is incorrect, why did you use 0.05 and not 1 as for the cylinder? The Reynolds is based on the freestream velocity so your actual Reynolds number is 15.

Best,

Sylvain

@wWL2771140158
Copy link

Hello, I want to realize the linear motion of the three-dimensional sphere in the Cylinder module, but I can't describe the shape of the three-dimensional sphere. The code is as follows. Can you give me some help?
image

@mathrack
Copy link
Contributor

Hello, I want to realize the linear motion of the three-dimensional sphere in the Cylinder module, but I can't describe the shape of the three-dimensional sphere. The code is as follows. Can you give me some help?

Please do not pollute an open issue with unrelated questions. It looks like you are having trouble using the code. Please use the Discussions section.

@StevenChow9527
Copy link
Author

StevenChow9527 commented Sep 27, 2022 via email

@wWL2771140158
Copy link

wWL2771140158 commented Sep 27, 2022 via email

This issue was closed.
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