3from .Scenario
import Scenario
9 Part of a series of benchmarks by the Statewide California Earthquake Center (SCEC)
11 Imperial Fault, Model 1. Spontaneous rupture on a vertical strike-slip fault.
12 There is a 3D velocity structure in a linear elastic half-space. The velocity structure is derived from
13 SCEC Community Velocity Model CVM-H in the vicinity of the Imperial Fault.
14 Initial shear and normal stresses are proportional to the shear modulus.
16 The description of the scenario can be found at: https://strike.scec.org/cvws/tpv34docs.html
19 domain_offset = [3.8, 0., 3.8]
20 domain_size = [32.4, 32.4, 32.4]
24 tracer_coordinates = [
135 easi::ArraysAdapter<double> adapter;
136 adapter.addBindingPoint("rho", &rho);
137 adapter.addBindingPoint("cs", &cs);
138 adapter.addBindingPoint("cp", &cp);
140 easi::Query query(1,3);
142 query.x(0,0) = x[0]-20.0;
144 query.x(0,2) = x[2]-20.0;
145 context->model->evaluate(query,adapter);
147 Q[Shortcuts::rho] = rho;
148 Q[Shortcuts::cs] = cs;
149 Q[Shortcuts::cp] = cp;
155 dictionary = {
"MODE": order+1 }
157 os.path.dirname(os.path.realpath(__file__))+
"/specs/TPV34/tpv34.yaml.template",
158 "tpv34.yaml", dictionary
162 os.path.dirname(os.path.realpath(__file__))+
"/specs/TPV34/tpv34_fault.yaml",
167 os.path.dirname(os.path.realpath(__file__))+
"/specs/TPV34/material.yaml",
172 os.path.dirname(os.path.realpath(__file__))+
"/specs/TPV34/tpv34_mu_mult_plus.nc",
173 "tpv34_mu_mult_plus.nc"
177 os.path.dirname(os.path.realpath(__file__))+
"/specs/TPV34/tpv34_rhovsvp.nc",
copy_file_to_current_folder(self, current_filename, full_qualified_filename)
generate_file_from_template(self, template_file, full_qualified_filename, dictionary)
Part of a series of benchmarks by the Statewide California Earthquake Center (SCEC)
generate_required_files(self, order)