Tecplot绘图代码-U42-BS212-gradpost-pptmk-UPT视频制作PPT

1_defm3dImg.mcr

#!MC 1410
$!PAGECONTROL CLEAR
$!ReadDataSet  '"StandardSyntax" "1.0" "FEALoaderVersion" "436" "FILENAME_File" "C:\myPC\myFile\SJTU_U42\BS212_UPT\postpro\case\system\controlDict" "AutoAssignStrandIDs" "Yes"'
  DataSetReader = 'OpenFOAM (FEA)'
$!FrameName = 'alpha1 at 1.5'
$!ThreeDView 
  PSIAngle = 135.0
  ThetaAngle = 0.0
  AlphaAngle = 90.0
  ViewerPosition
    {
    X = 0.7238795755957992
    Y = -5.618316215466551
    Z = -5.733853285837701
    }
  ViewWidth = 1.42255
$!GlobalTime SolutionTime = 1.5
$!ActiveFieldMaps -= [2]
$!ActiveFieldMaps -= [3]
$!ActiveFieldMaps -= [4]
$!ActiveFieldMaps -= [5]
$!ActiveFieldMaps -= [6]
$!ActiveFieldMaps -= [7]
$!IsoSurfaceLayers Show = Yes
$!IsoSurfaceAttributes 1  DefinitionContourGroup = 1
$!SetContourVar 
  Var = 'alpha1'
  ContourGroup = 1
$!ContourLevels Add
  ContourGroup = 1
  RawData
1
0.5
$!IsoSurfaceAttributes 1  Shade{Show = Yes}
$!IsoSurfaceAttributes 1  IsoSurfaceSelection = OneSpecificValue
$!IsoSurfaceAttributes 1  Isovalue1 = 0.5
$!IsoSurfaceAttributes 1  Contour{Show = No}
$!IsoSurfaceAttributes 1  Shade{Color = Red}
$!ThreeDAxis FrameAxis{Show = No}
$!View Fit
  ConsiderBlanking = Yes
$!FrameLayout ShowBorder = No
$!FieldLayers ShowEdge = Yes
$!FieldMap [1]  EdgeLayer{Show = Yes}

$!CreateNewFrame 
  XYPos
    {
    X = 1.0
    Y = 0.25
    }
  Width = 9.0
  Height = 8.0
$!PlotType = Cartesian3D
$!FrameLayout IsTransparent = Yes
$!FrameLayout ShowBorder = No
$!FrameName = 'alpha1 at 3.0'
$!ThreeDView 
  PSIAngle = 135.0
  ThetaAngle = 0.0
  AlphaAngle = 90.0
  ViewerPosition
    {
    X = 0.7238795755957992
    Y = -5.618316215466551
    Z = -5.733853285837701
    }
  ViewWidth = 1.42255
$!GlobalTime SolutionTime = 3.0
$!ActiveFieldMaps -= [2]
$!ActiveFieldMaps -= [3]
$!ActiveFieldMaps -= [4]
$!ActiveFieldMaps -= [5]
$!ActiveFieldMaps -= [6]
$!ActiveFieldMaps -= [7]
$!IsoSurfaceLayers Show = Yes
$!IsoSurfaceAttributes 1  DefinitionContourGroup = 1
$!SetContourVar 
  Var = 'alpha1'
  ContourGroup = 1
$!ContourLevels Add
  ContourGroup = 1
  RawData
1
0.5
$!IsoSurfaceAttributes 1  Shade{Show = Yes}
$!IsoSurfaceAttributes 1  IsoSurfaceSelection = OneSpecificValue
$!IsoSurfaceAttributes 1  Isovalue1 = 0.5
$!IsoSurfaceAttributes 1  Contour{Show = No}
$!IsoSurfaceAttributes 1  Shade{Color = Blue}
$!ThreeDAxis FrameAxis{Show = No}
$!View Fit
  ConsiderBlanking = Yes
$!FrameLayout ShowBorder = No
$!FieldLayers ShowEdge = Yes
$!FieldMap [1]  EdgeLayer{Show = Yes}
$!CreateNewFrame 
  XYPos
    {
    X = 2.4
    Y = 1.55
    }
  Width = 6.3
  Height = 5.5
$!FrameLayout ShowBorder = No
$!FrameLayout IsTransparent = Yes
$!FrameName = 'Frame Front'
$!RedrawAll
$!ExportSetup ExportFormat = JPEG
$!ExportSetup ExportRegion = CurrentFrame
$!ExportSetup ImageWidth = 1000
$!ExportSetup ExportFName = 'C:\myPC\myFile\SJTU_U42\BS212_UPT\postpro\defm3d.jpeg'
$!Export 
  ExportRegion = CurrentFrame
# $!QUIT

2_defm3dAvi.mcr

#!MC 1410
$!PAGECONTROL CLEAR
$!ReadDataSet  '"StandardSyntax" "1.0" "FEALoaderVersion" "436" "FILENAME_File" "C:\myPC\myFile\SJTU_U42\BS212_UPT\postpro\case\system\controlDict" "AutoAssignStrandIDs" "Yes"'
  DataSetReader = 'OpenFOAM (FEA)'
