From d44831d6fc11fea5c3a80adf8dc78b3afff94b86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miklas=20Sch=C3=BCtte?= Date: Fri, 16 Feb 2024 08:05:42 +0100 Subject: [PATCH] Updated path to figures in tutorial --- .../tutorials/blockstructuredmeshes.md | 32 +++---- docs/documentation/tutorials/curvedmeshes.md | 46 +++++----- .../externalmesheswithcurvedboundaries.md | 54 ++++++------ .../externalmesheswithoutcurvedboundaries.md | 20 ++--- .../tutorials/generationofhexahedralmeshes.md | 4 +- .../tutorials/index_externalmeshes.md | 2 +- .../documentation/tutorials/meshrefinement.md | 4 +- docs/documentation/tutorials/meshuncurving.md | 8 +- .../tutorials/straightedgedboxes.md | 88 +++++++++---------- .../tutorials/visualizationwithparaview.md | 18 ++-- 10 files changed, 138 insertions(+), 138 deletions(-) diff --git a/docs/documentation/tutorials/blockstructuredmeshes.md b/docs/documentation/tutorials/blockstructuredmeshes.md index 360a86e..945d9c7 100644 --- a/docs/documentation/tutorials/blockstructuredmeshes.md +++ b/docs/documentation/tutorials/blockstructuredmeshes.md @@ -31,7 +31,7 @@ The use of block-structured meshes enables the generation of fully three-dimensi
- ../_images/Aggl-nv-fern.jpg + ../../../tutorials/figures/Aggl-nv-fern.jpg

Fig. 1.1 Overall view of initial mesh 1

@@ -39,7 +39,7 @@ The use of block-structured meshes enables the generation of fully three-dimensi
- ../_images/Aggl-nv-nah.jpg + ../../../tutorials/figures/Aggl-nv-nah.jpg

Fig. 1.2 Close-up image of mesh 1 of the leading edge of the NACA-profile

@@ -54,7 +54,7 @@ The use of block-structured meshes enables the generation of fully three-dimensi
- ../_images/Aggl-v-fern.jpg + ../../../tutorials/figures/Aggl-v-fern.jpg

Fig. 1.3 Overall view of initial mesh 2

@@ -62,7 +62,7 @@ The use of block-structured meshes enables the generation of fully three-dimensi
- ../_images/Aggl-v-nah.jpg + ../../../tutorials/figures/Aggl-v-nah.jpg

Fig. 1.4 Close-up image of mesh 2 of the leading edge of the NACA-profile

@@ -83,7 +83,7 @@ When using agglomeration, the important parameters are and they lead to a coarsening in all three dimensions of the structured mesh, using the internal points as interpolation points for the curved mapping. The number of elements in each direction of the structured block must be a multiple number of `BoundaryOrder-1`!!! This situation is explained on an exemplary mesh in Fig. 1.5. For `BoundaryOrder = 2` the initial linear mesh is found and no agglomeration is done.
- ../_images/Nskip.jpg + ../../../tutorials/figures/Nskip.jpg

Fig. 1.5 Block-structuring with the parameter BoundaryOrder=2/3/5, (BoundaryOrder-1)^3 elements are grouped together.

@@ -110,7 +110,7 @@ name: tab:Block-Structured Meshes Description of Parameters
- ../_images/Aggl-c1.jpg + ../../../tutorials/figures/Aggl-c1.jpg

Fig. 1.6 Front view of the leading edge with the initial mesh configuration. All elements and edges are linear.

@@ -118,7 +118,7 @@ name: tab:Block-Structured Meshes Description of Parameters
- ../_images/Aggl-c2.jpg + ../../../tutorials/figures/Aggl-c2.jpg

Fig. 1.7 Front view of the leading edge of the mesh with the following setting: BoundaryOrder = 5. One block consists of 4x4x4 = 64 elements. The blocks' edges (blue lines) are the boundary of the curved elements. The initial structured mesh is shown in grey. All nodes/connections of the white lines are interpolation points

@@ -126,7 +126,7 @@ name: tab:Block-Structured Meshes Description of Parameters
- ../_images/Aggl-c3.jpg + ../../../tutorials/figures/Aggl-c3.jpg

Fig. 1.8 Generated curved high order mesh by agglomeration.

@@ -144,7 +144,7 @@ For coarsening two new parameters are provided: `nskip` applies to all structure
- ../_images/Aggl-nv-skip0.jpg + ../../../tutorials/figures/Aggl-nv-skip0.jpg

Fig. 1.9 Initial mesh 1 nskip =1

@@ -152,7 +152,7 @@ For coarsening two new parameters are provided: `nskip` applies to all structure
- ../_images/Aggl-nv-skip2.jpg + ../../../tutorials/figures/Aggl-nv-skip2.jpg

Fig. 1.10 Mesh by following parameter setting: nskip =2

@@ -160,7 +160,7 @@ For coarsening two new parameters are provided: `nskip` applies to all structure
- ../_images/Aggl-nv-skip4.jpg + ../../../tutorials/figures/Aggl-nv-skip4.jpg

Fig. 1.11 Generated curved high order mesh by agglomeration.

@@ -168,7 +168,7 @@ For coarsening two new parameters are provided: `nskip` applies to all structure
- ../_images/Aggl-nv-skip8.jpg + ../../../tutorials/figures/Aggl-nv-skip8.jpg

Fig. 1.12 Generated curved high order mesh by agglomeration.

@@ -188,7 +188,7 @@ In section Output Visualization a few different parameter settings are illustrat
- ../_images/Aggl-nv-skip2z-.jpg + ../../../tutorials/figures/Aggl-nv-skip2z-.jpg

Fig. 1.13 View of mesh 1 by following parameter setting: nskip = 2 !nskipZ = ..

@@ -196,7 +196,7 @@ In section Output Visualization a few different parameter settings are illustrat
- ../_images/Aggl-nv-skip2z1.jpg + ../../../tutorials/figures/Aggl-nv-skip2z1.jpg

Fig. 1.14 View of mesh 1 by following parameter setting: nskip = 2 nskipZ = 1

@@ -204,7 +204,7 @@ In section Output Visualization a few different parameter settings are illustrat
- ../_images/Aggl-nv-skip2z-.jpg + ../../../tutorials/figures/Aggl-nv-skip2z-.jpg

