![]() |
|
Go to the source code of this file.
Functions | |
MyTaylorHoodElement () | |
unsigned & | nprev_for_extrapolation_of_strain_rate () |
void | enable_fixed_point_iteration_for_strain_rate () |
void | disable_fixed_point_iteration_for_strain_rate () |
Disable use of fixed point iteration. More... | |
void | enable_aitken_extrapolation () |
Enable use of Aitken extrapolation. More... | |
void | disable_aitken_extrapolation () |
Disable use of Aitken extrapolation. More... | |
void | latest_fixed_point_iteration_guess_for_strain_rate (const unsigned &ipt, DenseMatrix< double > &strainrate) const |
void | update_latest_fixed_point_iteration_guess_for_strain_rate () |
void | extrapolated_strain_rate (const unsigned &ipt, DenseMatrix< double > &strainrate) const |
void | extrapolated_strain_rate (const Vector< double > &s, DenseMatrix< double > &strainrate) const |
void | set_error (const double &error) |
Set error value for post-processing. More... | |
std::string | variable_identifier () |
Return variable identifier. More... | |
void | output (std::ostream &outfile, const unsigned &nplot) |
Overload output function. More... | |
void | get_Z2_flux (const Vector< double > &s, Vector< double > &flux) |
Get 'flux' for Z2 error recovery. More... | |
double | square_of_norm_of_strain_invariant (double &norm_squared, double &extrapolated_norm_squared, double &error_norm_squared) |
double | square_of_norm_of_viscosity (double &norm_squared, double &extrapolated_norm_squared, double &error_norm_squared) |
double | square_of_norm_of_fixed_point (double &norm_squared, double &latest_guess_norm_squared, double &error_norm_squared) |
double | square_of_l2_norm () |
Get square of L2 norm of velocity. More... | |
Variables | |
unsigned | el_dim |
dimension More... | |
double | Error |
Storage for elemental error estimate – used for post-processing. More... | |
unsigned | Nprev_for_extrapolation_of_strain_rate |
bool | Use_fixed_point_for_strain_rate |
bool | Use_aitken_extrapolation |
Vector< Vector< DenseMatrix< double > > > | Fixed_point_iteration_guess_for_strain_rate |
Current best guess for strain rate tensor (fixed point iteration) More... | |
unsigned | Aitken_index |
void disable_aitken_extrapolation | ( | ) |
Disable use of Aitken extrapolation.
References Use_aitken_extrapolation.
void disable_fixed_point_iteration_for_strain_rate | ( | ) |
Disable use of fixed point iteration.
References Use_aitken_extrapolation, and Use_fixed_point_for_strain_rate.
void enable_aitken_extrapolation | ( | ) |
Enable use of Aitken extrapolation.
References Use_aitken_extrapolation.
void enable_fixed_point_iteration_for_strain_rate | ( | ) |
Enable use of fixed point iteration (sets current best guess based on extrapolation)
References Aitken_index, update_latest_fixed_point_iteration_guess_for_strain_rate(), and Use_fixed_point_for_strain_rate.
void extrapolated_strain_rate | ( | const unsigned & | ipt, |
DenseMatrix< double > & | strainrate | ||
) | const |
Get strain-rate tensor: \( e_{ij} \) where \( i,j = r,z,\theta \) (in that order). Extrapolated from history values evaluated at integration point ipt. Overloaded version from base class.
References el_dim, i, latest_fixed_point_iteration_guess_for_strain_rate(), s, and Use_fixed_point_for_strain_rate.
Referenced by output(), square_of_norm_of_strain_invariant(), and square_of_norm_of_viscosity().
void extrapolated_strain_rate | ( | const Vector< double > & | s, |
DenseMatrix< double > & | strainrate | ||
) | const |
Get strain-rate tensor: \( e_{ij} \) where \( i,j = r,z,\theta \) (in that order). Extrapolated from history values evaluated at local coordinate s. Overloaded version from base class.
References el_dim, i, j, Nprev_for_extrapolation_of_strain_rate, OOMPH_CURRENT_FUNCTION, OOMPH_EXCEPTION_LOCATION, oomph::oomph_info, and s.
Get 'flux' for Z2 error recovery.
References oomph::Problem_Parameter::Critical_strain_rate, el_dim, boost::multiprecision::fabs(), ProblemParameters::flux(), i, j, OOMPH_EXCEPTION_LOCATION, s, and oomph::SecondInvariantHelper::second_invariant().
void latest_fixed_point_iteration_guess_for_strain_rate | ( | const unsigned & | ipt, |
DenseMatrix< double > & | strainrate | ||
) | const |
Return latest guess (obtained via fixed point iteration) for strain rate at integration point ipt
References Aitken_index, el_dim, Fixed_point_iteration_guess_for_strain_rate, i, and j.
Referenced by extrapolated_strain_rate(), and square_of_norm_of_fixed_point().
Constructor initialise error and set default for number of previous history values to be used for extrapolation of strain rate
References Aitken_index, el_dim, Error, Fixed_point_iteration_guess_for_strain_rate, Nprev_for_extrapolation_of_strain_rate, Use_aitken_extrapolation, Use_fixed_point_for_strain_rate, and calibrate::val.
unsigned& nprev_for_extrapolation_of_strain_rate | ( | ) |
Number of previous history values to be used for extrapolation of strain rate
References Nprev_for_extrapolation_of_strain_rate.
void output | ( | std::ostream & | outfile, |
const unsigned & | nplot | ||
) |
Overload output function.
References el_dim, Error, extrapolated_strain_rate(), boost::multiprecision::fabs(), i, j, k, s, oomph::SecondInvariantHelper::second_invariant(), size, sqrt(), and oomph::Problem_Parameter::Yield_stress.
void set_error | ( | const double & | error | ) |
double square_of_l2_norm | ( | ) |
Get square of L2 norm of velocity.
double square_of_norm_of_fixed_point | ( | double & | norm_squared, |
double & | latest_guess_norm_squared, | ||
double & | error_norm_squared | ||
) |
Get square of L2 norms of (i) current strainrate, (ii) its latest guess from fixed point iteration, (iii) difference between the two. Returns area as a check
References el_dim, i, J, latest_fixed_point_iteration_guess_for_strain_rate(), s, oomph::SecondInvariantHelper::second_invariant(), w, and oomph::QuadTreeNames::W.
double square_of_norm_of_strain_invariant | ( | double & | norm_squared, |
double & | extrapolated_norm_squared, | ||
double & | error_norm_squared | ||
) |
Get square of L2 norms of (i) strain invariant, (ii) its extrapolated value, (iii) difference between the two. Returns area as a check
References el_dim, extrapolated_strain_rate(), i, J, s, oomph::SecondInvariantHelper::second_invariant(), w, and oomph::QuadTreeNames::W.
double square_of_norm_of_viscosity | ( | double & | norm_squared, |
double & | extrapolated_norm_squared, | ||
double & | error_norm_squared | ||
) |
Get square of L2 norms of (i) viscosity, (ii) its extrapolated value, (iii) difference between the two. Returns area as a check
References el_dim, extrapolated_strain_rate(), i, J, s, oomph::SecondInvariantHelper::second_invariant(), w, and oomph::QuadTreeNames::W.
void update_latest_fixed_point_iteration_guess_for_strain_rate | ( | ) |
Update latest guess (obtained via fixed point iteration) for strain rate from current actual strain rate
References Aitken_index, el_dim, boost::multiprecision::fabs(), Fixed_point_iteration_guess_for_strain_rate, i, j, max, Eigen::bfloat16_impl::pow(), s, Use_aitken_extrapolation, v1(), and v2().
Referenced by enable_fixed_point_iteration_for_strain_rate().
std::string variable_identifier | ( | ) |
Return variable identifier.
References oomph::Global_string_for_annotation::string().
|
private |
unsigned storing the number of fixed point iterations after the last Aitken extrapolation
Referenced by enable_fixed_point_iteration_for_strain_rate(), latest_fixed_point_iteration_guess_for_strain_rate(), MyTaylorHoodElement(), and update_latest_fixed_point_iteration_guess_for_strain_rate().
|
private |
dimension
Referenced by oomph::DGFaceElement::add_flux_contributions(), oomph::FiniteElement::assemble_local_to_eulerian_jacobian(), oomph::RefineableElement::assemble_local_to_eulerian_jacobian(), oomph::FiniteElement::assemble_local_to_eulerian_jacobian2(), oomph::RefineableElement::assemble_local_to_eulerian_jacobian2(), oomph::SolidFiniteElement::assemble_local_to_lagrangian_jacobian(), oomph::RefineableSolidElement::assemble_local_to_lagrangian_jacobian(), oomph::SolidFiniteElement::assemble_local_to_lagrangian_jacobian2(), oomph::RefineableSolidElement::assemble_local_to_lagrangian_jacobian2(), AirwayReopeningProblem< ELEMENT >::connect_walls(), oomph::FiniteElement::d2shape_eulerian(), oomph::FiniteElement::d2shape_eulerian_at_knot(), oomph::SolidFiniteElement::d2shape_lagrangian(), oomph::SolidFiniteElement::d2shape_lagrangian_at_knot(), oomph::FiniteElement::d2shape_local_at_knot(), oomph::FiniteElement::d_dshape_eulerian_dnodal_coordinates(), ModalPRefineableQPoissonElement< DIM >::dbasis_eulerian(), ModalPRefineableQPoissonElement< DIM >::dbasis_eulerian_at_knot(), ModalPRefineableQPoissonElement< DIM >::dbasis_local_at_knot(), oomph::TPVDElement< DIM, NNODE_1D >::describe_local_dofs(), oomph::FiniteElement::dJ_eulerian_at_knot(), oomph::FiniteElement::dJ_eulerian_dnodal_coordinates(), CantileverProblem< ELEMENT >::doc_solution(), oomph::QTaylorHoodSpaceTimeElement< DIM >::dshape_and_dtest_eulerian_at_knot_nst(), oomph::QTaylorHoodMixedOrderSpaceTimeElement< DIM >::dshape_and_dtest_eulerian_at_knot_nst(), oomph::QUnsteadyHeatSpaceTimeElement< SPATIAL_DIM, NNODE_1D >::dshape_and_dtest_eulerian_at_knot_ust_heat(), oomph::QUnsteadyHeatMixedOrderSpaceTimeElement< SPATIAL_DIM, NNODE_1D >::dshape_and_dtest_eulerian_at_knot_ust_heat(), oomph::QTaylorHoodSpaceTimeElement< DIM >::dshape_and_dtest_eulerian_nst(), oomph::QTaylorHoodMixedOrderSpaceTimeElement< DIM >::dshape_and_dtest_eulerian_nst(), oomph::QUnsteadyHeatMixedOrderSpaceTimeElement< SPATIAL_DIM, NNODE_1D >::dshape_and_dtest_eulerian_ust_heat(), oomph::FiniteElement::dshape_eulerian(), oomph::FiniteElement::dshape_eulerian_at_knot(), oomph::SolidFiniteElement::dshape_lagrangian(), oomph::SolidFiniteElement::dshape_lagrangian_at_knot(), oomph::FiniteElement::dshape_local_at_knot(), extrapolated_strain_rate(), oomph::FluidInterfaceElement::fill_in_generic_residual_contribution_interface(), oomph::SpaceTimeUnsteadyHeatMixedOrderEquations< SPATIAL_DIM >::get_flux(), oomph::QSolidElementBase::get_x_and_xi(), oomph::QElementBase::get_x_from_macro_element(), get_Z2_flux(), oomph::SurfactantTransportInterfaceElement::integrate_c(), oomph::SolubleSurfactantTransportInterfaceElement::integrated_C(), oomph::SpaceTimeNavierStokesMixedOrderEquations< DIM >::interpolated_du_dt_nst(), oomph::SpaceTimeUnsteadyHeatMixedOrderEquations< SPATIAL_DIM >::interpolated_du_dt_ust_heat(), oomph::SolidFiniteElement::interpolated_dxids(), oomph::FiniteElement::invert_jacobian_mapping(), oomph::SolubleSurfactantTransportInterfaceElement::l2_norm_of_height(), latest_fixed_point_iteration_guess_for_strain_rate(), oomph::FiniteElement::local_to_eulerian_mapping(), oomph::FiniteElement::local_to_eulerian_mapping_diagonal(), oomph::RefineableElement::local_to_eulerian_mapping_diagonal(), oomph::SolidFiniteElement::local_to_lagrangian_mapping(), oomph::SolidFiniteElement::local_to_lagrangian_mapping_diagonal(), oomph::RefineableSolidElement::local_to_lagrangian_mapping_diagonal(), oomph::Multi_domain_functions::locate_zeta_for_local_coordinates(), MyTaylorHoodElement(), oomph::MySolidElement< ELEMENT >::output(), oomph::FluidInterfaceElement::output(), oomph::SurfactantTransportInterfaceElement::output(), oomph::FSISolidTractionElement< ELEMENT, DIM >::output(), output(), oomph::MyTaylorHoodElement< DIM >::output(), oomph::MyCrouzeixRaviartElement::output(), oomph::PoissonFluxElement< ELEMENT >::output(), oomph::ProjectableUnsteadyHeatSpaceTimeElement< UNSTEADY_HEAT_ELEMENT >::output(), oomph::ProjectableUnsteadyHeatMixedOrderSpaceTimeElement< UNSTEADY_HEAT_ELEMENT >::output(), oomph::ProjectableUnsteadyHeatElement< UNSTEADY_HEAT_ELEMENT >::output(), oomph::DGFaceElement::report_info(), oomph::DGFaceElement::setup_neighbour_info(), oomph::NavierStokesSpaceTimeTractionElement< ELEMENT >::shape_and_test_at_knot(), oomph::NavierStokesMixedOrderSpaceTimeTractionElement< ELEMENT >::shape_and_test_at_knot(), oomph::FiniteElement::shape_at_knot(), square_of_l2_norm(), oomph::MyTaylorHoodElement< DIM >::square_of_l2_norm(), oomph::MyCrouzeixRaviartElement::square_of_l2_norm(), square_of_norm_of_fixed_point(), square_of_norm_of_strain_invariant(), square_of_norm_of_viscosity(), oomph::FiniteElement::transform_second_derivatives(), and update_latest_fixed_point_iteration_guess_for_strain_rate().
|
private |
Storage for elemental error estimate – used for post-processing.
Referenced by MyTaylorHoodElement(), output(), and set_error().
|
private |
Current best guess for strain rate tensor (fixed point iteration)
Referenced by latest_fixed_point_iteration_guess_for_strain_rate(), MyTaylorHoodElement(), and update_latest_fixed_point_iteration_guess_for_strain_rate().
|
private |
Number of previous history values to be used for extrapolation of strain rate
Referenced by extrapolated_strain_rate(), MyTaylorHoodElement(), and nprev_for_extrapolation_of_strain_rate().
|
private |
Boolean to indicate whether we use Aitken extrapolation during the fixed point iterations
Referenced by disable_aitken_extrapolation(), disable_fixed_point_iteration_for_strain_rate(), enable_aitken_extrapolation(), MyTaylorHoodElement(), and update_latest_fixed_point_iteration_guess_for_strain_rate().
|
private |
Boolean to indicate if we're using a fixed point iteration for the strain rate that forms the basis for the invariant
Referenced by disable_fixed_point_iteration_for_strain_rate(), enable_fixed_point_iteration_for_strain_rate(), extrapolated_strain_rate(), and MyTaylorHoodElement().