$!FrameName = 'alpha1 at 1.5'
$!ThreeDView 
  PSIAngle = 135.0
  ThetaAngle = 0.0
  AlphaAngle = 90.0
  ViewerPosition
    {
    X = 0.7238795755957992
    Y = -5.618316215466551
    Z = -5.733853285837701
    }
  ViewWidth = 1.42255
$!GlobalTime SolutionTime = 0.1
$!ActiveFieldMaps -= [2]
$!ActiveFieldMaps -= [3]
$!ActiveFieldMaps -= [4]
$!ActiveFieldMaps -= [5]
$!ActiveFieldMaps -= [6]
$!ActiveFieldMaps -= [7]
$!IsoSurfaceLayers Show = Yes
$!IsoSurfaceAttributes 1  DefinitionContourGroup = 1
$!SetContourVar 
  Var = 'alpha1'
  ContourGroup = 1
$!ContourLevels Add
  ContourGroup = 1
  RawData
1
0.5
$!IsoSurfaceAttributes 1  Shade{Show = Yes}
$!IsoSurfaceAttributes 1  IsoSurfaceSelection = OneSpecificValue
$!IsoSurfaceAttributes 1  Isovalue1 = 0.5
$!IsoSurfaceAttributes 1  Contour{Show = No}
$!IsoSurfaceAttributes 1  Shade{Color = Red}
$!ThreeDAxis FrameAxis{Show = No}
$!View Fit
  ConsiderBlanking = Yes
$!FrameLayout ShowBorder = No
$!FieldLayers ShowEdge = Yes
$!FieldMap [1]  EdgeLayer{Show = Yes}
$!FrameLayout BackgroundColor = Blue
$!ExportSetup ExportFormat = AVI
$!ExportSetup ImageWidth = 1001
$!ExportSetup AnimationSpeed = 6
$!ExportSetup ExportFName = 'C:\myPC\myFile\SJTU_U42\BS212_UPT\postpro\defm3d.avi'
$!AnimateTime 
  StartTime = 0.1
  EndTime = 3
  Skip = 1
  CreateMovieFile = Yes

3_ast2d.mcr

#!MC 1410
$!PAGECONTROL CLEAR
$!ReadDataSet  '"StandardSyntax" "1.0" "FEALoaderVersion" "436" "FILENAME_File" "C:\myPC\myFile\SJTU_U42\BS212_UPT\postpro\case\system\controlDict" "AutoAssignStrandIDs" "Yes"'
  DataSetReader = 'OpenFOAM (FEA)'
$!PlotType = Cartesian2D
$!TwoDAxis XDetail{RangeMin = 0.0}
$!TwoDAxis XDetail{RangeMax = 1.0}
$!TwoDAxis AxisMode = Independent
$!TwoDAxis YDetail{RangeMin = 0.0}
$!TwoDAxis YDetail{RangeMax = 1.0}
$!TwoDAxis YDetail{Ticks{ShowOnAxisLine = No}}
$!TwoDAxis YDetail{TickLabel{ShowOnAxisLine = No}}
$!TwoDAxis YDetail{Title{ShowOnAxisLine = No}}
$!TwoDAxis YDetail{AxisLine{Show = No}}
$!TwoDAxis XDetail{Ticks{ShowOnAxisLine = No}}
$!TwoDAxis XDetail{TickLabel{ShowOnAxisLine = No}}
$!TwoDAxis XDetail{Title{ShowOnAxisLine = No}}
$!TwoDAxis XDetail{AxisLine{Show = No}}
$!View MakeCurrentViewNice
$!FrameLayout ShowBorder = No
$!TwoDAxis GridArea{DrawBorder = No}
$!FieldLayers ShowMesh = No
$!FieldMap [2]  Shade{Show = No}
$!FieldLayers ShowContour = Yes
$!FieldMap [2]  Contour{ContourType = Lines}
$!GlobalTime SolutionTime = 20.0
$!SetContourVar 
  Var = 'alpha0'
  ContourGroup = 1
$!ContourLevels New
  ContourGroup = 1
  RawData
1
0.5
$!FieldMap [2]  Contour{LinePattern = Dashed}
$!FieldMap [2]  Contour{PatternLength = 0.5}
$!FieldMap [2]  Contour{LineThickness = 0.2}
$!GlobalContour 1  Legend{Show = No}
$!FrameName = 'Frame Background'
$!CreateNewFrame 
  XYPos
    {
    X = 1.0
    Y = 0.25
    }
  Width = 9.0
  Height = 8.0
$!FrameLayout IsTransparent = Yes
$!FrameLayout ShowBorder = No
$!FrameName = 'Frame alpha1 at 20.0'
$!PlotType = Cartesian2D
$!TwoDAxis XDetail{RangeMin = 0.0}
$!TwoDAxis XDetail{RangeMax = 1.0}
$!TwoDAxis AxisMode = Independent
$!TwoDAxis YDetail{RangeMin = 0.0}
$!TwoDAxis YDetail{RangeMax = 1.0}
$!View MakeCurrentViewNice
$!TwoDAxis YDetail{Ticks{ShowOnAxisLine = No}}
$!TwoDAxis YDetail{TickLabel{ShowOnAxisLine = No}}
$!TwoDAxis YDetail{Title{ShowOnAxisLine = No}}
$!TwoDAxis YDetail{AxisLine{Show = No}}
$!TwoDAxis XDetail{Ticks{ShowOnAxisLine = No}}
$!TwoDAxis XDetail{TickLabel{ShowOnAxisLine = No}}
$!TwoDAxis XDetail{Title{ShowOnAxisLine = No}}
$!TwoDAxis XDetail{AxisLine{Show = No}}
$!FieldMap [2]  Shade{Show = No}
$!FieldLayers ShowContour = Yes
$!FieldMap [2]  Contour{ContourType = Lines}
$!FieldMap [2]  Contour{Color = Red}
$!FieldMap [2]  Contour{LineThickness = 0.4}
$!GlobalContour 1  Legend{Show = No}
$!GlobalTime SolutionTime = 20.0
$!SetContourVar 
  Var = 'alpha1'
  ContourGroup = 1