Fig. 1.15 View of mesh 1 by following parameter setting: nskip = 2 nskipZ = 2

@@ -212,7 +212,7 @@ In section Output Visualization a few different parameter settings are illustrat
- ../_images/Aggl-nv-skip2z2.jpg + ../../../tutorials/figures/Aggl-nv-skip2z2.jpg

Fig. 1.16 Oblique view of mesh 1 by following parameter setting: nskip = 2 nskipZ = 4

diff --git a/docs/documentation/tutorials/curvedmeshes.md b/docs/documentation/tutorials/curvedmeshes.md index f49c886..fd458ec 100644 --- a/docs/documentation/tutorials/curvedmeshes.md +++ b/docs/documentation/tutorials/curvedmeshes.md @@ -12,7 +12,7 @@ To generate a curved structured mesh the following parameter settings are mandat This mode activates a transformation of the cartesian coordinate system to a turned cylindrical coordinate system. The element distribution which the user can determine by the parameter `nElems` refers subsequently to the new coordinate system.
- ../_images/Carttocurve.jpg + ../../../tutorials/figures/Carttocurve.jpg

Fig. 2.1 Transformation of the coordinate system.

@@ -24,7 +24,7 @@ To generate a curved structured mesh the following parameter settings are mandat The HOPR user has to choose whether he wants to generate a half or a full cylindrical mesh. Therefore the new parameter `WhichMapping` is provided. For specifying the general shape of the (half) cylinder three parameters are provided: `R_0`, `R_INF` and `DZ`. Their meaning is visualized in Fig. 2.2. It must be taken into account that the value for the inner radius (`R_0`) must not be zero and the value for `DZ` corresponds to the half thickness of the (half) cylinder.
- ../_images/CurveCOS.jpg + ../../../tutorials/figures/CurveCOS.jpg

Fig. 2.2 Visualization of the parameters which determine the shape.

@@ -74,7 +74,7 @@ For a better understanding how the element sizes are calculated the formulas for $$ \Delta x(\xi) \sim 1 + \left( \frac{\Delta x_{max}}{\Delta x_{min}}-1\right)\cdot \left( \frac{\exp[-(\xi \cdot f)^2] - \exp[-f^2]}{\exp[0] - \exp[-f^2]}\right) $$
- ../_images/Stretching-math.jpg + ../../../tutorials/figures/Stretching-math.jpg

Fig. 2.3 Plot of the calculation function if the parameter `stretchType` is set to 3 ($ f $ means `fac`, $ \frac{\Delta x_{max}}{\Delta x_{min}} $ means `DXmaxToDXmin`). If the value of fac increases, the peakedness will increase and the element sizes near the bonudaries will decrease.

@@ -89,7 +89,7 @@ Furthermore, three different stretching cases are presented below with a full ci
- ../_images/Stretch-curve_ex1.jpg + ../../../tutorials/figures/Stretch-curve_ex1.jpg

Fig. 2.4 Non-stretched element arrangement.
nElems =(/8,6,4/)
stretchType =(/1,1,0/)
@@ -100,7 +100,7 @@ Furthermore, three different stretching cases are presented below with a full ci

- ../_images/Stretch-curve_ex2.jpg + ../../../tutorials/figures/Stretch-curve_ex2.jpg

Fig. 2.5 Stretched element arrangement. The element size in the direction of the x-axis increases by a factor of 1.5. In the direction of the y-axis it increases by the factor of 2.2.
nElems =(/8,6,4/)
stretchType =(/1,1,0/)
@@ -111,7 +111,7 @@ Furthermore, three different stretching cases are presented below with a full ci

- ../_images/Stretch-curve_ex3.jpg + ../../../tutorials/figures/Stretch-curve_ex3.jpg

Fig. 2.6 The `stretchType` parameter is set to 3 for the x-axis. The plot of the belonging calculation function shows that the element sizes increase immediately. In the direction of the y-axis the element size increases by the factor of 2.2.
nElems =(/8,6,4/)
stretchType =(/3,1,0/)
@@ -122,7 +122,7 @@ Furthermore, three different stretching cases are presented below with a full ci

- ../_images/Stretch-curve_ex4.jpg + ../../../tutorials/figures/Stretch-curve_ex4.jpg

Fig. 2.7 The `stretchType` parameter is set to 3 for the x-axis and the y-axis. although the fac values are different the plots of the belonging calculation function looks very similar to each other.
nElems =(/8,6,4/)
stretchType =(/3,3,0/)
@@ -146,7 +146,7 @@ The second one consists of the same number of elements in each direction but ins

- ../_images/Cylinder.jpg + ../../../tutorials/figures/Cylinder.jpg

Fig. 2.8 Sketch of the 1 zone curved structured mesh. The full cirlce mesh (WhichMapping=4) shall consist of twelve elements in x-direction, eight elements in y-direction and four elements in z-direction, all equidistant.

@@ -154,7 +154,7 @@ The second one consists of the same number of elements in each direction but ins
- ../_images/Cylinder2.jpg + ../../../tutorials/figures/Cylinder2.jpg

Fig. 2.9 Sketch of the 1 zone curved structured mesh with a stretched element arrangement. For the x-direction the stretchType parameter was set to 3. The parameter DXmaxToDXmin was set to 6 and the parameter fac to 1.5. For the y-direction the stretchType parameter was set to 1 and the elements were stretched by the factor 2.2. The elements in z-direction remain equidistant.

@@ -172,7 +172,7 @@ If there is a need for assistance of visualizing the HOPR output visit {ref}`tut
- ../_images/Curvedtotal.jpg + ../../../tutorials/figures/Curvedtotal.jpg

Fig. 2.10 Curved structured mesh

@@ -180,7 +180,7 @@ If there is a need for assistance of visualizing the HOPR output visit {ref}`tut
- ../_images/Curvedinner.jpg + ../../../tutorials/figures/Curvedinner.jpg

Fig. 2.11 Inner domain of the curved structured mesh

@@ -195,7 +195,7 @@ If there is a need for assistance of visualizing the HOPR output visit {ref}`tut
- ../_images/Curvedstretchedtotal.jpg + ../../../tutorials/figures/Curvedstretchedtotal.jpg

Fig. 2.12 Curved structured mesh with stretched element arrangement.

@@ -203,7 +203,7 @@ If there is a need for assistance of visualizing the HOPR output visit {ref}`tut
- ../_images/Curvedstretchedinner.jpg + ../../../tutorials/figures/Curvedstretchedinner.jpg

