From ac7d2486176955240e1d7ac060938b90aeee0769 Mon Sep 17 00:00:00 2001 From: "U-ANSYS\\mgalvagn" Date: Fri, 4 Apr 2025 10:36:53 -0700 Subject: [PATCH 1/6] Add single_report md file, fix little issues with template filters --- default_templates/generic_fea.md | 8 ++++---- default_templates/single_report.json | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/default_templates/generic_fea.md b/default_templates/generic_fea.md index cab46cec..fe25d7f7 100644 --- a/default_templates/generic_fea.md +++ b/default_templates/generic_fea.md @@ -37,8 +37,8 @@ Report │ ├── Summary │ ├── Recommendations ├── Appendices -│ ├── Appendix-A -│ ├── Appendix-B + ├── Appendix-A + ├── Appendix-B ``` You can add or modify the structure of the report by adding / removing / modifying the corresponding report templates. @@ -82,8 +82,8 @@ Report -> item tag contains "projectA" │ ├── Summary -> item tags contain "session=summary" │ ├── Recommendations -> item tags contain "session=recommendations" ├── Appendices -> item name contain "chapter=appendices" -│ ├── Appendix-A -> item tags contain "session=appendixA" -│ ├── Appendix-B -> item tags contain "session=appendixB" + ├── Appendix-A -> item tags contain "session=appendixA" + ├── Appendix-B -> item tags contain "session=appendixB" ``` diff --git a/default_templates/single_report.json b/default_templates/single_report.json index e83fc7c8..3a174506 100644 --- a/default_templates/single_report.json +++ b/default_templates/single_report.json @@ -550,7 +550,7 @@ "name": "contour-2", "report_type": "Layout:basic", "tags": "", - "item_filter": "A|i_type|cont|image;A|i_name|eq|contour-1;", + "item_filter": "A|i_type|cont|image;A|i_name|cont|contour-2;", "params": { "properties": { "TOCItem": "0", @@ -641,7 +641,7 @@ "name": "Scenes", "report_type": "Layout:panel", "tags": "", - "item_filter": "A|i_type|cont|scene;O|i_name|cont|_scene;", + "item_filter": "", "params": { "properties": { "TOCItem": "1", @@ -719,7 +719,7 @@ "name": "Animations", "report_type": "Layout:panel", "tags": "", - "item_filter": "A|i_type|cont|anim;", + "item_filter": "", "params": { "properties": { "TOCItem": "1", From d245bf7198401cb6953c7ec5cd0386175c878a95 Mon Sep 17 00:00:00 2001 From: "U-ANSYS\\mgalvagn" Date: Fri, 4 Apr 2025 10:39:31 -0700 Subject: [PATCH 2/6] Add files - one for each report template --- default_templates/comparison_report.md | 0 default_templates/pptx_export.md | 0 default_templates/single_report.md | 87 ++++++++++++++++++++++++++ 3 files changed, 87 insertions(+) create mode 100644 default_templates/comparison_report.md create mode 100644 default_templates/pptx_export.md create mode 100644 default_templates/single_report.md diff --git a/default_templates/comparison_report.md b/default_templates/comparison_report.md new file mode 100644 index 00000000..e69de29b diff --git a/default_templates/pptx_export.md b/default_templates/pptx_export.md new file mode 100644 index 00000000..e69de29b diff --git a/default_templates/single_report.md b/default_templates/single_report.md new file mode 100644 index 00000000..161af476 --- /dev/null +++ b/default_templates/single_report.md @@ -0,0 +1,87 @@ +# Single simulation report + +Basic report template for a single simulation. The report covers from the problem statement to the mesh and solver settings, and simulation results. + +## Structure of the report + +The generated report will have the following structure: + +```text +Report +├── Logo +├── Title +├── Header +├── Table of Content +├── System Information +├── Geometry and Mesh +│ ├── Mesh Size +│ ├── Mesh Quality +│ ├── Orthogonal Quality +├── Simulation Setup +│ ├── Physics +│ | ├── Models +│ | ├── Material Properties +│ | ├── Bounday Conditions +│ | ├── Reference Values +│ ├── Solver Settings +├── Run Information +├── Solution Status +├── Plots +│ ├── Tabs of plots +├── Mesh +│ ├── Tabs of mesh images +├── Contours +│ ├── Tabs of contours images +├── Pathlines +│ ├── Tabs of pathline images +├── Scenes +│ ├── Tabs of 3D scenes +├── Animations + ├── Tabs of animation files +``` + +You can add or modify the structure of the report by adding / removing / modifying the corresponding report templates. + +## Filters + +Each report section is populated with items from the database that pass the aggregated filters. You can modify these filters to fit your database. + +At the top level, there is a filter for item tags containing the string 'simulation=runA'. The idea is to isolate items related to a specific simulation run. Only items that pass this filter will be added into the report. + +The following tree displays the filter for each report leaf. This template mainly uses item names, types and tags to place them in the correct section. + +```text +Report -> item tag contains "simulation=runA" +├── Logo -> item is an image with name "AnsysLogo" or "UserLogo" +├── Title -> item is of HTML type with name "ReportTitle" +├── Header -> item is a table with name "HeaderTableItem" +├── Table of Content -> NO ITEMS HERE. Table of Content is automatically generated +├── System Information -> Table item with name "SystemTableItem" +├── Geometry and Mesh +│ ├── Mesh Size -> Table item with name "MeshSizeTableItem" +│ ├── Mesh Quality -> Table item with name "MeshQualityTableItem" +│ ├── Orthogonal Quality -> Image item with name "MeshOrthogonalHistogram" +├── Simulation Setup +│ ├── Physics +│ | ├── Models -> Table item with name "ModelsTableItem" +│ | ├── Material Properties -> Tree item with name "MaterialsTreeItem" +│ | ├── Bounday Conditions -> Tree item with name "BoundaryZonesTreeItem" +│ | ├── Reference Values -> Table item with name "ReferenceValuesTableItem" +│ ├── Solver Settings -> Tree item with name "SolverSettingsTreeItem" +├── Run Information -> Table item with name "RunTableItem" +├── Solution Status -> Table item with name "SolverStatusTableItem" +├── Plots +│ ├── Tabs of plots -> Table item with name "residuals_plot" +├── Mesh +│ ├── Tabs of mesh images -> Image item with name "mesh1" +├── Contours +│ ├── Tabs of contours images -> Image item with name that contains "_contour1" or "_contour2" +├── Pathlines +│ ├── Tabs of pathline images -> Image item with name "pathlines-1" or "pathlines-2" +├── Scenes +│ ├── Tabs of 3D scenes -> Scene item with name that contains "scene-1" or "scene-2" +├── Animations + ├── Tabs of animation files -> Animation item with name that contains "animation-1" or "animation-2" +``` + +For the tabs sections, you can create a new template child for each object you want to place in a separate tab. Remember to set the filters correctly on each child template. This is just an example to place one or two tabs on each of these sections. \ No newline at end of file From 44c86b18052c73df0d737171f3d32c43aa398af7 Mon Sep 17 00:00:00 2001 From: "U-ANSYS\\mgalvagn" Date: Fri, 4 Apr 2025 11:26:20 -0700 Subject: [PATCH 3/6] Simplify some filters. Add comparison report description --- default_templates/comparison_report.json | 22 +++--- default_templates/comparison_report.md | 89 ++++++++++++++++++++++++ default_templates/single_report.json | 4 +- 3 files changed, 102 insertions(+), 13 deletions(-) diff --git a/default_templates/comparison_report.json b/default_templates/comparison_report.json index 92e3afc4..e1e10537 100755 --- a/default_templates/comparison_report.json +++ b/default_templates/comparison_report.json @@ -28,7 +28,7 @@ "name": "Top", "report_type": "Layout:panel", "tags": "", - "item_filter": "A|i_tags|cont|ReportType=Parametric;", + "item_filter": "", "params": { "properties": { "TOCItem": "0" @@ -148,7 +148,7 @@ "name": "Physics", "report_type": "Layout:panel", "tags": "", - "item_filter": "A|i_tags|cont|'Design Point'='Base DP';O|i_type|eq|table;O|i_name|eq|ModelsTableItem;A|i_tags|cont|'Design Point'='Base DP';O|i_type|eq|tree;O|i_name|eq|MaterialsTreeItem;A|i_tags|cont|'Design Point'='Base DP';O|i_name|eq|CellZonesTreeItem;A|i_tags|cont|'Design Point'='Base DP';O|i_name|eq|BoundaryZonesTreeItem;A|i_tags|cont|'Design Point'='Base DP';O|i_name|eq|ReferenceValuesTableItem;A|i_tags|cont|'Design Point'='Base DP';", + "item_filter": "", "params": { "properties": { "TOCItem": "1", @@ -281,7 +281,7 @@ "name": "Parametric Plots", "report_type": "Layout:panel", "tags": "", - "item_filter": "A|i_type|cont|table;A|i_name|cont|parametric_plot;", + "item_filter": "", "params": { "properties": { "TOCItem": "1", @@ -318,7 +318,7 @@ "name": "Mesh", "report_type": "Layout:panel", "tags": "", - "item_filter": "A|i_type|eq|image;A|i_name|cont|_mesh;", + "item_filter": "", "params": { "properties": { "TOCItem": "1", @@ -339,7 +339,7 @@ "name": "MeshTabs", "report_type": "Layout:tabs", "tags": "", - "item_filter": "A|i_type|eq|image;A|i_name|cont|_mesh;", + "item_filter": "", "params": { "properties": { "TOCItem": "0", @@ -402,7 +402,7 @@ "name": "Contours", "report_type": "Layout:panel", "tags": "", - "item_filter": "A|i_type|eq|image;A|i_name|cont|_contour;", + "item_filter": "", "params": { "properties": { "TOCItem": "1", @@ -423,7 +423,7 @@ "name": "ContourTabs", "report_type": "Layout:tabs", "tags": "", - "item_filter": "A|i_type|eq|image;A|i_name|cont|_contour;", + "item_filter": "", "params": { "properties": { "TOCItem": "0", @@ -486,7 +486,7 @@ "name": "Pathlines", "report_type": "Layout:panel", "tags": "", - "item_filter": "A|i_type|eq|image;A|i_name|cont|_pathline;", + "item_filter": "", "params": { "properties": { "TOCItem": "1", @@ -507,7 +507,7 @@ "name": "PathlineTabs", "report_type": "Layout:tabs", "tags": "", - "item_filter": "A|i_type|eq|image;A|i_name|cont|_pathline;", + "item_filter": "", "params": { "properties": { "TOCItem": "0", @@ -637,7 +637,7 @@ "name": "Scenes", "report_type": "Layout:panel", "tags": "", - "item_filter": "A|i_type|eq|image;A|i_name|cont|_scene;", + "item_filter": "", "params": { "properties": { "TOCItem": "1", @@ -658,7 +658,7 @@ "name": "SceneTabs", "report_type": "Layout:tabs", "tags": "", - "item_filter": "A|i_type|eq|image;A|i_name|cont|_scene;", + "item_filter": "", "params": { "properties": { "TOCItem": "0", diff --git a/default_templates/comparison_report.md b/default_templates/comparison_report.md index e69de29b..cb524a80 100644 --- a/default_templates/comparison_report.md +++ b/default_templates/comparison_report.md @@ -0,0 +1,89 @@ +# Comparison report + +Template for a report aggregating and comparing multiple simulations in the context of a parametric study. The user would be running multiple analysis of similar models / physics, and use this report template to visualize, compare and further analyze the results from all these design points into a single report. + +## Structure of the report + +The generated report will have the following structure: + +```text +Report +├── Logo +├── Title +├── Header +├── Table of Content +├── Design Points Table +├── Base Case Simulation Setup +│ ├── Physics +│ | ├── Models +│ | ├── Material Properties +│ | ├── Cell Zones Conditions +│ | ├── Bounday Conditions +│ | ├── Reference Values +│ ├── Solver Settings +├── Parametrics Plots +│ ├── ParametricPlotTabs +├── Mesh +│ ├── Mesh slider +│ ├── Mesh comparison +├── Contours +│ ├── Contours slider +│ ├── Contours comparison +├── Pathlines +│ ├── Pathlines slider +│ ├── Pathlines comparison +├── XY Plots +│ ├── Static Pressure +├── Scenes +│ ├── Scenes slider +│ ├── Scenes comparison +``` + +Note that the slide and comparison leafs (such as the Mesh slider and Mesh comparison) will display the same data in two different tabs, but in the slider case the images are collapsed into a single slider view, while in the comparison tab they are available side-by-side for quick comparison. The differences are set in the template properties. + +Note that the "XY Plots" will do a merge of all tables coming from all design points to display the values all in a single plot for easier comparison between simulation results. + +You can add or modify the structure of the report by adding / removing / modifying the corresponding report templates. + +## Filters + +Each report section is populated with items from the database that pass the aggregated filters. You can modify these filters to fit your database. + +The report is written assuming that all data is tagged with a 'Design Point=DPX' tag that marks which design point each item refers to. Please adjust the filters accordingly if this isn't the case in you database. + +At the top level, there is a filter for item tags containing the string 'Design Point' and 'ReportType=Parametric'. + +The following tree displays the filter for each report leaf. This template mainly uses item names, types and tags to place them in the correct section. + +```text +Report -> Items with 'Design Point' and 'ReportType=Parametric' in the tag +├── Logo -> Image itam with name "AnsysLogo" or "UserLogo" +├── Title -> HTML item with name "ReportTitle" +├── Header -> Table item with name "HeaderTableItem" +├── Table of Content -> NO ITEMS HERE. Table of Content is automatically generated +├── Design Points Table -> Table item with name "ParameterDesignPointsTable" +├── Base Case Simulation Setup +│ ├── Physics +│ | ├── Models -> Table item with name "ModelsTableItem" and tags with "'Design Point'='Base DP'" +│ | ├── Material Properties -> Tree item with name "MaterialsTreeItem" and tags with "'Design Point'='Base DP'" +│ | ├── Cell Zones Conditions -> Tree item with name "CellZonesTreeItem" and tags with "'Design Point'='Base DP'" +│ | ├── Bounday Conditions -> Tree item with name "BoundaryZonesTreeItem" and tags with "'Design Point'='Base DP'" +│ | ├── Reference Values -> Tree item with name "ReferenceValuesTableItem" and tags with "'Design Point'='Base DP'" +│ ├── Solver Settings -> Tree item with name "SolverSettingsTreeItem" and tags with "'Design Point'='Base DP'" +├── Parametrics Plots +│ ├── ParametricPlotTabs -> Table item with name that contains '_parametric_plot' +├── Mesh +│ ├── Mesh slider -> Image items with "_mesh" in the name +│ ├── Mesh comparison -> Image items with "_mesh" in the name +├── Contours +│ ├── Contours slider -> Image items with "_contour" in the name +│ ├── Contours comparison -> Image items with "_contour" in the name +├── Pathlines +│ ├── Pathlines slider -> Image items with "_pathline" in the name +│ ├── Pathlines comparison -> Image items with "_pathline" in the name +├── XY Plots -> Table items with "_xyplot" in the name +│ ├── Static Pressure -> Items with "top-wall_xyplot" in the name +├── Scenes +│ ├── Scenes slider -> Image items with "_scene" in the name +│ ├── Scenes comparison -> Image items with "_scene" in the name +``` diff --git a/default_templates/single_report.json b/default_templates/single_report.json index 3a174506..21309599 100644 --- a/default_templates/single_report.json +++ b/default_templates/single_report.json @@ -630,7 +630,7 @@ "TOCItem": "0", "pagebreak": "0" }, - "HTML": "

pathlines-1

", + "HTML": "

pathlines-2

", "skip_empty": 0 }, "sort_selection": "", @@ -708,7 +708,7 @@ "width": 960, "height": 720 }, - "HTML": "

scene-1

", + "HTML": "

scene-2

", "skip_empty": 0 }, "sort_selection": "", From f229f118628a2c0f7d410f4f1372f50159222015 Mon Sep 17 00:00:00 2001 From: "U-ANSYS\\mgalvagn" Date: Fri, 4 Apr 2025 13:37:43 -0700 Subject: [PATCH 4/6] Update md for pptx export example --- default_templates/pptx_export.json | 26 +++++----- default_templates/pptx_export.md | 82 ++++++++++++++++++++++++++++++ 2 files changed, 95 insertions(+), 13 deletions(-) diff --git a/default_templates/pptx_export.json b/default_templates/pptx_export.json index a5b4e46d..e50845d9 100644 --- a/default_templates/pptx_export.json +++ b/default_templates/pptx_export.json @@ -1,6 +1,6 @@ { "Template_0": { - "name": "Test_ppt", + "name": "PPTX Export Report", "report_type": "Layout:pptx", "tags": "", "item_filter": "", @@ -101,7 +101,7 @@ "name": "Geometry and Mesh_template_ppt", "report_type": "Layout:pptxslide", "tags": "", - "item_filter": "A|i_type|eq|table;", + "item_filter": "", "params": { "properties": { "source_slide": 5, @@ -173,7 +173,7 @@ "name": "Simulation Setup_template_ppt", "report_type": "Layout:pptxslide", "tags": "", - "item_filter": "A|i_type|eq|table;", + "item_filter": "", "params": { "properties": { "source_slide": 9, @@ -193,7 +193,7 @@ "name": "Physics_template_ppt", "report_type": "Layout:pptxslide", "tags": "", - "item_filter": "A|i_type|eq|table;", + "item_filter": "", "params": { "properties": { "source_slide": 10, @@ -386,7 +386,7 @@ "name": "Plots_template_ppt", "report_type": "Layout:pptxslide", "tags": "", - "item_filter": "A|i_type|eq|table;A|i_name|cont|_plot;", + "item_filter": "", "params": { "properties": { "source_slide": 21, @@ -424,7 +424,7 @@ "name": "Report Plots_template_ppt", "report_type": "Layout:pptxslide", "tags": "", - "item_filter": "A|i_type|eq|table;A|i_name|cont|_plot;", + "item_filter": "", "params": { "properties": { "source_slide": 23, @@ -443,7 +443,7 @@ "name": "Report Plots_child_template_ppt", "report_type": "Layout:pptxslide", "tags": "", - "item_filter": "A|i_name|cont|_plot;", + "item_filter": "A|i_type|eq|table;A|i_name|cont|_plot;", "params": { "properties": { "source_slide": 24, @@ -461,7 +461,7 @@ "name": "Mesh_template_ppt", "report_type": "Layout:pptxslide", "tags": "", - "item_filter": "A|i_type|eq|image;A|i_name|cont|_mesh;", + "item_filter": "", "params": { "properties": { "source_slide": 25, @@ -480,7 +480,7 @@ "name": "Mesh_child_template_ppt", "report_type": "Layout:pptxslide", "tags": "", - "item_filter": "A|i_name|cont|_mesh;", + "item_filter": "A|i_type|eq|image;A|i_name|cont|_mesh;", "params": { "properties": { "source_slide": 26, @@ -497,7 +497,7 @@ "name": "Pathlines_template_ppt", "report_type": "Layout:pptxslide", "tags": "", - "item_filter": "A|i_type|eq|image;A|i_name|cont|_pathline;", + "item_filter": "", "params": { "properties": { "source_slide": 31, @@ -516,7 +516,7 @@ "name": "Pathlines_child_template_ppt", "report_type": "Layout:pptxslide", "tags": "", - "item_filter": "A|i_name|cont|_pathline;", + "item_filter": "A|i_type|eq|image;A|i_name|cont|_pathline;", "params": { "properties": { "source_slide": 32, @@ -533,7 +533,7 @@ "name": "Contours_template_ppt", "report_type": "Layout:pptxslide", "tags": "", - "item_filter": "A|i_type|eq|image;A|i_name|cont|_contour;", + "item_filter": "", "params": { "properties": { "source_slide": 27, @@ -552,7 +552,7 @@ "name": "Contours_child_template_ppt", "report_type": "Layout:pptxslide", "tags": "", - "item_filter": "A|i_name|cont|_contour;", + "item_filter": "A|i_type|eq|image;A|i_name|cont|_contour;", "params": { "properties": { "source_slide": 28, diff --git a/default_templates/pptx_export.md b/default_templates/pptx_export.md index e69de29b..ce17495f 100644 --- a/default_templates/pptx_export.md +++ b/default_templates/pptx_export.md @@ -0,0 +1,82 @@ +# PPTX export report + +Report template for a report to export in PPTX. Please note that for this to work, the database needs to contain a PPTX file called "Simulation_Report_input_ppt.pptx" with master slides and placeholders that describe how each item will be rendered in the exported PPTX file. + +## Structure of the report + +For each leaf template, the properties need to include "source_slide" to point to which master slide to use from the input PPTX file as a source for this leaf. +The generated PPTX file will have the following structure: + +```text +Report +├── ReportTitleText_template_ppt +├── TOC_template_ppt +├── Header_template_ppt +├── System Information_template_ppt +├── Geometry and Mesh_template_ppt +│ ├── Mesh Size_template_ppt +│ ├── Mesh Quality_template_ppt +│ ├── Othogonal Quality_template_ppt +├── Simulation Setup_template_ppt +│ ├── Physics_template_ppt +│ ├── ├── Models_template_ppt +│ ├── ├── Material Properties_template_ppt +│ ├── ├── Cell Zones Conditions_template_ppt +│ ├── ├── Boundary Conditions_template_ppt +│ ├── ├── Reference Values_template_ppt +│ ├── Solver Settings_template_ppt +├── Run Information_template_ppt +├── Solution Status_template_ppt +├── Named Expressions_template_ppt +├── Report Definitions_template_ppt +├── Plots_template_ppt +│ ├── Residuals_template_ppt +│ ├── Residual Plots_template_ppt +│ ├── ├── Residual Plots_child_template_ppt +├── Mesh_template_ppt +│ ├── Mesh_child_template_ppt +├── Pathlines_template_ppt +│ ├── Pathlines_child_template_ppt +├── Contours_template_ppt + ├── Contours_child_template_ppt +``` + +## Filters + +Each report section is populated with items from the database that pass the aggregated filters. You can modify these filters to fit your database. + +The following tree displays the filter for each report leaf. The idea is to use item names and types to place them in the correct section. + +```text +Report +├── ReportTitleText_template_ppt +├── TOC_template_ppt +├── Header_template_ppt -> Table item with name "HeaderTableItem" +├── System Information_template_ppt -> Table item with name "SystemTableItem" +├── Geometry and Mesh_template_ppt +│ ├── Mesh Size_template_ppt -> Table item with name "MeshSizeTableItem" +│ ├── Mesh Quality_template_ppt -> Table item with name "MeshQualityTableItem" +│ ├── Othogonal Quality_template_ppt -> Table item with name "MeshSizeTableItem" +├── Simulation Setup_template_ppt -> Table image with name "MeshOrthogonalHistogram" +│ ├── Physics_template_ppt +│ ├── ├── Models_template_ppt -> Table item with name "ModelsTableItem" +│ ├── ├── Material Properties_template_ppt -> Tree item with name "MaterialsTreeItem" +│ ├── ├── Cell Zones Conditions_template_ppt -> Tree item with name "CellZonesTreeItem" +│ ├── ├── Boundary Conditions_template_ppt -> Tree item with name "BoundayZonesTreeItem" +│ ├── ├── Reference Values_template_ppt -> Table item with name "ReferenceValuesTableItem" +│ ├── Solver Settings_template_ppt -> Tree item with name "SolverSettingsTreeItem" +├── Run Information_template_ppt -> Table item with name "RunTableItem" +├── Solution Status_template_ppt -> Table item with name "SolverStatusTableItem" +├── Named Expressions_template_ppt -> Table item with name "ExpressionsTableItem" +├── Report Definitions_template_ppt -> Table item with name "ReportDefinitionsTreeItem" +├── Plots_template_ppt +│ ├── Residuals_template_ppt -> Table item with name "residuals_plot" +│ ├── Residual Plots_template_ppt +│ ├── ├── Residual Plots_child_template_ppt -> Table item with name "_plot" +├── Mesh_template_ppt +│ ├── Mesh_child_template_ppt -> Image item with name "_mesh_" +├── Pathlines_template_ppt +│ ├── Pathlines_child_template_ppt -> Image item with name "_pathline" +├── Contours_template_ppt + ├── Contours_child_template_ppt -> Image item with name "_contour" +``` \ No newline at end of file From f08cc643a6bc5cc19c33c5afa6aeb6ea264bf059 Mon Sep 17 00:00:00 2001 From: "U-ANSYS\\mgalvagn" Date: Fri, 4 Apr 2025 13:51:27 -0700 Subject: [PATCH 5/6] Fix syntax --- default_templates/comparison_report.md | 8 ++++---- default_templates/pptx_export.md | 10 +++++----- default_templates/single_report.md | 6 +++--- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/default_templates/comparison_report.md b/default_templates/comparison_report.md index cb524a80..fe679c3f 100644 --- a/default_templates/comparison_report.md +++ b/default_templates/comparison_report.md @@ -15,7 +15,7 @@ Report ├── Design Points Table ├── Base Case Simulation Setup │ ├── Physics -│ | ├── Models +│ | ├── Models │ | ├── Material Properties │ | ├── Cell Zones Conditions │ | ├── Bounday Conditions @@ -47,11 +47,11 @@ You can add or modify the structure of the report by adding / removing / modifyi ## Filters -Each report section is populated with items from the database that pass the aggregated filters. You can modify these filters to fit your database. +Each report section is populated with items from the database that pass the aggregated filters. You can modify these filters to fit your database. The report is written assuming that all data is tagged with a 'Design Point=DPX' tag that marks which design point each item refers to. Please adjust the filters accordingly if this isn't the case in you database. -At the top level, there is a filter for item tags containing the string 'Design Point' and 'ReportType=Parametric'. +At the top level, there is a filter for item tags containing the string 'Design Point' and 'ReportType=Parametric'. The following tree displays the filter for each report leaf. This template mainly uses item names, types and tags to place them in the correct section. @@ -70,7 +70,7 @@ Report -> Items with 'Design Point' and 'ReportType=Parametric' in the tag │ | ├── Bounday Conditions -> Tree item with name "BoundaryZonesTreeItem" and tags with "'Design Point'='Base DP'" │ | ├── Reference Values -> Tree item with name "ReferenceValuesTableItem" and tags with "'Design Point'='Base DP'" │ ├── Solver Settings -> Tree item with name "SolverSettingsTreeItem" and tags with "'Design Point'='Base DP'" -├── Parametrics Plots +├── Parametrics Plots │ ├── ParametricPlotTabs -> Table item with name that contains '_parametric_plot' ├── Mesh │ ├── Mesh slider -> Image items with "_mesh" in the name diff --git a/default_templates/pptx_export.md b/default_templates/pptx_export.md index ce17495f..f5a66852 100644 --- a/default_templates/pptx_export.md +++ b/default_templates/pptx_export.md @@ -19,11 +19,11 @@ Report │ ├── Othogonal Quality_template_ppt ├── Simulation Setup_template_ppt │ ├── Physics_template_ppt -│ ├── ├── Models_template_ppt -│ ├── ├── Material Properties_template_ppt -│ ├── ├── Cell Zones Conditions_template_ppt -│ ├── ├── Boundary Conditions_template_ppt -│ ├── ├── Reference Values_template_ppt +│ ├── ├── Models_template_ppt +│ ├── ├── Material Properties_template_ppt +│ ├── ├── Cell Zones Conditions_template_ppt +│ ├── ├── Boundary Conditions_template_ppt +│ ├── ├── Reference Values_template_ppt │ ├── Solver Settings_template_ppt ├── Run Information_template_ppt ├── Solution Status_template_ppt diff --git a/default_templates/single_report.md b/default_templates/single_report.md index 161af476..694673a6 100644 --- a/default_templates/single_report.md +++ b/default_templates/single_report.md @@ -19,7 +19,7 @@ Report │ ├── Orthogonal Quality ├── Simulation Setup │ ├── Physics -│ | ├── Models +│ | ├── Models │ | ├── Material Properties │ | ├── Bounday Conditions │ | ├── Reference Values @@ -75,7 +75,7 @@ Report -> item tag contains "simulation=runA" ├── Mesh │ ├── Tabs of mesh images -> Image item with name "mesh1" ├── Contours -│ ├── Tabs of contours images -> Image item with name that contains "_contour1" or "_contour2" +│ ├── Tabs of contours images -> Image item with name that contains "_contour1" or "_contour2" ├── Pathlines │ ├── Tabs of pathline images -> Image item with name "pathlines-1" or "pathlines-2" ├── Scenes @@ -84,4 +84,4 @@ Report -> item tag contains "simulation=runA" ├── Tabs of animation files -> Animation item with name that contains "animation-1" or "animation-2" ``` -For the tabs sections, you can create a new template child for each object you want to place in a separate tab. Remember to set the filters correctly on each child template. This is just an example to place one or two tabs on each of these sections. \ No newline at end of file +For the tabs sections, you can create a new template child for each object you want to place in a separate tab. Remember to set the filters correctly on each child template. This is just an example to place one or two tabs on each of these sections. \ No newline at end of file From d0f959afa04190a02cc1c469588b8813e2ffded4 Mon Sep 17 00:00:00 2001 From: "U-ANSYS\\mgalvagn" Date: Fri, 4 Apr 2025 13:56:14 -0700 Subject: [PATCH 6/6] Spelling mistakes --- default_templates/comparison_report.md | 4 ++-- default_templates/pptx_export.md | 6 +++--- default_templates/single_report.md | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/default_templates/comparison_report.md b/default_templates/comparison_report.md index fe679c3f..8ddba9d3 100644 --- a/default_templates/comparison_report.md +++ b/default_templates/comparison_report.md @@ -18,7 +18,7 @@ Report │ | ├── Models │ | ├── Material Properties │ | ├── Cell Zones Conditions -│ | ├── Bounday Conditions +│ | ├── Boundary Conditions │ | ├── Reference Values │ ├── Solver Settings ├── Parametrics Plots @@ -67,7 +67,7 @@ Report -> Items with 'Design Point' and 'ReportType=Parametric' in the tag │ | ├── Models -> Table item with name "ModelsTableItem" and tags with "'Design Point'='Base DP'" │ | ├── Material Properties -> Tree item with name "MaterialsTreeItem" and tags with "'Design Point'='Base DP'" │ | ├── Cell Zones Conditions -> Tree item with name "CellZonesTreeItem" and tags with "'Design Point'='Base DP'" -│ | ├── Bounday Conditions -> Tree item with name "BoundaryZonesTreeItem" and tags with "'Design Point'='Base DP'" +│ | ├── Boundary Conditions -> Tree item with name "BoundaryZonesTreeItem" and tags with "'Design Point'='Base DP'" │ | ├── Reference Values -> Tree item with name "ReferenceValuesTableItem" and tags with "'Design Point'='Base DP'" │ ├── Solver Settings -> Tree item with name "SolverSettingsTreeItem" and tags with "'Design Point'='Base DP'" ├── Parametrics Plots diff --git a/default_templates/pptx_export.md b/default_templates/pptx_export.md index f5a66852..49d293ca 100644 --- a/default_templates/pptx_export.md +++ b/default_templates/pptx_export.md @@ -16,7 +16,7 @@ Report ├── Geometry and Mesh_template_ppt │ ├── Mesh Size_template_ppt │ ├── Mesh Quality_template_ppt -│ ├── Othogonal Quality_template_ppt +│ ├── Orthogonal Quality_template_ppt ├── Simulation Setup_template_ppt │ ├── Physics_template_ppt │ ├── ├── Models_template_ppt @@ -56,13 +56,13 @@ Report ├── Geometry and Mesh_template_ppt │ ├── Mesh Size_template_ppt -> Table item with name "MeshSizeTableItem" │ ├── Mesh Quality_template_ppt -> Table item with name "MeshQualityTableItem" -│ ├── Othogonal Quality_template_ppt -> Table item with name "MeshSizeTableItem" +│ ├── Orthogonal Quality_template_ppt -> Table item with name "MeshSizeTableItem" ├── Simulation Setup_template_ppt -> Table image with name "MeshOrthogonalHistogram" │ ├── Physics_template_ppt │ ├── ├── Models_template_ppt -> Table item with name "ModelsTableItem" │ ├── ├── Material Properties_template_ppt -> Tree item with name "MaterialsTreeItem" │ ├── ├── Cell Zones Conditions_template_ppt -> Tree item with name "CellZonesTreeItem" -│ ├── ├── Boundary Conditions_template_ppt -> Tree item with name "BoundayZonesTreeItem" +│ ├── ├── Boundary Conditions_template_ppt -> Tree item with name "Boundary" │ ├── ├── Reference Values_template_ppt -> Table item with name "ReferenceValuesTableItem" │ ├── Solver Settings_template_ppt -> Tree item with name "SolverSettingsTreeItem" ├── Run Information_template_ppt -> Table item with name "RunTableItem" diff --git a/default_templates/single_report.md b/default_templates/single_report.md index 694673a6..3ecfac6d 100644 --- a/default_templates/single_report.md +++ b/default_templates/single_report.md @@ -21,7 +21,7 @@ Report │ ├── Physics │ | ├── Models │ | ├── Material Properties -│ | ├── Bounday Conditions +│ | ├── Boundary Conditions │ | ├── Reference Values │ ├── Solver Settings ├── Run Information @@ -65,7 +65,7 @@ Report -> item tag contains "simulation=runA" │ ├── Physics │ | ├── Models -> Table item with name "ModelsTableItem" │ | ├── Material Properties -> Tree item with name "MaterialsTreeItem" -│ | ├── Bounday Conditions -> Tree item with name "BoundaryZonesTreeItem" +│ | ├── Boundary Conditions -> Tree item with name "BoundaryZonesTreeItem" │ | ├── Reference Values -> Table item with name "ReferenceValuesTableItem" │ ├── Solver Settings -> Tree item with name "SolverSettingsTreeItem" ├── Run Information -> Table item with name "RunTableItem"