$!ContourLevels New
  ContourGroup = 1
  RawData
1
0.5
$!CreateNewFrame 
  XYPos
    {
    X = 2.4
    Y = 1.55
    }
  Width = 6.3
  Height = 5.5
$!FrameLayout ShowBorder = No
$!FrameLayout IsTransparent = Yes
$!FrameName = 'Frame Front'
$!ExportSetup ExportFormat = JPEG
$!ExportSetup ExportRegion = CurrentFrame
$!ExportSetup ImageWidth = 1000
$!ExportSetup ExportFName = 'C:\myPC\myFile\SJTU_U42\BS212_UPT\postpro\ast2d.jpeg'
$!Export 
  ExportRegion = CurrentFrame

4_zale2d.mcr

#!MC 1410
$!PAGECONTROL CLEAR
$!ReadDataSet  '"StandardSyntax" "1.0" "FEALoaderVersion" "436" "FILENAME_File" "C:\myPC\myFile\SJTU_U42\BS212_UPT\postpro\case\system\controlDict" "AutoAssignStrandIDs" "Yes"'
  DataSetReader = 'OpenFOAM (FEA)'
# load openfoam project data
$!PlotType = Cartesian2D
# set plot as 2d
$!TwoDAxis XDetail{RangeMin = 0.3}
$!TwoDAxis XDetail{RangeMax = 0.7}
$!TwoDAxis AxisMode = Independent
$!TwoDAxis YDetail{RangeMin = 0.572}
$!TwoDAxis YDetail{RangeMax = 0.928}
# set xlim and ylim
$!FieldLayers ShowMesh = No
$!FieldMap [2]  Shade{Show = No}
# set frontAndBack Mesh as grey and hide its Shade
# set Mesh Lines behind the plot
$!FrameLayout ShowBorder = No
# hide the frame border
$!TwoDAxis GridArea{DrawBorder = No}
$!TwoDAxis YDetail{Ticks{ShowOnAxisLine = No}}
$!TwoDAxis YDetail{TickLabel{ShowOnAxisLine = No}}
$!TwoDAxis YDetail{Title{ShowOnAxisLine = No}}
$!TwoDAxis YDetail{AxisLine{Show = No}}
$!TwoDAxis XDetail{Ticks{ShowOnAxisLine = No}}
$!TwoDAxis XDetail{TickLabel{ShowOnAxisLine = No}}
$!TwoDAxis XDetail{Title{ShowOnAxisLine = No}}
$!TwoDAxis XDetail{AxisLine{Show = No}}
# show grid border
$!View MakeCurrentViewNice
# resize xlim and ylim
$!FieldLayers ShowContour = Yes
$!FieldMap [2]  Contour{ContourType = Lines}
$!GlobalTime SolutionTime = 6.28318023682
$!SetContourVar 
  Var = 'alpha0'
  ContourGroup = 1
# create contour with alpha1
$!ContourLevels New
  ContourGroup = 1
  RawData
1
0.5
$!FieldMap [2]  Contour{LinePattern = Dashed}
$!FieldMap [2]  Contour{PatternLength = 0.5}
$!FieldMap [2]  Contour{LineThickness = 0.2}
$!GlobalContour 1  Legend{Show = No}
$!FrameName = 'Frame Background'
# change frame name
$!CreateNewFrame 
  XYPos
    {
    X = 1.0
    Y = 0.25
    }
  Width = 9.0
  Height = 8.0
# create new frame alpha0
$!FrameLayout IsTransparent = Yes
$!FrameLayout ShowBorder = No
# don't show background and border
$!FrameName = 'Frame alpha0'
$!PlotType = Cartesian2D
$!TwoDAxis XDetail{RangeMin = 0.3}
$!TwoDAxis XDetail{RangeMax = 0.7}
$!TwoDAxis AxisMode = Independent
$!TwoDAxis YDetail{RangeMin = 0.572}
$!TwoDAxis YDetail{RangeMax = 0.928}
$!View MakeCurrentViewNice
$!TwoDAxis YDetail{Ticks{ShowOnAxisLine = No}}
$!TwoDAxis YDetail{TickLabel{ShowOnAxisLine = No}}
$!TwoDAxis YDetail{Title{ShowOnAxisLine = No}}
$!TwoDAxis YDetail{AxisLine{Show = No}}
$!TwoDAxis XDetail{Ticks{ShowOnAxisLine = No}}
$!TwoDAxis XDetail{TickLabel{ShowOnAxisLine = No}}
$!TwoDAxis XDetail{Title{ShowOnAxisLine = No}}
$!TwoDAxis XDetail{AxisLine{Show = No}}
$!FieldMap [2]  Shade{Show = No}
$!FieldLayers ShowContour = Yes
$!FieldMap [2]  Contour{ContourType = Lines}
$!FieldMap [2]  Contour{Color = Red}
$!FieldMap [2]  Contour{LineThickness = 0.4}
# set contour line's property
$!GlobalContour 1  Legend{Show = No}
# hide Legend
$!GlobalTime SolutionTime = 6.28318023682
# set plot time
$!SetContourVar 
  Var = 'alpha1'
  ContourGroup = 1