Fig. 2.13 Inner domain of the curved structured mesh with stretched element arrangement

@@ -244,7 +244,7 @@ The order of the curved element mapping can be chosen arbitrarily
- ../_images/Nopost.jpg + ../../../tutorials/figures/Nopost.jpg

Fig. 2.14 MeshPostDeform=0

@@ -253,7 +253,7 @@ The order of the curved element mapping can be chosen arbitrarily
- ../_images/Withpost.jpg + ../../../tutorials/figures/Withpost.jpg

Fig. 2.15 MeshPostDeform=1

@@ -281,7 +281,7 @@ In another variant of the parameterfile, parameter3.ini, a mesh with 9 zones in
- ../_images/Cylinder_param2.jpg + ../../../tutorials/figures/Cylinder_param2.jpg

Fig. 2.16 Outer circular mapping with parameter2.ini

@@ -289,7 +289,7 @@ In another variant of the parameterfile, parameter3.ini, a mesh with 9 zones in
- ../_images/Cylinder_param3.jpg + ../../../tutorials/figures/Cylinder_param3.jpg

Fig. 2.17 9 block mesh with stretching parameter3.ini

@@ -320,7 +320,7 @@ Since the connectivity of the mesh is created before the deformation, the bounda
- ../_images/Nopost_torus.jpg + ../../../tutorials/figures/Nopost_torus.jpg

Fig. 2.18 MeshPostDeform=0

@@ -328,7 +328,7 @@ Since the connectivity of the mesh is created before the deformation, the bounda
- ../_images/Torusmesh_q0.jpg + ../../../tutorials/figures/Torusmesh_q0.jpg

Fig. 2.19 MeshPostDeform=1

@@ -356,7 +356,7 @@ The initial box consists of 1 central zone and 6 neighbor zones, and forms a cub
- ../_images/Nopost_sphere.jpg + ../../../tutorials/figures/Nopost_sphere.jpg

Fig. 2.20 MeshPostDeform=0

@@ -364,7 +364,7 @@ The initial box consists of 1 central zone and 6 neighbor zones, and forms a cub
- ../_images/Withpost_sphere.jpg + ../../../tutorials/figures/Withpost_sphere.jpg

Fig. 2.21 MeshPostDeform=2

@@ -380,7 +380,7 @@ In a variant of the parameterfile, parameter_shell.ini, only 6 domains without t
- ../_images/Nopost_shell.jpg + ../../../tutorials/figures/Nopost_shell.jpg

Fig. 2.22 parameter_shell.ini, MeshPostDeform=0

@@ -388,7 +388,7 @@ In a variant of the parameterfile, parameter_shell.ini, only 6 domains without t
- ../_images/Withpost_shell.jpg + ../../../tutorials/figures/Withpost_shell.jpg

Fig. 2.23 parameter_shell.ini, MeshPostDeform=2

diff --git a/docs/documentation/tutorials/externalmesheswithcurvedboundaries.md b/docs/documentation/tutorials/externalmesheswithcurvedboundaries.md index df09097..97db617 100644 --- a/docs/documentation/tutorials/externalmesheswithcurvedboundaries.md +++ b/docs/documentation/tutorials/externalmesheswithcurvedboundaries.md @@ -9,7 +9,7 @@ The parameter file can be found in In the development of the next generation of numerical methods for CFD, high order methods are promising a substantial increase in efficiency and accuracy. While the particular high order methods can be very distinct, they have in common that they must rely on a high-order approximation of curved geometries to maintain their high-order of accuracy. The generation of curved meshes is thus a topic whose importance cannot be overstated, if one truly wants to apply high order methods to problems with industrial relevance. Especially aerospace applications heavily rely on complex geometries and pose high requirements to the quality of geometry representation.
- ../_images/Curving.jpg + ../../../tutorials/figures/Curving.jpg

Fig. 2.1 From linear meshes to high order meshes.

@@ -31,7 +31,7 @@ Using normal vectors at the surface points, one can reconstruct the curved bound It has to be taken into account that for generating the curved boundary splines the parameter `boundaryOrder` has always to set to 4 for a normal vector approach. Otherwise HOPR will maybe not work correctly.
- ../_images/Normalvectors.jpg + ../../../tutorials/figures/Normalvectors.jpg

Fig. 2.2 Sequence of constructing curved element edges from surface normals..

@@ -66,7 +66,7 @@ If there is a need for assistance of visualizing the HOPR output visit {ref}`tut
- ../_images/Exmesh-sm1.jpg + ../../../tutorials/figures/Exmesh-sm1.jpg

Fig. 2.3 Boundary sphere without using a curving technique.

@@ -74,7 +74,7 @@ If there is a need for assistance of visualizing the HOPR output visit {ref}`tut
- ../_images/Exmesh-01j.jpg + ../../../tutorials/figures/Exmesh-01j.jpg

Fig. 2.4 Boundary sphere with curved surfaces. These are generated by splines with normal vectors which are reconstructed from the coarse mesh file.
NormalsType = 1

@@ -82,7 +82,7 @@ If there is a need for assistance of visualizing the HOPR output visit {ref}`tut
- ../_images/Exmesh-011.jpg + ../../../tutorials/figures/Exmesh-011.jpg

Fig. 2.5 Boundary sphere with curved surfaces. These are generated by normal vectors coming from a mandatory point normal vector file.
NormalsType = 2
NormalVectFile = filename

@@ -90,7 +90,7 @@ If there is a need for assistance of visualizing the HOPR output visit {ref}`tut
- ../_images/Exmesh-012.jpg + ../../../tutorials/figures/Exmesh-012.jpg

Fig. 2.6 Boundary sphere with curved surfaces. These are generated by analytical normals from surface point positions.
NormalsType = 3
nExactNormals = 1

ExactNormals = (/1,1/)

@@ -105,7 +105,7 @@ If there is a need for assistance of visualizing the HOPR output visit {ref}`tut
- ../_images/Exmesh-sm2.jpg + ../../../tutorials/figures/Exmesh-sm2.jpg

Fig. 2.7 Boundary sphere without using a curving technique.

@@ -113,7 +113,7 @@ If there is a need for assistance of visualizing the HOPR output visit {ref}`tut
- ../_images/Exmesh-02j.jpg + ../../../tutorials/figures/Exmesh-02j.jpg

