Line data Source code
1 : //* This file is part of the MOOSE framework 2 : //* https://mooseframework.inl.gov 3 : //* 4 : //* All rights reserved, see COPYRIGHT for full restrictions 5 : //* https://github.com/idaholab/moose/blob/master/COPYRIGHT 6 : //* 7 : //* Licensed under LGPL 2.1, please see LICENSE for details 8 : //* https://www.gnu.org/licenses/lgpl-2.1.html 9 : 10 : #pragma once 11 : 12 : #include "XFEMMovingInterfaceVelocityBase.h" 13 : 14 : class XFEMPhaseTransitionMovingInterfaceVelocity : public XFEMMovingInterfaceVelocityBase 15 : { 16 : public: 17 : static InputParameters validParams(); 18 : 19 : XFEMPhaseTransitionMovingInterfaceVelocity(const InputParameters & parameters); 20 24 : virtual ~XFEMPhaseTransitionMovingInterfaceVelocity() {} 21 : 22 : virtual Real computeMovingInterfaceVelocity(dof_id_type point_id, 23 : RealVectorValue normal) const override; 24 : 25 : protected: 26 : /// Diffusivity in the positive level set region 27 : Real _diffusivity_at_positive_level_set; 28 : 29 : /// Diffusivity in the negative level set region 30 : Real _diffusivity_at_negative_level_set; 31 : 32 : /// Jump of the equilibrium concentrations at phase boundary 33 : Real _equilibrium_concentration_jump; 34 : };