# create contour with alpha1
$!ContourLevels New
  ContourGroup = 1
  RawData
1
0.5
$!CreateNewFrame 
  XYPos
    {
    X = 2.4
    Y = 1.55
    }
  Width = 6.3
  Height = 5.5
$!FrameLayout ShowBorder = No
$!FrameLayout IsTransparent = Yes
$!FrameName = 'Frame Front'
$!RedrawAll
$!ExportSetup ExportFormat = JPEG
$!ExportSetup ExportRegion = CurrentFrame
$!ExportSetup ImageWidth = 1000
$!ExportSetup ExportFName = 'C:\myPC\myFile\SJTU_U42\BS212_UPT\postpro\zale2d.jpeg'
$!Export 
  ExportRegion = CurrentFrame

5_shr2dAvi.mcr

#!MC 1410
$!PAGECONTROL CLEAR
$!ReadDataSet  '"StandardSyntax" "1.0" "FEALoaderVersion" "436" "FILENAME_File" "C:\myPC\myFile\SJTU_U42\BS212_UPT\postpro\case\system\controlDict" "AutoAssignStrandIDs" "Yes"'
  DataSetReader = 'OpenFOAM (FEA)'
$!PlotType = Cartesian2D
$!TwoDAxis XDetail{RangeMin = 0.0}
$!TwoDAxis XDetail{RangeMax = 1.0}
$!TwoDAxis AxisMode = Independent
$!TwoDAxis YDetail{RangeMin = 0.0}
$!TwoDAxis YDetail{RangeMax = 1.0}
$!TwoDAxis YDetail{Ticks{ShowOnAxisLine = No}}
$!TwoDAxis YDetail{TickLabel{ShowOnAxisLine = No}}
$!TwoDAxis YDetail{Title{ShowOnAxisLine = No}}
$!TwoDAxis YDetail{AxisLine{Show = No}}
$!TwoDAxis XDetail{Ticks{ShowOnAxisLine = No}}
$!TwoDAxis XDetail{TickLabel{ShowOnAxisLine = No}}
$!TwoDAxis XDetail{Title{ShowOnAxisLine = No}}
$!TwoDAxis XDetail{AxisLine{Show = No}}
$!View MakeCurrentViewNice
$!FrameLayout ShowBorder = No
$!TwoDAxis GridArea{DrawBorder = No}
$!FieldLayers ShowMesh = No
$!FieldMap [2]  Shade{Show = No}
$!FieldMap [2]  Mesh{Color = Custom2}
$!FieldMap [2]  Mesh{MeshType = Wireframe}
$!FieldLayers ShowContour = Yes
$!FieldMap [2]  Contour{ContourType = Lines}
$!GlobalTime SolutionTime = 0.16
$!SetContourVar 
  Var = 'alpha1'
  ContourGroup = 1
$!ContourLevels New
  ContourGroup = 1
  RawData
1
0.5
$!FieldMap [2]  Contour{LinePattern = Solid}
$!FieldMap [2]  Contour{PatternLength = 0.5}
$!FieldMap [2]  Contour{LineThickness = 0.2}
$!FieldMap [2]  Contour{Color = Red}
$!GlobalContour 1  Legend{Show = No}
$!FieldMap [2]  Contour{ContourType = Flood}
$!FrameLayout BackgroundColor = Blue
$!ExportSetup ExportFormat = AVI
$!ExportSetup ImageWidth = 1001
$!ExportSetup AnimationSpeed = 10
$!ExportSetup ExportFName = 'C:\myPC\myFile\SJTU_U42\BS212_UPT\postpro\shr2d.avi'
$!AnimateTime 
  StartTime = 0.16
  EndTime = 8.0
  Skip = 1
  CreateMovieFile = Yes

1_RT2dAvi.mcr

#!MC 1410
$!PAGECONTROL CLEAR
$!ReadDataSet  '"StandardSyntax" "1.0" "FEALoaderVersion" "436" "FILENAME_File" "C:\myPC\myFile\SJTU_U42\BS212_UPT\postpro\case\system\controlDict" "AutoAssignStrandIDs" "Yes"'
  DataSetReader = 'OpenFOAM (FEA)'