Fig. 2.8 Boundary sphere with curved surfaces. These are generated by splines with normal vectors which are reconstructed from the coarse mesh file.
NormalsType = 1

@@ -121,7 +121,7 @@ If there is a need for assistance of visualizing the HOPR output visit {ref}`tut
- ../_images/Exmesh-021.jpg + ../../../tutorials/figures/Exmesh-021.jpg

Fig. 2.9 Boundary sphere with curved surfaces. These are generated by normal vectors coming from a mandatory point normal vector file.
NormalsType = 2
NormalVectFile = filename

@@ -129,7 +129,7 @@ If there is a need for assistance of visualizing the HOPR output visit {ref}`tut
- ../_images/Exmesh-022.jpg + ../../../tutorials/figures/Exmesh-022.jpg

Fig. 2.10 Boundary sphere with curved surfaces. These are generated by analytical normals from surface point positions.
NormalsType = 3
nExactNormals = 1
ExactNormals = (/1,1/)

@@ -144,7 +144,7 @@ If there is a need for assistance of visualizing the HOPR output visit {ref}`tut
- ../_images/Exmesh-sm4.jpg + ../../../tutorials/figures/Exmesh-sm4.jpg

Fig. 2.11 Boundary sphere without using a curving technique.

@@ -152,7 +152,7 @@ If there is a need for assistance of visualizing the HOPR output visit {ref}`tut
- ../_images/Exmesh-04j.jpg + ../../../tutorials/figures/Exmesh-04j.jpg

Fig. 2.12 Boundary sphere with curved surfaces. These are generated by splines with normal vectors which are reconstructed from the coarse mesh file.
NormalsType = 1

@@ -160,7 +160,7 @@ If there is a need for assistance of visualizing the HOPR output visit {ref}`tut
- ../_images/Exmesh-041.jpg + ../../../tutorials/figures/Exmesh-041.jpg

Fig. 2.13 Boundary sphere with curved surfaces. These are generated by normal vectors coming from a mandatory point normal vector file.
NormalsType = 2
NormalVectFile = filename

@@ -168,7 +168,7 @@ If there is a need for assistance of visualizing the HOPR output visit {ref}`tut
- ../_images/Exmesh-042.jpg + ../../../tutorials/figures/Exmesh-042.jpg

Fig. 2.14 Boundary sphere with curved surfaces. These are generated by analytical normals from surface point positions.
NormalsType = 3
nExactNormals = 1
ExactNormals = (/1,1/)

@@ -205,7 +205,7 @@ If there is a need for assistance of visualizing the HOPR output visit {ref}`tut
- ../_images/Exmesh-sm1.jpg + ../../../tutorials/figures/Exmesh-sm1.jpg

Fig. 2.15 Boundary sphere without using a curving technique.

@@ -213,7 +213,7 @@ If there is a need for assistance of visualizing the HOPR output visit {ref}`tut
- ../_images/Exmesh-sm14.jpg + ../../../tutorials/figures/Exmesh-sm14.jpg

Fig. 2.15 Boundary sphere with a double subdivision of the surface mesh by using the sphere_surfmesh_04.cgns file.
boundaryOrder = 5

@@ -221,7 +221,7 @@ If there is a need for assistance of visualizing the HOPR output visit {ref}`tut
- ../_images/Exmesh-sm16.jpg + ../../../tutorials/figures/Exmesh-sm16.jpg

Fig. 2.16 Boundary sphere by using the sphere_surfmesh_06.cgns file. Because of the fact that this subdivision pattern was created neither with a double nor with a triple subdivision of the surface mesh the parameter boundaryOrder has to be adapted accordingly.
boundaryOrder = 7

@@ -229,7 +229,7 @@ If there is a need for assistance of visualizing the HOPR output visit {ref}`tut
- ../_images/Exmesh-sm18.jpg + ../../../tutorials/figures/Exmesh-sm18.jpg

Fig. 2.17 Boundary sphere with a triple subdivision of the surface mesh by using the sphere_surfmesh_08.cgns file.
boundaryOrder = 9

@@ -244,7 +244,7 @@ If there is a need for assistance of visualizing the HOPR output visit {ref}`tut
- ../_images/Exmesh-sm2.jpg + ../../../tutorials/figures/Exmesh-sm2.jpg

Fig. 2.18 Boundary sphere without using a curving technique.

@@ -252,7 +252,7 @@ If there is a need for assistance of visualizing the HOPR output visit {ref}`tut
- ../_images/Exmesh-sm28.jpg + ../../../tutorials/figures/Exmesh-sm28.jpg

Fig. 2.19 Boundary sphere with a double subdivision of the surface mesh by using the sphere_surfmesh_08.cgns file.
boundaryOrder = 5

@@ -260,7 +260,7 @@ If there is a need for assistance of visualizing the HOPR output visit {ref}`tut
- ../_images/Exmesh-sm210.jpg + ../../../tutorials/figures/Exmesh-sm210.jpg

Fig. 2.20 Boundary sphere by using the sphere_surfmesh_10.cgns file. Because of the fact that this subdivision pattern was created neither with a double nor with a triple subdivision of the surface mesh the parameter boundaryOrder has to be adapted accordingly.
boundaryOrder = 6

@@ -268,7 +268,7 @@ If there is a need for assistance of visualizing the HOPR output visit {ref}`tut
- ../_images/Exmesh-sm216.jpg + ../../../tutorials/figures/Exmesh-sm216.jpg

Fig. 2.21 Boundary sphere with a triple subdivision of the surface mesh by using the sphere_surfmesh_16.cgns file.
boundaryOrder = 9

@@ -283,7 +283,7 @@ If there is a need for assistance of visualizing the HOPR output visit {ref}`tut
- ../_images/Exmesh-sm4.jpg + ../../../tutorials/figures/Exmesh-sm4.jpg

Fig. 2.22 Boundary sphere without using a curving technique.

@@ -291,7 +291,7 @@ If there is a need for assistance of visualizing the HOPR output visit {ref}`tut
- ../_images/Exmesh-sm48.jpg + ../../../tutorials/figures/Exmesh-sm48.jpg

Fig. 2.23 Boundary sphere with a single subdivision of the surface mesh by using the sphere_surfmesh_08.cgns file.
boundaryOrder = 3

