I set the .prm file parameters as follows:
subsection Geometry model
set Model name = spherical shell
subsection Spherical shell
set Outer radius = 1740000
set Inner radius = 400000
set Opening angle = 360
end
end
subsection Boundary temperature model
set Fixed temperature boundary indicators = bottom, top
set List of model names = spherical constant
subsection Spherical constant
set Inner temperature = 1843
set Outer temperature = 273
end
end
subsection Initial temperature model
set List of model names = ascii profile , spherical gaussian perturbation
set List of model operators = add
subsection Ascii profile
set Data directory = data/
set Data file name = Temperature.txt
end
end
and the error information is:
An error occurred in line <301> of file </THL7/home/maqz2/.spack/stage/spack-stage-aspect-develop-p2hfes7wazqttrpllhwuax4iohoxsxap/spack-src/source/initial_temperature/spherical_shell.cc> in function
void aspect::InitialTemperature::SphericalGaussianPerturbation<dim>::parse_parameters(dealii::ParameterHandler&) [with int dim = 2]
The violated condition was:
this->has_boundary_temperature()
Additional information:
This initial condition can only be used if a boundary temperature is prescribed.
As mentioned above, I have set the boundary temperature as Fixed temperature boundary, so I couldn’t find out how to set the perturbation next. I’d be grateful to you for answering my question.