$!PlotType = Cartesian2D
$!TwoDAxis YDetail{Ticks{ShowOnAxisLine = No}}
$!TwoDAxis YDetail{TickLabel{ShowOnAxisLine = No}}
$!TwoDAxis YDetail{Title{ShowOnAxisLine = No}}
$!TwoDAxis YDetail{AxisLine{Show = No}}
$!TwoDAxis XDetail{Ticks{ShowOnAxisLine = No}}
$!TwoDAxis XDetail{TickLabel{ShowOnAxisLine = No}}
$!TwoDAxis XDetail{Title{ShowOnAxisLine = No}}
$!TwoDAxis XDetail{AxisLine{Show = No}}
$!FrameLayout ShowBorder = No
$!TwoDAxis GridArea{DrawBorder = No}
$!FieldLayers ShowMesh = No
$!FieldMap [2]  Shade{Show = No}
$!FieldMap [2]  Mesh{Color = Custom2}
$!FieldMap [2]  Mesh{MeshType = Wireframe}
$!FieldLayers ShowContour = Yes
$!FieldMap [2]  Contour{ContourType = Flood}
$!GlobalTime SolutionTime = 0.02
$!SetContourVar 
  Var = 'alpha.water'
  ContourGroup = 1
$!ContourLevels New
  ContourGroup = 1
  RawData
1
0.5
$!GlobalContour 1  Legend{Show = No}
$!View Center
  ConsiderBlanking = Yes
$!FrameLayout BackgroundColor = Blue
$!CreateNewFrame 
  XYPos
    {
    X = 4.772
    Y = 1.194
    }
  Width = 1.54
  Height = 6.2
$!FrameLayout ShowBorder = No
$!FrameLayout IsTransparent = Yes
$!FrameName = 'Frame Front'
$!ReadDataSet  '"StandardSyntax" "1.0" "FEALoaderVersion" "436" "FILENAME_File" "C:\myPC\myFile\SJTU_U42\BS212_UPT\postpro\case\system\controlDict" "AutoAssignStrandIDs" "Yes"'
  DataSetReader = 'OpenFOAM (FEA)'
$!Linking BetweenFrames{LinkSolutionTime = Yes}
$!PropagateLinking 
  LinkType = BetweenFrames
  FrameCollection = All
$!FieldLayers ShowShade = No
$!ThreeDAxis FrameAxis{Show = No}
$!GlobalTime SolutionTime = 0.02
$!ExportSetup ExportFormat = AVI
$!ExportSetup ImageWidth = 1001
$!ExportSetup AnimationSpeed = 10
$!ExportSetup ExportFName = 'C:\myPC\myFile\SJTU_U42\BS212_UPT\postpro\RT2d.avi'
$!AnimateTime 
  StartTime = 0.02
  EndTime = 1.0
  Skip = 1
  CreateMovieFile = Yes

2_BR2dAvi.mcr

#!MC 1410
$!PAGECONTROL CLEAR
$!ReadDataSet  '"StandardSyntax" "1.0" "FEALoaderVersion" "436" "FILENAME_File" "C:\myPC\myFile\SJTU_U42\BS212_UPT\postpro\case\system\controlDict" "AutoAssignStrandIDs" "Yes"'
  DataSetReader = 'OpenFOAM (FEA)'
$!PlotType = Cartesian2D
$!TwoDAxis YDetail{Ticks{ShowOnAxisLine = No}}
$!TwoDAxis YDetail{TickLabel{ShowOnAxisLine = No}}
$!TwoDAxis YDetail{Title{ShowOnAxisLine = No}}
$!TwoDAxis YDetail{AxisLine{Show = No}}
$!TwoDAxis XDetail{Ticks{ShowOnAxisLine = No}}
$!TwoDAxis XDetail{TickLabel{ShowOnAxisLine = No}}
$!TwoDAxis XDetail{Title{ShowOnAxisLine = No}}
$!TwoDAxis XDetail{AxisLine{Show = No}}
$!FrameLayout ShowBorder = No
$!TwoDAxis GridArea{DrawBorder = No}
$!FieldLayers ShowMesh = No
$!FieldMap [2]  Shade{Show = No}
$!FieldMap [2]  Mesh{Color = Custom2}
$!FieldMap [2]  Mesh{MeshType = Wireframe}
$!FieldLayers ShowContour = Yes
$!FieldMap [2]  Contour{ContourType = Flood}
$!GlobalTime SolutionTime = 0.06
$!SetContourVar 
  Var = 'alpha.water'
  ContourGroup = 1
$!ContourLevels New
  ContourGroup = 1
  RawData
1
0.5
$!GlobalContour 1  Legend{Show = No}
$!View Center
  ConsiderBlanking = Yes
$!FrameLayout BackgroundColor = Blue
$!GlobalContour 1  ColorMapName = 'Two Color'
$!CreateNewFrame 
  XYPos
    {
    X = 4.0
    Y = 1.2
    }
  Width = 3.0
  Height = 6.14
$!FrameLayout ShowBorder = No
$!FrameLayout IsTransparent = Yes
$!FrameName = 'Frame Front'
$!ReadDataSet  '"StandardSyntax" "1.0" "FEALoaderVersion" "436" "FILENAME_File" "C:\myPC\myFile\SJTU_U42\BS212_UPT\postpro\case\system\controlDict" "AutoAssignStrandIDs" "Yes"'
  DataSetReader = 'OpenFOAM (FEA)'
$!Linking BetweenFrames{LinkSolutionTime = Yes}
$!PropagateLinking 
  LinkType = BetweenFrames
  FrameCollection = All