@@ -299,7 +299,7 @@ If there is a need for assistance of visualizing the HOPR output visit {ref}`tut
- ../_images/Exmesh-sm416.jpg + ../../../tutorials/figures/Exmesh-sm416.jpg

Fig. 2.24 Boundary sphere with a double subdivision of the surface mesh by using the sphere_surfmesh_16.cgns file.
boundaryOrder = 5

@@ -307,7 +307,7 @@ If there is a need for assistance of visualizing the HOPR output visit {ref}`tut
- ../_images/Exmesh-sm436.jpg + ../../../tutorials/figures/Exmesh-sm436.jpg

Fig. 2.25 Boundary sphere with a triple subdivision of the surface mesh by using the sphere_surfmesh_36.cgns file.
boundaryOrder = 9

@@ -339,7 +339,7 @@ The figures below show the visualization of the `CYLINDER_SplineVol.dat` file by
cylinder
- ../_images/Cylinder_gmsh.png + ../../../tutorials/figures/Cylinder_gmsh.png

Fig. 2.26 Curved mesh file created by Gmsh..

diff --git a/docs/documentation/tutorials/externalmesheswithoutcurvedboundaries.md b/docs/documentation/tutorials/externalmesheswithoutcurvedboundaries.md index 35edf80..59e934e 100644 --- a/docs/documentation/tutorials/externalmesheswithoutcurvedboundaries.md +++ b/docs/documentation/tutorials/externalmesheswithoutcurvedboundaries.md @@ -39,7 +39,7 @@ Another important fact is that for external meshes no `BCIndex` parameter is nee
- ../_images/CGNSviewer_spheremesh04.png + ../../../tutorials/figures/CGNSviewer_spheremesh04.png

Fig. 1.1 Screenshot of the folder structure of a CGNS mesh.

@@ -74,7 +74,7 @@ The figures below show the visualizations of the `SPHERE_Debugmesh.vtu` file. In
- ../_images/Exmeshwo_spheremesh01_surfaces.jpg + ../../../tutorials/figures/Exmeshwo_spheremesh01_surfaces.jpg

Fig. 1.2 HOPR output of spheremesh01.cgns

@@ -82,7 +82,7 @@ The figures below show the visualizations of the `SPHERE_Debugmesh.vtu` file. In
- ../_images/Exmeshwo_spheremesh01_mesh.jpg + ../../../tutorials/figures/Exmeshwo_spheremesh01_mesh.jpg

Fig. 1.3 HOPR output of spheremesh01.cgns with extracted edges.

@@ -90,7 +90,7 @@ The figures below show the visualizations of the `SPHERE_Debugmesh.vtu` file. In
- ../_images/Exmeshwo_spheremesh01_innerbc.jpg + ../../../tutorials/figures/Exmeshwo_spheremesh01_innerbc.jpg

Fig. 1.4 Element surfaces (6) of spheremesh01.cgns the boundary condition sphere was assigned to.

@@ -105,7 +105,7 @@ The figures below show the visualizations of the `SPHERE_Debugmesh.vtu` file. In
- ../_images/Exmeshwo_spheremesh02_surfaces.jpg + ../../../tutorials/figures/Exmeshwo_spheremesh02_surfaces.jpg

Fig. 1.5 HOPR output of spheremesh02.cgns

@@ -113,7 +113,7 @@ The figures below show the visualizations of the `SPHERE_Debugmesh.vtu` file. In
- ../_images/Exmeshwo_spheremesh02_mesh.jpg + ../../../tutorials/figures/Exmeshwo_spheremesh02_mesh.jpg

Fig. 1.6 HOPR output of spheremesh02.cgns with extracted edges.

@@ -121,7 +121,7 @@ The figures below show the visualizations of the `SPHERE_Debugmesh.vtu` file. In
- ../_images/Exmeshwo_spheremesh02_innerbc.jpg + ../../../tutorials/figures/Exmeshwo_spheremesh02_innerbc.jpg

Fig. 1.7 Element surfaces (24) of spheremesh02.cgns the boundary condition sphere was assigned to.

@@ -136,7 +136,7 @@ The figures below show the visualizations of the `SPHERE_Debugmesh.vtu` file. In
- ../_images/Exmeshwo_spheremesh04_surfaces.jpg + ../../../tutorials/figures/Exmeshwo_spheremesh04_surfaces.jpg

Fig. 1.8 HOPR output of spheremesh04.cgns

@@ -144,7 +144,7 @@ The figures below show the visualizations of the `SPHERE_Debugmesh.vtu` file. In
- ../_images/Exmeshwo_spheremesh04_mesh.jpg + ../../../tutorials/figures/Exmeshwo_spheremesh04_mesh.jpg

Fig. 1.9 HOPR output of spheremesh04.cgns with extracted edges.

@@ -152,7 +152,7 @@ The figures below show the visualizations of the `SPHERE_Debugmesh.vtu` file. In
- ../_images/Exmeshwo_spheremesh04_innerbc.jpg + ../../../tutorials/figures/Exmeshwo_spheremesh04_innerbc.jpg

Fig. 1.10 Element surfaces (64) of spheremesh04.cgns the boundary condition sphere was assigned to.

diff --git a/docs/documentation/tutorials/generationofhexahedralmeshes.md b/docs/documentation/tutorials/generationofhexahedralmeshes.md index 764c4ef..ae4b876 100644 --- a/docs/documentation/tutorials/generationofhexahedralmeshes.md +++ b/docs/documentation/tutorials/generationofhexahedralmeshes.md @@ -6,7 +6,7 @@ As many solvers require purely hexahedral meshes, HOPR implements a subdivision
- ../_images/Splittohex0.png + ../../../tutorials/figures/Splittohex0.png

Fig. 3.1 Mesh consisting of 6 tetrahedra

@@ -14,7 +14,7 @@ As many solvers require purely hexahedral meshes, HOPR implements a subdivision
- ../_images/Splittohex1.png + ../../../tutorials/figures/Splittohex1.png

Fig. 3.2 Each tetrahedron subdivided into 4 hexahedra

