Skip to content

Commit

Permalink
[BGRa] Corrected the documentation for doxygen
Browse files Browse the repository at this point in the history
  • Loading branch information
wenqing committed Jul 30, 2018
1 parent 898b8bb commit 4c1df12
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions MaterialLib/SolidModels/CreepBGRa.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ namespace Solids
namespace Creep
{
/**
* \Brief A class for computing the BGRa creep model, which reads
* \brief A class for computing the BGRa creep model, which reads
* \f[
* \dot \mathbf{\epsilon}^{cr}=\frac{3}{2}A \mathrm{e}^{-\frac{Q}{RT}}
* \left(\dfrac{\sigma_{eff}}{sigma_0}\right)\dfrac{\mathbf{s}}{||\mathbf{s}||}
* \dot {\mathbf{\epsilon}}^{cr}=\sqrt{\frac{3}{2}}A \mathrm{e}^{-\frac{Q}{RT}}
* \left(\frac{\sigma_{eff}}{\sigma_0}\right)^n\frac{\mathbf{s}}{||\mathbf{s}||}
* \f]
* where $f\sigma_{eff}=\sqrt{\frac{3}{2}}||\mathbf{s}|$f, $fA, sigma_0, n, Q$f
* are parameter, and $fR$f is the gas constant.
* where \f$\sigma_{eff}=\sqrt{\frac{3}{2}}||\mathbf{s}||\f$, \f$A, \sigma_0, n,
* Q\f$ are parameter, and \f$R\f$ is the gas constant.
*
*/
template <int DisplacementDim>
Expand Down Expand Up @@ -70,16 +70,17 @@ class CreepBGRa final : public LinearElasticIsotropic<DisplacementDim>
{
}

boost::optional<
std::tuple<KelvinVector, std::unique_ptr<typename MechanicsBase<
DisplacementDim>::MaterialStateVariables>,
KelvinMatrix>>
boost::optional<std::tuple<KelvinVector,
std::unique_ptr<typename MechanicsBase<
DisplacementDim>::MaterialStateVariables>,
KelvinMatrix>>
integrateStress(
double const t, ProcessLib::SpatialPosition const& x, double const dt,
KelvinVector const& eps_prev, KelvinVector const& eps,
KelvinVector const& sigma_prev,
typename MechanicsBase<DisplacementDim>::MaterialStateVariables const&
material_state_variables, double const T) override;
material_state_variables,
double const T) override;

ConstitutiveModel getConstitutiveModel() const override
{
Expand All @@ -93,15 +94,15 @@ class CreepBGRa final : public LinearElasticIsotropic<DisplacementDim>
private:
NumLib::NewtonRaphsonSolverParameters const _nonlinear_solver_parameters;

const double _n; /// Creep rate exponent n.
/// $fA\left(\frac{3}{2}\right)^{n/2+1}/\sigma_{eff}^n $f
const double _n; /// Creep rate exponent n.
/// \f$A\left(\frac{3}{2}\right)^{n/2+1}/\sigma_{eff}^n \f$
const double _coef;
const double _q; /// Activation energy
const double _q; /// Activation energy
};

extern template class CreepBGRa<2>;
extern template class CreepBGRa<3>;

} // end of namespace Creep
} // end of namespace Solids
} // end of namespace CreepBGRa
} // namespace MaterialLib

0 comments on commit 4c1df12

Please sign in to comment.