$!FieldLayers ShowShade = No
$!ThreeDAxis FrameAxis{Show = No}
$!GlobalTime SolutionTime = 0.06
$!ExportSetup ExportFormat = AVI
$!ExportSetup ImageWidth = 1001
$!ExportSetup AnimationSpeed = 10
$!ExportSetup ExportFName = 'C:\myPC\myFile\SJTU_U42\BS212_UPT\postpro\BR2d.avi'
$!AnimateTime 
  StartTime = 0.06
  EndTime = 3.0
  Skip = 1
  CreateMovieFile = Yes

3_DB3dAvi.mcr

#!MC 1410
$!PAGECONTROL CLEAR
$!ReadDataSet  '"StandardSyntax" "1.0" "FEALoaderVersion" "436" "FILENAME_File" "C:\myPC\myFile\SJTU_U42\BS212_UPT\postpro\case\system\controlDict" "AutoAssignStrandIDs" "Yes"'
  DataSetReader = 'OpenFOAM (FEA)'
$!FrameName = 'alpha.water'
$!GlobalTime SolutionTime = 0.05
$!ThreeDView 
  PSIAngle = 60.0
  ThetaAngle = 145.0
  AlphaAngle = 0.0
  ViewerPosition
    {
    X = -4.55
    Y = 7.75
    Z = 5.6
    }
  ViewWidth = 1.6
$!ActiveFieldMaps -= [2]
$!ActiveFieldMaps -= [3]
$!IsoSurfaceLayers Show = Yes
$!IsoSurfaceAttributes 1  DefinitionContourGroup = 1
$!SetContourVar 
  Var = 'alpha.water'
  ContourGroup = 1
$!ContourLevels Add
  ContourGroup = 1
  RawData
1
0.5
$!IsoSurfaceAttributes 1  Shade{Show = Yes}
$!IsoSurfaceAttributes 1  IsoSurfaceSelection = ThreeSpecificValues
$!IsoSurfaceAttributes 1  Isovalue1 = 0.5
$!IsoSurfaceAttributes 1  Isovalue2 = 0.75
$!IsoSurfaceAttributes 1  Isovalue3 = 0.25
$!IsoSurfaceAttributes 1  Contour{Show = No}
$!GlobalContour 1  Legend{Show = No}
$!IsoSurfaceAttributes 1  Shade{Color = Blue}
$!ThreeDAxis FrameAxis{Show = No}
$!IsoSurfaceAttributes 1  Effects{UseTranslucency = Yes}
$!IsoSurfaceAttributes 1  Effects{SurfaceTranslucency = 70}
$!FrameLayout ShowBorder = No
$!FieldLayers ShowEdge = Yes
$!FieldMap [1]  EdgeLayer{Show = Yes}
$!View FitSurfaces
  ConsiderBlanking = Yes
$!FieldMap [4]  Shade{Color = White}
$!CreateNewFrame 
  XYPos
    {
    X = 1.0
    Y = 2.0
    }
  Width = 9.0
  Height = 6.0
$!FrameLayout ShowBorder = No
$!FrameLayout IsTransparent = Yes
$!FrameName = 'Frame Front'
$!ReadDataSet  '"StandardSyntax" "1.0" "FEALoaderVersion" "436" "FILENAME_File" "C:\myPC\myFile\SJTU_U42\BS212_UPT\postpro\case\system\controlDict" "AutoAssignStrandIDs" "Yes"'
  DataSetReader = 'OpenFOAM (FEA)'
$!Linking BetweenFrames{LinkSolutionTime = Yes}
$!PropagateLinking 
  LinkType = BetweenFrames
  FrameCollection = All
$!FieldLayers ShowShade = No
$!ThreeDAxis FrameAxis{Show = No}
$!GlobalTime SolutionTime = 0.05
$!ExportSetup ExportFormat = AVI
$!ExportSetup ImageWidth = 1001
$!ExportSetup AnimationSpeed = 10
$!ExportSetup ExportFName = 'C:\myPC\myFile\SJTU_U42\BS212_UPT\postpro\DB3d.avi'
$!AnimateTime 
  StartTime = 0.05
  EndTime = 2.5
  Skip = 1
  CreateMovieFile = Yes

1_breakwater_1.mcr

#!MC 1410
$!PAGECONTROL CLEAR
$!ReadDataSet  '"StandardSyntax" "1.0" "FEALoaderVersion" "436" "FILENAME_File" "C:\myPC\myFile\SJTU_U42\BS212_UPT\postpro\case\system\controlDict" "AutoAssignStrandIDs" "Yes"'
  DataSetReader = 'OpenFOAM (FEA)'
$!FrameName = 'alpha.water'
$!GlobalTime SolutionTime = 0.12
$!ThreeDAxis AxisMode = XYZDependent
$!ThreeDAxis DepXToYRatio = 1
$!ThreeDAxis DepXToZRatio = 1
$!ThreeDView 
  PSIAngle = 38.0
  ThetaAngle = 135.0
  AlphaAngle = -135.0
  ViewerPosition
    {
    X = -15.75298546574939
    Y = 16.02880469122051
    Z = 28.54232404738173
    }
  ViewWidth = 0.87457