diff --git a/docs/documentation/tutorials/index_externalmeshes.md b/docs/documentation/tutorials/index_externalmeshes.md index 1b96842..da233af 100644 --- a/docs/documentation/tutorials/index_externalmeshes.md +++ b/docs/documentation/tutorials/index_externalmeshes.md @@ -4,7 +4,7 @@ In HOPR, it is possible to read unstructured meshes with straight edged elements ```{figure} figures/DLRF6_bOrd5_innersplines.png --- name: fig:DLRF6_bOrd5_innersplines -width: 400px +width: 200px align: center --- HOPR output: Curved surface and first layer of curved elements diff --git a/docs/documentation/tutorials/meshrefinement.md b/docs/documentation/tutorials/meshrefinement.md index 4f54661..3e626e7 100644 --- a/docs/documentation/tutorials/meshrefinement.md +++ b/docs/documentation/tutorials/meshrefinement.md @@ -6,7 +6,7 @@ It is often desirable to refine existing meshes, by subdividing the elements int
- ../_images/Hopr_nfine1.png + ../../../tutorials/figures/Hopr_nfine1.png

Fig. 2.1 Standard mesh

@@ -14,7 +14,7 @@ It is often desirable to refine existing meshes, by subdividing the elements int
- ../_images/Hopr_nfine2.png + ../../../tutorials/figures/Hopr_nfine2.png

Fig. 2.2 All elements refined by a factor of 2

diff --git a/docs/documentation/tutorials/meshuncurving.md b/docs/documentation/tutorials/meshuncurving.md index 858efd4..c25b48f 100644 --- a/docs/documentation/tutorials/meshuncurving.md +++ b/docs/documentation/tutorials/meshuncurving.md @@ -12,7 +12,7 @@ These choices are depicted in the figures bellow, the table lists the scaled Jac
- ../_images/All_curved.png + ../../../tutorials/figures/All_curved.png

Fig. 1.1 NACA-profile with all elements curved

@@ -20,7 +20,7 @@ These choices are depicted in the figures bellow, the table lists the scaled Jac
- ../_images/0_curved.png + ../../../tutorials/figures/0_curved.png

Fig. 1.2 NACA-profile with only the profile boundary curved

@@ -28,7 +28,7 @@ These choices are depicted in the figures bellow, the table lists the scaled Jac
- ../_images/1_curved.png + ../../../tutorials/figures/1_curved.png

Fig. 1.3 NACA-profile with the first cell curved

@@ -36,7 +36,7 @@ These choices are depicted in the figures bellow, the table lists the scaled Jac
- ../_images/3_curved.png + ../../../tutorials/figures/3_curved.png

Fig. 1.4 NACA-profile with the first three cells curved

diff --git a/docs/documentation/tutorials/straightedgedboxes.md b/docs/documentation/tutorials/straightedgedboxes.md index cbe01dc..cdc8430 100644 --- a/docs/documentation/tutorials/straightedgedboxes.md +++ b/docs/documentation/tutorials/straightedgedboxes.md @@ -1,7 +1,7 @@ # Straight-Edged Boxes HOPR has several simple inbuilt mesh generators.
- ../_images/Cartbox_multiple_stretch_mesh.png + ../../../tutorials/figures/Cartbox_multiple_stretch_mesh.png

Fig. 1.1 HOPR output: Mesh of multiple cartesian boxes with a stretched element arrangement.

@@ -42,7 +42,7 @@ name: tab:Parameters Cartesian Box
- ../_images/Cartbox_sketch.jpg + ../../../tutorials/figures/Cartbox_sketch.jpg

Fig. 1.2 Sketch of the current problem

@@ -50,7 +50,7 @@ name: tab:Parameters Cartesian Box
- ../_images/Cartbox_ini.jpg + ../../../tutorials/figures/Cartbox_ini.jpg

Fig. 1.3 Cartesian Box Boundary Conditions ini-File

@@ -68,7 +68,7 @@ If there is a need for assistance of visualizing the HOPR output visit {ref}`tut This is a visualization of the `cartbox_Debugmesh.dat` file.
-../_images/Cartbox_mesh.jpg +../../../tutorials/figures/Cartbox_mesh.jpg

Fig. 1.4 Mesh of the cartesian box

@@ -82,7 +82,7 @@ This is a visualization of the `cartbox_Debugmesh_BC.dat`file. The colors of the
- ../_images/Cartbox_BC1.jpg + ../../../tutorials/figures/Cartbox_BC1.jpg

Fig. 1.5 Boundary condition 1 (BC_wall) is assigned to surface 1

@@ -90,7 +90,7 @@ This is a visualization of the `cartbox_Debugmesh_BC.dat`file. The colors of the
- ../_images/Cartbox_BC2.jpg + ../../../tutorials/figures/Cartbox_BC2.jpg

Fig. 1.6 Boundary condition 2 (BC_inflow) is assigned to surface 2

@@ -98,7 +98,7 @@ This is a visualization of the `cartbox_Debugmesh_BC.dat`file. The colors of the
- ../_images/Cartbox_BC3.jpg + ../../../tutorials/figures/Cartbox_BC3.jpg

Fig. 1.7 Boundary condition 3 (BC_outflow) is assigned to surface 3

@@ -111,7 +111,7 @@ This is a visualization of the `cartbox_Debugmesh_BC.dat`file. The colors of the
- ../_images/Cartbox_BC4.jpg + ../../../tutorials/figures/Cartbox_BC4.jpg

Fig. 1.8 Boundary condition 4 (BC_yplus) is assigned to surface 4

@@ -119,7 +119,7 @@ This is a visualization of the `cartbox_Debugmesh_BC.dat`file. The colors of the
- ../_images/Cartbox_BC5.jpg + ../../../tutorials/figures/Cartbox_BC5.jpg

Fig. 1.9 Boundary condition 5 (BC_xminus) is assigned to surface 5

@@ -127,7 +127,7 @@ This is a visualization of the `cartbox_Debugmesh_BC.dat`file. The colors of the
- ../_images/Cartbox_BC6.jpg + ../../../tutorials/figures/Cartbox_BC6.jpg

Fig. 1.10 Boundary condition 6 (BC_zplus) is assigned to surface 6

@@ -155,7 +155,7 @@ The first four components of the `BCIndex` vector are equal. The index of these
- ../_images/Cartbox_ex1_sketch.jpg + ../../../tutorials/figures/Cartbox_ex1_sketch.jpg

Fig. 1.11 Sketch of Example 1

@@ -163,7 +163,7 @@ The first four components of the `BCIndex` vector are equal. The index of these
- ../_images/Cartbox_ex1_ini.jpg + ../../../tutorials/figures/Cartbox_ex1_ini.jpg

