CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > REEF3D

Varying mesh size

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 31, 2023, 06:53
Default Varying mesh size
  #1
Member
 
Ajay Jatoliya
Join Date: Nov 2022
Posts: 66
Rep Power: 4
ajayjatoliya is on a distinguished road
Hello REEF3D Team,
I am trying to define different mesh sizes for the different zone in the x direction but I am confused about the parameters mentioned in the DiveMesh Module.
In B 121 what do N1 and X1 Signify? As shown in the image I attached should it be like ?

B 101 8
B 121 150 15 200 25 150

Thank you
Attached Images
File Type: jpg Mesh.jpg (28.2 KB, 32 views)
ajayjatoliya is offline   Reply With Quote

Old   June 1, 2023, 06:04
Default
  #2
Member
 
Felix S.
Join Date: Feb 2021
Location: Germany, Braunschweig
Posts: 88
Rep Power: 6
Felix_Sp is on a distinguished road
Hey

N1, N2, N3 are the number of cells inside the given space -> cell size x1 = length/N1. x1 and x2 are the coordinate of where the respective zone ends/ another one starts -> for your application x1 = 15, x2 = 25

Also, maybe try out B101 11 as the transitions between cell sizes are smoother, and I find that such an application is more stable. For B 127 your input would be B 127 0.05 0.1 20 10 1.1 (<- maybe play with the stretching r)

Cheers
Felix_Sp is offline   Reply With Quote

Old   June 1, 2023, 06:18
Default
  #3
Member
 
Ajay Jatoliya
Join Date: Nov 2022
Posts: 66
Rep Power: 4
ajayjatoliya is on a distinguished road
Thanks for the reply,

I tried same for B 101 5 as you mentioned but it is showing error, it seems like i am missing something
ajayjatoliya 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
[snappyHexMesh] non uniform mesh near the stl object vava10 OpenFOAM Meshing & Mesh Conversion 0 January 31, 2021 15:41
[Other] dynamicTopoFVMesh and pointDisplacement RandomUser OpenFOAM Meshing & Mesh Conversion 6 April 26, 2018 08:30
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 19:57
[snappyHexMesh] Layers:problem with curvature giulio.topazio OpenFOAM Meshing & Mesh Conversion 10 August 22, 2012 10:03
Phase locked average in run time panara OpenFOAM 2 February 20, 2008 15:37


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