$!ThreeDAxis FrameAxis{Show = No}
$!ActiveFieldMaps -= [2]
$!ActiveFieldMaps -= [4]
$!ActiveFieldMaps -= [5]
$!ActiveFieldMaps -= [6]
$!ActiveFieldMaps -= [7]
$!ActiveFieldMaps -= [8]
$!FrameLayout ShowBorder = No
$!FieldLayers ShowEdge = Yes
$!IsoSurfaceLayers Show = Yes
$!IsoSurfaceAttributes 1  DefinitionContourGroup = 1
$!SetContourVar 
  Var = 'alpha.water'
  ContourGroup = 1
$!ContourLevels Add
  ContourGroup = 1
  RawData
1
0.5
$!IsoSurfaceAttributes 1  Shade{Show = Yes}
$!IsoSurfaceAttributes 1  IsoSurfaceSelection = ThreeSpecificValues
$!IsoSurfaceAttributes 1  Isovalue1 = 0.5
$!IsoSurfaceAttributes 1  Isovalue2 = 0.75
$!IsoSurfaceAttributes 1  Isovalue3 = 0.25
$!IsoSurfaceAttributes 1  Contour{Show = No}
$!GlobalContour 1  Legend{Show = No}
$!IsoSurfaceAttributes 1  Shade{Color = Blue}
$!IsoSurfaceAttributes 1  Effects{UseTranslucency = Yes}
$!IsoSurfaceAttributes 1  Effects{SurfaceTranslucency = 30}
$!SetContourVar 
  Var = 'rgh'
  ContourGroup = 2
$!IsoSurfaceAttributes 1  Contour{Show = Yes}
$!IsoSurfaceAttributes 1  Contour{FloodColoring = Group2}
$!GlobalContour 2  ColorMapName = 'Two Color'
$!ContourLevels DeleteRange
  ContourGroup = 2
  RangeMin = -8.0
  RangeMax = -0.0
$!ContourLevels New
  ContourGroup = 2
  RawData
3
-2.2
-2
-1.8
$!GlobalContour 2  Legend{Show = No}
$!FieldMap [3]  Shade{Color = White}
$!ExportSetup ExportFormat = AVI
$!ExportSetup ImageWidth = 1001
$!ExportSetup ExportFName = 'C:\myPC\myFile\SJTU_U42\BS212_UPT\postpro\1_breakwater.avi'
$!AnimateTime 
  StartTime = 0.12
  EndTime = 6
  Skip = 1
  CreateMovieFile = Yes
  LimitScreenSpeed = Yes
  MaxScreenSpeed = 5

2_breakwater_2.mcr

#!MC 1410
$!PAGECONTROL CLEAR
$!ReadDataSet  '"StandardSyntax" "1.0" "FEALoaderVersion" "436" "FILENAME_File" "C:\myPC\myFile\SJTU_U42\BS212_UPT\postpro\case\system\controlDict" "AutoAssignStrandIDs" "Yes"'
  DataSetReader = 'OpenFOAM (FEA)'
$!FrameName = 'alpha.water'
$!GlobalTime SolutionTime = 0.12
$!ThreeDAxis AxisMode = XYZDependent
$!ThreeDAxis DepXToYRatio = 1
$!ThreeDAxis DepXToZRatio = 1
$!ThreeDView 
  PSIAngle = 52.6689
  ThetaAngle = -105.954
  AlphaAngle = 102.788
  ViewerPosition
    {
    X = 1.41458616652113
    Y = 0.6380845454163653
    Z = 0.9830607800141978
    }
  ViewWidth = 0.703114
$!ThreeDAxis FrameAxis{Show = No}
$!ActiveFieldMaps -= [2]
$!ActiveFieldMaps -= [4]
$!ActiveFieldMaps -= [5]
$!ActiveFieldMaps -= [6]
$!ActiveFieldMaps -= [7]
$!ActiveFieldMaps -= [8]
$!FrameLayout ShowBorder = No
$!FieldLayers ShowEdge = Yes
$!IsoSurfaceLayers Show = Yes
$!IsoSurfaceAttributes 1  DefinitionContourGroup = 1
$!SetContourVar 
  Var = 'alpha.water'
  ContourGroup = 1
$!ContourLevels Add
  ContourGroup = 1
  RawData
1
0.5
$!IsoSurfaceAttributes 1  Shade{Show = Yes}
$!IsoSurfaceAttributes 1  IsoSurfaceSelection = ThreeSpecificValues
$!IsoSurfaceAttributes 1  Isovalue1 = 0.5
$!IsoSurfaceAttributes 1  Isovalue2 = 0.75
$!IsoSurfaceAttributes 1  Isovalue3 = 0.25
$!IsoSurfaceAttributes 1  Contour{Show = No}
$!GlobalContour 1  Legend{Show = No}
$!IsoSurfaceAttributes 1  Shade{Color = Blue}
$!IsoSurfaceAttributes 1  Effects{UseTranslucency = Yes}
$!IsoSurfaceAttributes 1  Effects{SurfaceTranslucency = 30}
$!SetContourVar 
  Var = 'rgh'
  ContourGroup = 2
$!IsoSurfaceAttributes 1  Contour{Show = Yes}
$!IsoSurfaceAttributes 1  Contour{FloodColoring = Group2}
$!GlobalContour 2  ColorMapName = 'Two Color'
$!ContourLevels DeleteRange
  ContourGroup = 2
  RangeMin = -8.0
  RangeMax = -0.0