Fig. 1.12 Cartesian Box example 1 Boundary Conditions ini-File

@@ -180,10 +180,10 @@ If there is a need for assistance of visualizing the HOPR output visit {ref}`tut This is a visualization of the `cartbox_ex1_Debugmesh.dat` file.
-../_images/Cartbox_ex1_mesh.jpg -
-

Fig. 1.13 Mesh of the cartesian box

-
+ ../../../tutorials/figures/Cartbox_ex1_mesh.jpg +
+

Fig. 1.13 Mesh of the cartesian box

+

Boundary Conditions

@@ -194,7 +194,7 @@ This is a visualization of the `cartbox_ex1_Debugmesh_BC.dat` file. The colors o
- ../_images/Cartbox_ex1_BC1.jpg + ../../../tutorials/figures/Cartbox_ex1_BC1.jpg

Fig. 1.14 Boundary condition 1 (BC_wall) is assigned to surface 1-4

@@ -202,7 +202,7 @@ This is a visualization of the `cartbox_ex1_Debugmesh_BC.dat` file. The colors o
- ../_images/Cartbox_ex1_BC2.jpg + ../../../tutorials/figures/Cartbox_ex1_BC2.jpg

Fig. 1.15 Boundary condition 2 (BC_inflow) is assigned to surface 5

@@ -210,7 +210,7 @@ This is a visualization of the `cartbox_ex1_Debugmesh_BC.dat` file. The colors o
- ../_images/Cartbox_ex1_BC3.jpg + ../../../tutorials/figures/Cartbox_ex1_BC3.jpg

Fig. 1.16 Boundary condition 3 (BC_inflow) is assigned to surface 6

@@ -235,7 +235,7 @@ In this example the first, the third and the sixth component of the `BCIndex` ve
- ../_images/Cartbox_ex1-sketch.jpg + ../../../tutorials/figures/Cartbox_ex1-sketch.jpg

Fig. 1.17 Sketch of Example 2

@@ -243,7 +243,7 @@ In this example the first, the third and the sixth component of the `BCIndex` ve
- ../_images/Cartbox_ex2_ini.jpg + ../../../tutorials/figures/Cartbox_ex2_ini.jpg

Fig. 1.18 Cartesian Box example 2 Boundary Conditions ini-File

@@ -261,7 +261,7 @@ If there is a need for assistance of visualizing the HOPR output visit {ref}`tut This is a visualization of the `cartbox_ex2_Debugmesh.dat` file.
- ../_images/Ex2_cartbox_mesh.jpg + ../../../tutorials/figures/Ex2_cartbox_mesh.jpg

Fig. 1.19 Mesh of the cartesian box

@@ -276,7 +276,7 @@ This is a visualization of the `cartbox_ex2_Debugmesh_BC.dat` file. The colors o
- ../_images/Cartbox_ex2_BC1.jpg + ../../../tutorials/figures/Cartbox_ex2_BC1.jpg

Fig. 1.20 Boundary condition 1 (BC_wall) is assigned to surfaces 1, 3 and 6

@@ -284,7 +284,7 @@ This is a visualization of the `cartbox_ex2_Debugmesh_BC.dat` file. The colors o
- ../_images/Cartbox_ex2_BC2.jpg + ../../../tutorials/figures/Cartbox_ex2_BC2.jpg

Fig. 1.21 Boundary condition 2 (BC_inflow) is assigned to surface 5

@@ -292,7 +292,7 @@ This is a visualization of the `cartbox_ex2_Debugmesh_BC.dat` file. The colors o
- ../_images/Cartbox_ex2_BC3.jpg + ../../../tutorials/figures/Cartbox_ex2_BC3.jpg

Fig. 1.22 Boundary condition 3 (BC_outflow) is assigned to surface 2 and 4

@@ -327,7 +327,7 @@ name: tab:Parameters Periodic Boundary Conditions ### Periodic Boundary Conditions: Boundary Conditions and Sketch Fig. 1.23 shows the sketch of the current problem. It is similar to the problem in the tutorial Cartesian Box but instead of Dirichlet periodic boundary conditions are assigned to the surfaces one, two, four and six. Further below one can see an excerpt of the parameter file which deals with the periodic boundary conditions. In this code's excerpt some text elements are colored to show the connection between boundary conditions and their related displacement vectors. The same colors are used for the visualization in Fig. 1.17.
- ../_images/Cartbox_periodic_sketch.jpg + ../../../tutorials/figures/Cartbox_periodic_sketch.jpg

Fig. 1.23 Sketch of the current problem; For a greater clarity in this figure the displacement vectors are shown shorter than they are. In truth the vector arrows are as long as the side length of the cartesian box.

@@ -338,7 +338,7 @@ As one can see the first four boundary conditions are periodic because the last For the other two periodic boundary conditions of the surfaces two and four the second defined displacement vector is consulted (see alpha value of the BoundaryType parameters). The components of the displacement vector (/0.,1.,0./) results from the necessary perpendicularity to the surfaces and the side length of the cartesian box
- ../_images/Cartbox_periodic_ini.jpg + ../../../tutorials/figures/Cartbox_periodic_ini.jpg

Fig. 1.24 Cartbox periodic ini-File.

@@ -406,7 +406,7 @@ A description of all parameters of the parameterfile can be found in {ref}`userg For a better understanding the different settings of the parameter `BCIndex` are also given. The given settings just consider the components which are set to 0 because of coinciding surfaces are given.
- ../_images/Cartbox_multiple_sketch.jpg + ../../../tutorials/figures/Cartbox_multiple_sketch.jpg

Fig. 1.25 Sketch of the current problem; For a greater clarity in this figure the displacement vectors are shown shorter than they are. In truth the vector arrows are as long as the side length of the cartesian box.

@@ -420,7 +420,7 @@ If there is a need for assistance of visualizing the HOPR output visit {ref}`tut This is a visualization of the `cartbox_multiple_Debugmesh.dat` file.
- ../_images/Cartbox_multiple_mesh.jpg + ../../../tutorials/figures/Cartbox_multiple_mesh.jpg

Fig. 1.26 Mesh of the multiple cartesian boxes.

@@ -434,7 +434,7 @@ This is a visualization of the `cartbox_multiple_Debugmesh_BC.dat` file. The col
- ../_images/Cartbox_multiple_BC1.jpg + ../../../tutorials/figures/Cartbox_multiple_BC1.jpg

