-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from hopr-framework/improvement.phill_postdeform
periodic hill postdeform: clearer code structure and smoother mesh
- Loading branch information
Showing
2 changed files
with
234 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
62 changes: 62 additions & 0 deletions
62
tutorials/1-13-postdeform_periodic_hill/parameter_hopr.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
|
||
! Parameters for the Ercoftac periodic hill testcase | ||
! http://www.kbwiki.ercoftac.org/w/index.php/Abstr:2D_Periodic_Hill_Flow | ||
! For Re=700, a resolution of 16x16x8 elems with bell stretching and DXmaxToDXmin = (/1.5,10.,1./) | ||
! yields approximately y+=0.8 and x+=z+=12 at the hill cusp and about half of that everywhere else. | ||
|
||
!=============================================================================== ! | ||
! OUTPUT | ||
!=============================================================================== ! | ||
ProjectName = phill ! name of the project (used for filenames) | ||
Debugvisu = F ! Write debug mesh to tecplot file | ||
|
||
DebugvisuLevel = 1 ! Level 0: visualization of linear mesh and BC | ||
! (default), Level 1: + curved surface | ||
! visualization (_SplineSurf.dat), if useCurveds | ||
NVisu = 4 ! number of visualization points per element edge, | ||
! if useCurved | ||
|
||
checkElemJacobians = T ! checks the Jacobian and scaled Jacobian for each element | ||
!=============================================================================== ! | ||
! MESH | ||
!=============================================================================== ! | ||
Mode = 11 ! 11 Curved structured block, only hexahedra | ||
nZones = 1 ! number of zones (only one possible!) | ||
nElems = (/16,16,8/) ! number of elements in each direction | ||
BCIndex = (/1,2,3,4,5,6/) ! Indices of UserDefinedBoundaries | ||
|
||
Meshtype = 1 ! Mesh Types: 1 - Cube (origin + dimensions) 2 - | ||
! Bilinear (8 points CGNS notation) 3 - Curved | ||
! (see Whichmapping) | ||
|
||
X0 = (/0.,0.,0./) | ||
DX = (/9.,3.035,4.5/) | ||
stretchType = (/3,3,0/) | ||
DXmaxToDXmin = (/1.5,10.,1./) | ||
|
||
MeshPostDeform = 5 | ||
!=============================================================================== ! | ||
! CURVED | ||
!=============================================================================== ! | ||
useCurveds = T ! T if curved boundaries defined | ||
BoundaryOrder = 4 ! choose order freely! | ||
nCurvedBoundaryLayer= 1 | ||
!=============================================================================== ! | ||
! BOUNDARY CONDITIONS | ||
!=============================================================================== ! | ||
nUserDefinedBoundaries = 6 ! number of bc's, order of bc's in cgns face order | ||
BoundaryName=BC_periodicz- | ||
BoundaryType=(/1,0,0,2/) ! (/bc-type,curved index,bc state,displacement vector/) | ||
BoundaryName=BC_wall_lower | ||
BoundaryType=(/4,0,1,0/) ! (/bc-type,curved index,bc state,displacement vector/) | ||
BoundaryName=BC_periodicx+ | ||
BoundaryType=(/1,0,0,-1/) ! (/bc-type,curved index,bc state,displacement vector/) | ||
BoundaryName=BC_wall_upper | ||
BoundaryType=(/4,0,1,0/) ! (/bc-type,curved index,bc state,displacement vector/) | ||
BoundaryName=BC_periodicx- | ||
BoundaryType=(/1,0,0,1/) ! (/bc-type,curved index,bc state,displacement vector/) | ||
BoundaryName=BC_periodicz+ | ||
BoundaryType=(/1,0,0,-2/) ! (/bc-type,curved index,bc state,displacement vector/) | ||
nVV=2 ! number of displacement vectors for periodic bc's (=number bc's) | ||
VV=(/9,0.,0./) ! displacement vector 1 for bc with (/?,?,?,+-1) | ||
VV=(/0.,0.,4.5/) ! displacement vector 2 for bc with (/?,?,?,+-2) |