|
[Sponsors] |
[cfMesh] with anisotropicSources: "grading" / "scaling" does not work properly? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 3, 2016, 05:21 |
with anisotropicSources: "grading" / "scaling" does not work properly?
|
#1 |
New Member
Join Date: Nov 2014
Posts: 11
Rep Power: 11 |
Hello,
as snappyHexMesh can not create proper boundary layers for my geometry, I try to use cfMesh and it makes very promising results. Unfortunately I could not find a way to add grading to my mesh. Either I do not understand the user guide correctly or there is a bug. With the following Dict, I try to implement some sort of grading from X=8 to x=16: Code:
FoamFile { version 2.0; format ascii; class dictionary; location "system"; object meshDict; } surfaceFile "Vessel_Tank.ftr"; maxCellSize 1; anisotropicSources { planeFWD { type plane; normal (1 0 0); origin (8 0 0); scalingDistance 8; scalingFactor 0.5; } } surfaceMeshRefinement { hull { additionalRefinementLevels 7; surfaceFile "Vessel_Bare.stl"; refinementThickness 0.05; } } boundaryLayers { patchBoundaryLayers { "hull.*" { nLayers 3; thicknessRatio 1.5; maxFirstLayerThickness 0.001; } } } |
|
December 6, 2016, 15:11 |
Anisotropic meshing
|
#2 | |
Senior Member
|
Hello,
It is not a bug. Your anisotropic settings mean that within 8 meters from the plane the cells shall be compressed to 50% of their original size. Therefore, the size of the cells in the x direction is 50% smaller than in other directions. The cells are compressed uniformly. Quote:
__________________
Principal Developer of cfMesh and CF-MESH+ www.cfmesh.com Social media: LinkedIn, Twitter, YouTube, Facebook, Pinterest, Instagram |
||
October 29, 2020, 07:41 |
Anisotropic mesh refinement close to free surface
|
#3 |
New Member
|
Dear Mr Juretic,
I'm using cfMesh embedded in OpenFOAM 2006. I actually believe you did a great job. I am trying to generate grids on hull and as you probably know anisostropic refinement is needed in order to well capture wave elevation. I tried different combination starting from shiptutorial but i'm not getting the a good result using anisotropic sources [box]. On the other side it seems that when I use localRefinement, the anisotropic mesh doesn't penetrate in the whole domain. I can share you privately my file if you may like to give me a short hint... kind regards max |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Global scaling - grid independency testing | Jenny | CFX | 6 | December 10, 2013 03:52 |
Could SU2_V2.0.2 work properly with continuous_adjoint.py script in parallel mode? | Tommy Chen | SU2 Shape Design | 1 | April 18, 2013 13:06 |
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Meshing & Mesh Conversion | 2 | March 27, 2011 21:11 |
ATTENTION! Reliability problems in CFX 5.7 | Joseph | CFX | 14 | April 20, 2010 15:45 |
Can 'shock waves' occur in viscous fluid flows? | diaw | Main CFD Forum | 104 | February 16, 2006 05:44 |