Fig. 1.27 Boundary condition 1 (BC_slipwall) is assigned to surface 1 of the first box

@@ -442,7 +442,7 @@ This is a visualization of the `cartbox_multiple_Debugmesh_BC.dat` file. The col
- ../_images/Cartbox_multiple_BC2.jpg + ../../../tutorials/figures/Cartbox_multiple_BC2.jpg

Fig. 1.28 Boundary condition 2 (BC_upperwall) is assigned to surface 6 of the second and the third box

@@ -450,7 +450,7 @@ This is a visualization of the `cartbox_multiple_Debugmesh_BC.dat` file. The col
- ../_images/Cartbox_multiple_BC3.jpg + ../../../tutorials/figures/Cartbox_multiple_BC3.jpg

Fig. 1.29 Boundary condition 3 (BC_lowerwall) is assigned to surface 3 of the first box and to surface 1 of the third box

@@ -460,7 +460,7 @@ This is a visualization of the `cartbox_multiple_Debugmesh_BC.dat` file. The col
- ../_images/Cartbox_multiple_BC4.jpg + ../../../tutorials/figures/Cartbox_multiple_BC4.jpg

Fig. 1.30 Boundary condition 4 (BC_inflow) is assigned to surface 5 of the first and the second box

@@ -468,7 +468,7 @@ This is a visualization of the `cartbox_multiple_Debugmesh_BC.dat` file. The col
- ../_images/Cartbox_multiple_BC5.jpg + ../../../tutorials/figures/Cartbox_multiple_BC5.jpg

Fig. 1.31 Boundary condition 5 (BC_outflow) is assigned to surface 3 of the third box

@@ -476,7 +476,7 @@ This is a visualization of the `cartbox_multiple_Debugmesh_BC.dat` file. The col
- ../_images/Cartbox_multiple_BC6.jpg + ../../../tutorials/figures/Cartbox_multiple_BC6.jpg

Fig. 1.32 Periodic boundary condition 6 (BC_yminus) is assigned to surface 2 of the first, the second and the third box

@@ -486,7 +486,7 @@ This is a visualization of the `cartbox_multiple_Debugmesh_BC.dat` file. The col
- ../_images/Cartbox_multiple_BC7.jpg + ../../../tutorials/figures/Cartbox_multiple_BC7.jpg

Fig. 1.33 Periodic boundary condition 7 (BC_yplus) is assigned to surface 4 of the first, the second and the third box

@@ -507,7 +507,7 @@ The parameter file can be found in ### Stretching Functions: Definition of Stretching Functions With stretching functions one can generate a mesh consisting of a boxes with a stretched element arrangement. Therefore two new parameters can be defined in the parameter file: `factor` and `l0`. Each one can used to stretch the elements of a box. Their meaning and connection is shown as one-dimensional case in Fig. 1.28.
- ../_images/Stretch_functions.jpg + ../../../tutorials/figures/Stretch_functions.jpg

Fig. 1.34 "Stretch parameters" `factor` and `l0`

@@ -556,7 +556,7 @@ These three different cases are presented below with a small cube with an edge l
- ../_images/Stretch_example.png + ../../../tutorials/figures/Stretch_example.png

Fig. 1.35 Non-stretched element arrangement
nElems =(/4,4,4/)
factor =(/0,0,0/)
@@ -566,7 +566,7 @@ These three different cases are presented below with a small cube with an edge l

- ../_images/Stretch_example_f.png + ../../../tutorials/figures/Stretch_example_f.png

Fig. 1.36 Stretched element arrangement. The element size in the direction of the x-axis increases by a factor of 1.5. In the direction of the y-axis it decreases by the factor of -1.2.
nElems =(/4,4,4/)
factor =(/1.5,-1.2,0/)
@@ -576,7 +576,7 @@ These three different cases are presented below with a small cube with an edge l

- ../_images/Stretch_example_l0.png + ../../../tutorials/figures/Stretch_example_l0.png

Fig. 1.37 Stretched element arrangement. The first element in the direction of the x-axis has a length of 0.5 and a length of 0.2 in the direction of the y-axis. The parameter factor is adjusted.
nElems =(/4,4,4/)
factor =(/0,0,0/)
@@ -586,7 +586,7 @@ These three different cases are presented below with a small cube with an edge l

- ../_images/Stretch_example_fl0.png + ../../../tutorials/figures/Stretch_example_fl0.png

Fig. 1.38 Stretched element arrangement with a combination of factor and l0. The parameter l0 defines the side lengths of the first element. The following element sizes are multiplied by the compontens of the parameter factor. The number of elements N which is defined by the parameter nElems is not retained.
nElems =(/4,4,4/)
factor =(/1.5,-1.2,0/)
@@ -607,7 +607,7 @@ In the following an exemplary mesh of multiple cartesian boxes with a stretched

- ../_images/Cartbox_multiple_stretch_sketch.jpg + ../../../tutorials/figures/Cartbox_multiple_stretch_sketch.jpg

Fig. 1.39 Sketch of a mesh with multiple cartesian boxes with a stretched element arrangement. The arrows show in which direction the elements are compressed. The elements are getting smaller the closer the elements get to the cartesian x-y-plane and y-z-plane. The elements in the direction of the cartesian y-axis remain equidistant.

@@ -621,13 +621,13 @@ If there is a need for assistance of visualizing the HOPR output visit {ref}`tut These are visualizations of the `cartbox_multiple_stretch_mesh.h5` file.
- ../_images/Cartbox_multiple_stretch_side.png + ../../../tutorials/figures/Cartbox_multiple_stretch_side.png

Fig. 1.40 Side view of the mesh of the multiple cartesian boxes with a stretched element arrangement.

- ../_images/Cartbox_multiple_stretch_mesh.png + ../../../tutorials/figures/Cartbox_multiple_stretch_mesh.png

Fig. 1.41 Mesh of the multiple cartesian boxes with a stretched element arrangement.

diff --git a/docs/documentation/tutorials/visualizationwithparaview.md b/docs/documentation/tutorials/visualizationwithparaview.md index b0a9a72..f688178 100644 --- a/docs/documentation/tutorials/visualizationwithparaview.md +++ b/docs/documentation/tutorials/visualizationwithparaview.md @@ -1,7 +1,7 @@ # Visualization with Paraview