|
ASPECT
|

Static Public Member Functions | |
| static void | declare_parameters (ParameterHandler &prm) |
Static Public Member Functions inherited from aspect::Utilities::AsciiDataBoundary< dim > | |
| static void | declare_parameters (ParameterHandler &prm, const std::string &default_directory, const std::string &default_filename, const std::string &subsection_name="Ascii data model", const bool declare_time_dependent_parameters=true) |
Static Public Member Functions inherited from aspect::Utilities::AsciiDataBase< dim > | |
| static void | declare_parameters (ParameterHandler &prm, const std::string &default_directory, const std::string &default_filename, const std::string &subsection_name="Ascii data model") |
Static Public Member Functions inherited from aspect::SimulatorAccess< dim > | |
| static void | get_composition_values_at_q_point (const std::vector< std::vector< double >> &composition_values, const unsigned int q, std::vector< double > &composition_values_at_q_point) |
Static Public Member Functions inherited from aspect::Plugins::InterfaceBase | |
| static void | declare_parameters (ParameterHandler &prm) |
Private Attributes | |
| std::set< types::boundary_id > | boundary_ids |
| bool | use_spherical_unit_vectors |
| bool | prescribe_pressure_instead_of_full_traction |
Additional Inherited Members | |
Public Attributes inherited from aspect::Utilities::AsciiDataBase< dim > | |
| std::string | data_directory |
| std::string | data_file_name |
| double | scale_factor |
Protected Member Functions inherited from aspect::Utilities::AsciiDataBoundary< dim > | |
| void | update_data (const types::boundary_id boundary_id, const bool reload_both_files) |
| void | end_time_dependence () |
| std::string | create_filename (const int filenumber, const types::boundary_id boundary_id) const |
Protected Attributes inherited from aspect::Utilities::AsciiDataBoundary< dim > | |
| int | current_file_number |
| int | first_data_file_number |
| bool | decreasing_file_order |
| double | data_file_time_step |
| double | time_weight |
| bool | time_dependent |
| std::map< types::boundary_id, std::unique_ptr< aspect::Utilities::StructuredDataLookup< dim-1 > > > | lookups |
| std::map< types::boundary_id, std::unique_ptr< aspect::Utilities::StructuredDataLookup< dim-1 > > > | old_lookups |
A class that implements prescribed traction boundary conditions from data given in an AsciiData input file.
This class supports prescribing either:
The behavior is controlled by the input parameter "Prescribe pressure instead of full traction" (default: true). If true, only one component (pressure) is read from the input file and used to compute traction as -pressure * normal_vector. If false, the full traction vector components (equal to the spatial dimension) are read from the input file.
Additionally, the traction vector components may be specified in either Cartesian coordinates or spherical coordinates, controlled by the "Use spherical unit vectors" parameter.
This flexibility allows compatibility with existing models prescribing pressure boundary conditions, while enabling models requiring full traction vectors.
Definition at line 60 of file ascii_data.h.
| aspect::BoundaryTraction::AsciiData< dim >::AsciiData | ( | ) |
Constructor.
|
overridevirtual |
Initialization function. This function is called once at the beginning of the program. Checks preconditions.
Reimplemented from aspect::Plugins::InterfaceBase.
|
overridevirtual |
Return the boundary traction as a function of position. The (outward) normal vector to the domain is also provided as a second argument.
Implements aspect::BoundaryTraction::Interface< dim >.
|
overridevirtual |
A function that is called at the beginning of each time step to indicate what the model time is for which the boundary values will next be evaluated. For the current class, the function passes to the parsed function what the current time is.
Reimplemented from aspect::Plugins::InterfaceBase.
|
static |
Declare the parameters this class takes through input files.
|
overridevirtual |
Read the parameters this class declares from the parameter file.
Reimplemented from aspect::Plugins::InterfaceBase.
|
private |
Definition at line 111 of file ascii_data.h.
|
private |
Whether to specify traction in x, y, z components, or r, phi, theta components.
This variable is read from the parameter file through a parameter called 'Use spherical unit vectors'.
Definition at line 119 of file ascii_data.h.
|
private |
Whether to prescribe pressure (default: true) or full traction vector (false) at the boundary. If true, only 1 component will be used for the boundary condition.
This variable is read from the parameter file through a parameter called 'Prescribe pressure instead of full traction'.
Definition at line 127 of file ascii_data.h.