Commit f3c4d76a authored by Alexander Nikolas Breuer's avatar Alexander Nikolas Breuer
Browse files

Added update La Habra setting for Gmsh mesh-interface.

parent 5732587f
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
la_habra_mesh_flat.o768719 filter=lfs diff=lfs merge=lfs -text
la_habra_mesh_flat_cont.e774474 filter=lfs diff=lfs merge=lfs -text
la_habra_mesh_flat_cont.o774474 filter=lfs diff=lfs merge=lfs -text
la_habra_mesh_flat_cont2.e791703 filter=lfs diff=lfs merge=lfs -text
la_habra_mesh_flat_cont2.o791703 filter=lfs diff=lfs merge=lfs -text
la_habra_mesh_flat.e768719 filter=lfs diff=lfs merge=lfs -text
......@@ -9,6 +9,4 @@ Next, we iterate over the following steps multiple times:
* Gmsh reads the target lengths and generates a mesh satisfying the specified constraints.
In a final iteration EDGE-V also increases the mesh-resolution if jump in vs is detected.
This input is once again parsed by Gmsh and then handed over to EDGE-V for velocity and LTS annotations as well as partitioning.
EDGE-V used MOAB with the patch ``../moab_int32.patch`` applied.
This input is once again parsed by Gmsh and then handed over to EDGE-V for velocity and LTS annotations as well as partitioning.
\ No newline at end of file
#!/bin/bash
##
# @file This file is part of EDGE.
#
# @author Alexander Breuer (breuer AT mytum.de)
#
# @section LICENSE
# Copyright (c) 2020, Alexander Breuer
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
#
# 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
#
# 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# @section DESCRIPTION
# Generates a vs-adapted mesh in a box without topography.
##
n_threads=5
# disabled hxt due to segfaults
#gmsh -algo hxt -nt ${n_threads} -3 la_habra_flat.geo -o la_habra_refined_base.msh2
gmsh -3 la_habra_flat.geo -o la_habra_refined_base.msh2
mv la_habra_refined_base.msh2 la_habra_refined_base.msh
# iterate over base mesh
for iter in $(seq 0 2)
do
echo "iteration #${iter}"
edge_v -x la_habra_refined_base.xml
#gmsh -algo hxt -nt ${n_threads} -3 la_habra_flat.geo -bgm la_habra_bgm_base.msh -o la_habra_refined_base.msh2
gmsh -3 la_habra_flat.geo -bgm la_habra_bgm_base.msh -o la_habra_refined_base.msh2
mv la_habra_refined_base.msh2 la_habra_refined_base.msh
done
echo "refining for velocity gradient"
edge_v -x la_habra_refined_grad.xml
#gmsh -algo hxt -nt ${n_threads} -3 la_habra_flat.geo -bgm la_habra_bgm_grad.msh -o la_habra_refined_grad.msh2
gmsh -3 la_habra_flat.geo -bgm la_habra_bgm_grad.msh -o la_habra_refined_grad.msh2
mv la_habra_refined_grad.msh2 la_habra_refined_grad.msh
echo "clustering, annotating and partitioning"
mkdir part
edge_v -x la_habra_refined_part.xml
#!/bin/bash
##
# @file This file is part of EDGE.
#
# @author Alexander Breuer (breuer AT mytum.de)
#
# @section LICENSE
# Copyright (c) 2020, Alexander Breuer
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
#
# 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
#
# 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# @section DESCRIPTION
# Generates a vs-adapted mesh in a box without topography.
##
n_threads=5
# disabled hxt due to segfaults
#gmsh -algo hxt -nt ${n_threads} -3 la_habra_flat.geo -o la_habra_refined_base.msh2
#gmsh -3 la_habra_flat.geo -o la_habra_refined_base.msh2
#mv la_habra_refined_base.msh2 la_habra_refined_base.msh
# iterate over base mesh
for iter in $(seq 2 2)
do
echo "iteration #${iter}"
#edge_v -x la_habra_refined_base.xml
#gmsh -algo hxt -nt ${n_threads} -3 la_habra_flat.geo -bgm la_habra_bgm_base.msh -o la_habra_refined_base.msh2
gmsh -3 la_habra_flat.geo -bgm la_habra_bgm_base.msh -o la_habra_refined_base.msh2
mv la_habra_refined_base.msh2 la_habra_refined_base.msh
done
echo "refining for velocity gradient"
edge_v -x la_habra_refined_grad.xml
#gmsh -algo hxt -nt ${n_threads} -3 la_habra_flat.geo -bgm la_habra_bgm_grad.msh -o la_habra_refined_grad.msh2
gmsh -3 la_habra_flat.geo -bgm la_habra_bgm_grad.msh -o la_habra_refined_grad.msh2
mv la_habra_refined_grad.msh2 la_habra_refined_grad.msh
echo "clustering, annotating and partitioning"
mkdir part
edge_v -x la_habra_refined_part.xml
la_habra_mesh_bgm.e1712595 filter=lfs diff=lfs merge=lfs -text
la_habra_mesh_bgm.e1712596 filter=lfs diff=lfs merge=lfs -text
la_habra_mesh_bgm.o1712594 filter=lfs diff=lfs merge=lfs -text
la_habra_mesh_grad.e1712598 filter=lfs diff=lfs merge=lfs -text
la_habra_mesh_bgm.e1712594 filter=lfs diff=lfs merge=lfs -text
la_habra_mesh_bgm.o1712596 filter=lfs diff=lfs merge=lfs -text
la_habra_mesh_final.e1712599 filter=lfs diff=lfs merge=lfs -text
la_habra_mesh_final.o1712599 filter=lfs diff=lfs merge=lfs -text
la_habra_mesh_grad.e1712597 filter=lfs diff=lfs merge=lfs -text
la_habra_mesh_grad.o1712598 filter=lfs diff=lfs merge=lfs -text
la_habra_mesh_initial_bgm.e1712593 filter=lfs diff=lfs merge=lfs -text
la_habra_mesh_bgm.o1712595 filter=lfs diff=lfs merge=lfs -text
la_habra_mesh_grad.o1712597 filter=lfs diff=lfs merge=lfs -text
la_habra_mesh_initial_bgm.o1712593 filter=lfs diff=lfs merge=lfs -text
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment