CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[mesh manipulation] Mirroring flow around cylinder tutorial

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 3, 2018, 14:25
Unhappy Mirroring flow around cylinder tutorial
  #1
New Member
 
Davide
Join Date: Jun 2017
Posts: 17
Rep Power: 8
Davide95 is on a distinguished road
Dear Foamers

I need to analyze the flow past a cylinder with some HRL methods.

I found that for HRL and LES it is strongly suggested to use structured grids.
I am not capable of using blockMesh but I found a tutorial https://www.openfoam.com/documentati...utorialse3.php which exactly makes the geometry I need but halved.


Since I want to perform an unsteady simulation I need the whole cylinder.

How can I mirror the mesh in order to obtain the whole cylinder?


I tried mirrorMesh but while mirroring on a plane normal to X-axis works (even if it is not what I need) when I mirror with a plane normal to Y-axis ParaFoam crushes.


Is there a way to mirror the mesh ?


PS


The geometry can be seen in the link btw X axis is parallel to the flow direction and the base of the cylinder lies on the X-Y axis.



Best regards

Davide
Davide95 is offline   Reply With Quote

Old   August 6, 2018, 13:04
Default
  #2
Senior Member
 
Join Date: Aug 2015
Posts: 494
Rep Power: 14
clapointe is on a distinguished road
After looking at the tutorial, mirrorMesh probably caused paraview to crash because it complained about symmetryPlanes not being planar (at least I got it to). That being said, changing the symmetryPlanes to patches -- and the associated boundary conditions -- removes the error. I've attached a modified version of the tutorial that successfully uses mirrorMesh to mesh the full cylinder.

Caelan
Attached Files
File Type: gz cylinderMeshEx.tar.gz (3.6 KB, 20 views)
clapointe is offline   Reply With Quote

Old   August 14, 2018, 07:00
Default
  #3
New Member
 
Davide
Join Date: Jun 2017
Posts: 17
Rep Power: 8
Davide95 is on a distinguished road
Dear clapointe


First of all sorry for the late answer.
I didn't have access to internet and I couldn't see your message.


While waiting I solved the problem just writing the missing vertices, arcs and blocks but was long and boring so in the future I will use your answer for sure =)


Thanks a lot =)



Davide
Davide95 is offline   Reply With Quote

Old   March 31, 2022, 07:43
Default wrong drag coefficient of the tutorial
  #4
New Member
 
Runxin Luo
Join Date: Mar 2022
Posts: 6
Rep Power: 4
Naive is on a distinguished road
Dear, I have just ran the case but it seems to have something wrong with the drag coefficient.The drag coefficient is actually 1.35 when Re=100,but it gives the Cd = 0.3, and the lift coefficient is also strange.Have you done a similar verification?
Naive is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Issues on the simulation of high-speed compressible flow within turbomachinery dowlee OpenFOAM Running, Solving & CFD 11 August 6, 2021 06:40
Drag force coefficient too high for a flow past a cylinder using komega sst Scabbard OpenFOAM Running, Solving & CFD 37 March 21, 2016 16:16
benchmark: flow over a circular cylinder goodegg Main CFD Forum 12 January 22, 2013 11:47
flow around a cylinder pXYZ Main CFD Forum 14 July 25, 2011 10:05
1 Was FSI for a flow over a cylinder vmlxb6 CFX 17 May 16, 2011 02:29


All times are GMT -4. The time now is 12:37.