Incompact3d icon indicating copy to clipboard operation
Incompact3d copied to clipboard

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

Open StevenChow9527 opened this issue 3 years ago • 2 comments

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

StevenChow9527 avatar Jun 18 '22 03:06 StevenChow9527

Does the velocity field look reasonable?

pbartholomew08 avatar Jun 21 '22 10:06 pbartholomew08

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

slaizet avatar Jun 29 '22 08:06 slaizet

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

wWL2771140158 avatar Sep 20 '22 02:09 wWL2771140158

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.

mathrack avatar Sep 20 '22 02:09 mathrack

You could try to change the "zm=zp(k)" into "zm=real(k-1,mytype)*dz". Because I can not use the computer to check the code now, I would contact you at the first time if I could use my computer to see the code.

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年9月20日(星期二) 上午10:43 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [xcompact3d/Incompact3d] I wannna simulate flow around a 3D square cylinder, but I make some mistakes. (Issue #100)

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?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

StevenChow9527 avatar Sep 27 '22 09:09 StevenChow9527

Thank you so much! I'm trying your suggestion, can you give me your email so I can ask you some questions? I would be very honored if possible, thanks again for your reply.

------------------ 原始邮件 ------------------ 发件人: "xcompact3d/Incompact3d" @.>; 发送时间: 2022年9月27日(星期二) 下午5:06 @.>; @.@.>; 主题: Re: [xcompact3d/Incompact3d] I wannna simulate flow around a 3D square cylinder, but I make some mistakes. (Issue #100)

You could try to change the "zm=zp(k)" into "zm=real(k-1,mytype)*dz". Because I can not use the computer to check the code now, I would contact you at the first time if I could use my computer to see the code.

------------------ 原始邮件 ------------------ 发件人: @.>;
发送时间: 2022年9月20日(星期二) 上午10:43 收件人: @.
>;
抄送: @.>; @.>;
主题: Re: [xcompact3d/Incompact3d] I wannna simulate flow around a 3D square cylinder, but I make some mistakes. (Issue #100)

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?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.> — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>

wWL2771140158 avatar Sep 27 '22 09:09 wWL2771140158