$!ContourLevels New
  ContourGroup = 2
  RawData
3
-2.2
-2
-1.8
$!GlobalContour 2  Legend{Show = No}
$!FieldMap [3]  Shade{Color = White}
$!ExportSetup ExportFormat = AVI
$!ExportSetup ImageWidth = 1001
$!ExportSetup ExportFName = 'C:\myPC\myFile\SJTU_U42\BS212_UPT\postpro\2_breakwater.avi'
$!AnimateTime 
  StartTime = 0.12
  EndTime = 6
  Skip = 1
  CreateMovieFile = Yes
  LimitScreenSpeed = Yes
  MaxScreenSpeed = 5

3_CY1.mcr

#!MC 1410
$!PAGECONTROL CLEAR
$!ReadDataSet  '"StandardSyntax" "1.0" "FEALoaderVersion" "436" "FILENAME_File" "C:\myPC\myFile\SJTU_U42\BS212_UPT\postpro\case\system\controlDict" "AutoAssignStrandIDs" "Yes"'
  DataSetReader = 'OpenFOAM (FEA)'
$!FrameName = 'alpha.water'
$!GlobalTime SolutionTime = 0.032
$!ThreeDView 
  PSIAngle = 61.2548
  ThetaAngle = -171.083
  AlphaAngle = 159.205
  ViewerPosition
    {
    X = 2.275596976098346
    Y = 8.026447538310338
    Z = 4.290253793751086
    }
  ViewWidth = 14.2966
$!ActiveFieldMaps -= [2]
$!ActiveFieldMaps -= [3]
$!ActiveFieldMaps -= [4]
$!ActiveFieldMaps -= [5]
$!ActiveFieldMaps -= [6]
$!ActiveFieldMaps -= [7]
$!IsoSurfaceLayers Show = Yes
$!IsoSurfaceAttributes 1  DefinitionContourGroup = 1
$!SetContourVar 
  Var = 'alpha.water'
  ContourGroup = 1
$!ContourLevels Add
  ContourGroup = 1
  RawData
1
0.5
$!IsoSurfaceAttributes 1  Shade{Show = Yes}
$!IsoSurfaceAttributes 1  IsoSurfaceSelection = ThreeSpecificValues
$!IsoSurfaceAttributes 1  Isovalue1 = 0.5
$!IsoSurfaceAttributes 1  Isovalue2 = 0.75
$!IsoSurfaceAttributes 1  Isovalue3 = 0.25
$!IsoSurfaceAttributes 1  Contour{Show = No}
$!GlobalContour 1  Legend{Show = No}
$!IsoSurfaceAttributes 1  Shade{Color = Blue}
$!ThreeDAxis FrameAxis{Show = No}
$!IsoSurfaceAttributes 1  Effects{UseTranslucency = Yes}
$!IsoSurfaceAttributes 1  Effects{SurfaceTranslucency = 30}
$!FrameLayout ShowBorder = No
$!FieldLayers ShowEdge = Yes
$!FieldMap [1]  EdgeLayer{Show = Yes}
$!GlobalThreeD AxisScaleFact{Y = 6.8}
$!GlobalThreeD AxisScaleFact{Z = 7}
$!GlobalThreeD AxisScaleFact{X = 7}
$!View FitSurfaces
  ConsiderBlanking = Yes
$!SetContourVar 
  Var = 'rgh'
  ContourGroup = 2
$!IsoSurfaceAttributes 1  Contour{Show = Yes}
$!IsoSurfaceAttributes 1  Contour{FloodColoring = Group2}
$!GlobalContour 2  ColorMapName = 'Two Color'
$!GlobalContour 2  Legend{Show = No}
$!ContourLevels DeleteRange
  ContourGroup = 2
  RangeMin = -0.7505
  RangeMax = -0.0495
$!ContourLevels Add
  ContourGroup = 2
  RawData
3
-0.42
-0.41
-0.40
$!CreateNewFrame 
  XYPos
    {
    X = 1.0
    Y = 1.6
    }
  Width = 9.0
  Height = 5.375
$!FrameLayout ShowBorder = No
$!FrameLayout IsTransparent = Yes
$!FrameName = 'Frame Front'
$!ReadDataSet  '"StandardSyntax" "1.0" "FEALoaderVersion" "436" "FILENAME_File" "C:\myPC\myFile\SJTU_U42\BS212_UPT\postpro\case\system\controlDict" "AutoAssignStrandIDs" "Yes"'
  DataSetReader = 'OpenFOAM (FEA)'
$!Linking BetweenFrames{LinkSolutionTime = Yes}
$!PropagateLinking 
  LinkType = BetweenFrames
  FrameCollection = All
$!FieldLayers ShowShade = No
$!ThreeDAxis FrameAxis{Show = No}
$!GlobalTime SolutionTime = 0.032
$!ExportSetup ExportFormat = AVI
$!ExportSetup ImageWidth = 1001
$!ExportSetup AnimationSpeed = 10
$!ExportSetup ExportFName = 'C:\myPC\myFile\SJTU_U42\BS212_UPT\postpro\3_CY3d.avi'
$!AnimateTime 
  StartTime = 0.032
  EndTime = 1.6
  Skip = 1
  CreateMovieFile = Yes

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

穿越前列线打造非凡yt

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值