CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [Other] Flume mesh (https://www.cfd-online.com/Forums/openfoam-meshing/144959-flume-mesh.html)

Antoniorp November 25, 2014 06:05

Flume mesh
 
Hello everyone,

I'm trying to mesh a wave flume with 45m length, 1m width and 1.2m total depth. Additionally, i want to measure horizontal velocity and horizontal velocity amplitude and second order quantities in the middle of the flume, so at 22,5m length.

Bearing this, i adopted a mesh with 3 blocks, one from 0-22m, another one from 22-23m and the last one from 23-45m, with width and depth of 1 and 1,2 respectively, for all the blocks.

My first question is if this is the better/easier way to do the mesh?

Also, at the 22,5m where i need to do the measurements, i need something like 30 - 40 points beneath the water surface, which will be at approximately 0,5m from the bottom of the flume. So i think i will need something like 100 cells in the z direction.

But this makes the runs very long, so i would like to know if there is another way around this.

Thank you all

António

cutter December 15, 2014 12:37

Hi,

you might try to create the mesh using snappyHexMesh or cartesianMesh (part of cfMesh, my preference). This way you could use a coarse mesh in the flume and multiple levels (when necessary) of refinement regions towards the center of your domain. This way you avoid the fine spatial discretization in vertical direction within the rest of the domain.

Depending on the required accuracy you don't need to discretize for all of your measurement points. The values can be interpolated using probe function objects.

Good luck!
Cutter


All times are GMT -4. The time now is 00:35.