Commit 9c702c07 authored by Alex Breuer's avatar Alex Breuer
Browse files

Removed outdated Gaussian canyon benchmark.

parent 437b024b
# Gaussian Canyon Model in 2D
This directory contains input and output for a Gaussion canyon model in two dimensions.
Details on the benchmark description are given in:
Zhang, Wei, and Xiaofei Chen.
"Traction image method for irregular free surface boundaries in finite difference seismic wave simulation."
Geophysical Journal International 167.1 (2006): 337-353.
* Contact: Alex Breuer
<?xml version="1.0" encoding="UTF-8"?>
<!--
@file This file is part of EDGE.
@author Alexander Breuer (anbreuer AT ucsd.edu)
@section LICENSE
Copyright (c) 2017, Regents of the University of California
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
Configuration for the Gaussian canyon model.
-->
<edge>
<build>
<element_type>tria3</element_type>
<equations>elastic</equations>
<moab>yes</moab>
</build>
<cfr>
<mesh>
<files>
<in>gcan_2d.msh</in>
</files>
<boundary>
<free_surface>101</free_surface>
<outflow>105</outflow>
</boundary>
</mesh>
<velocity_model>
<domain>
<half_space>
<origin>
<x>0</x>
<y>1</y>
</origin>
<normal>
<x> 0</x>
<y>-1</y>
</normal>
</half_space>
<rho>1800</rho>
<lambda>11.016E9</lambda>
<mu>2.592E9</mu>
</domain>
</velocity_model>
<setups>
<kinematic_sources>
<file>ricker.nc</file>
<file>ricker.nc</file>
<file>ricker.nc</file>
<file>ricker.nc</file>
<file>ricker.nc</file>
<file>ricker.nc</file>
<file>ricker.nc</file>
<file>ricker.nc</file>
</kinematic_sources>
<end_time>20.0</end_time>
</setups>
<output>
<receivers>
<path_to_dir>gcan_2d_re</path_to_dir>
<freq>0.01</freq>
<!--
Wolfram Alpha: -2000 * exp( -(5000 - 10000)^2 / 3000^2 ) = -124.3530..
-->
<receiver>
<name>gcan_2d_1</name>
<coords>
<x>5000</x>
<y>-125.0</y>
</coords>
</receiver>
<receiver>
<name>gcan_2d_2</name>
<coords>
<x>10000</x>
<y>-2000</y>
</coords>
</receiver>
<receiver>
<name>gcan_2d_3</name>
<coords>
<x>15000</x>
<y>-125.0</y>
</coords>
</receiver>
</receivers>
<wave_field>
<type>vtk_binary</type>
<file>gcan_2d_wf/wave_field</file>
<int>0.1</int>
</wave_field>
</output>
</cfr>
</edge>
[![CC0](http://i.creativecommons.org/p/zero/1.0/88x31.png)](http://creativecommons.org/publicdomain/zero/1.0/)
To the extent possible under law, [Alexander Nikolas Breuer](http://dial3343.org) has waived all copyright and related or neighboring rights to the following work:
* `gcan_2d_100.msh`
* `gcan_2d_100.vtk`
* `gcan_2d_500.msh`
* `gcan_2d_500.vtk`
This work is published from: United States.
/**
* @file This file is part of EDGE.
*
* @author Alexander Breuer (anbreuer AT ucsd.edu)
*
* @section LICENSE
* Copyright (c) 2017, Regents of the University of California
* 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
* Template for the Gaussian canyon model in:
* Zhang, Wei, and Xiaofei Chen.
* "Traction image method for irregular free surface boundaries in finite difference seismic wave simulation."
* Geophysical Journal International 167.1 (2006): 337-353.
* Fig. 6
**/
Mesh.Algorithm = 6; // frontal
// total size of the computational domain (+/- x, and +/-y)
l_dom = 45000;
// number of line segmets used for discretization of the Gaussian shape canyon in [0, 20]
l_nSegCan = 20000 / cl_can;
l_x0 = 10000;
l_h = 2000;
l_a = 3000;
// create points for the canyon topography
For l_pt In {0:l_nSegCan}
l_x = cl_can*l_pt;
Point(l_pt) = {l_x, -l_h * Exp( -(l_x-l_x0)*(l_x-l_x0) / (l_a*l_a) ), 0};
EndFor
// create lines connecting the points of the canyon topo
For l_li In {0:(l_nSegCan-1)}
Line(l_li) = {l_li, l_li+1};
EndFor
// add remaining points
Point(l_nSegCan+1) = { l_dom, 0, 0};
Point(l_nSegCan+2) = { l_dom, -l_dom, 0};
Point(l_nSegCan+3) = {-l_dom, -l_dom, 0};
Point(l_nSegCan+4) = {-l_dom, 0, 0};
// add remainig lines
For l_li In {l_nSegCan:(l_nSegCan+3)}
Line(l_li) = { l_li, (l_li+1) };
EndFor
Line(l_nSegCan+4) = {l_nSegCan+4, 0};
// set free-surface and outflow boundaries
Physical Line(101) = {0:l_nSegCan, l_nSegCan+4};
Physical Line(105) = {l_nSegCan+1:(l_nSegCan+3)};
// define volume
Line Loop(1) = { 0:l_nSegCan+4 };
Plane Surface(1) = {1};
Physical Surface(1) = {1};
// mesh refinemnt: high-res canyon
Field[1] = Box;
Field[1].VIn = cl_can;
Field[1].VOut = cl_vol;
Field[1].XMin = -10000;
Field[1].XMax = 25000;
Field[1].YMin = -15000;
Field[1].YMax = 1;
Background Field = 1;
/**
* @file This file is part of EDGE.
*
* @author Alexander Breuer (anbreuer AT ucsd.edu)
*
* @section LICENSE
* Copyright (c) 2017, Regents of the University of California
* 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
* Gaussian canyon with a characteristic length of 100m in proximity of the canyon.
**/
// characteristic length in the canyon: [-10,000, 25,000] x [-15,000, 0]
cl_can = 100.0;
// characteristic length in the remaining volume
cl_vol = 200.0;
Include "gcan_2d.tmpl";
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
/**
* @file This file is part of EDGE.
*
* @author Alexander Breuer (anbreuer AT ucsd.edu)
*
* @section LICENSE
* Copyright (c) 2017, Regents of the University of California
* 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
* Gaussian canyon with a characteristic length of 500m proximity of the canyon.
**/
// characteristic length in the canyon: [-10,000, 25,000] x [-15,000, 0]
cl_can = 500.0;
// characteristic length in the remaining volume
cl_vol = 1000.0;
Include "gcan_2d.tmpl";
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
../loh_2d/ricker.nc
\ No newline at end of file
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