https://mooseframework.inl.gov
WCNSFV2PMomentumDriftFlux.h
Go to the documentation of this file.
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 "MathFVUtils.h"
13 #include "INSFVFluxKernel.h"
15 
20 {
21 public:
25  void gatherRCData(const FaceInfo & fi) override final;
26 
27 protected:
32  virtual ADReal computeStrongResidual(const bool populate_a_coeffs);
33 
34  virtual ADReal computeSegregatedContribution() override;
35 
37  const unsigned int _dim;
38 
41 
44 
51 
54 
56  ADReal _ae = 0;
57 
59  ADReal _an = 0;
60 };
const Moose::Functor< ADReal > & _u_slip
slip velocity in direction x
const Moose::Functor< ADReal > *const _v_slip
slip velocity in direction y
const Moose::FV::InterpMethod _density_interp_method
The face interpolation method for the density.
A flux kernel that momentum residual objects that add non-advection flux terms, or more specifically ...
const Moose::Functor< ADReal > *const _w_slip
slip velocity in direction z
ADReal _an
The a coefficient for the neighbor.
WCNSFV2PMomentumDriftFlux(const InputParameters &params)
DualNumber< Real, DNDerivativeType, true > ADReal
void gatherRCData(const FaceInfo &fi) override final
Should be a non-empty implementation if the residual object is a FVFluxKernel and introduces residual...
virtual ADReal computeStrongResidual(const bool populate_a_coeffs)
Routine to compute this object&#39;s strong residual (e.g.
const unsigned int _dim
The dimension of the simulation.
static InputParameters validParams()
void gatherRCData(const Elem &) override final
Should be a non-empty implementation if the residual object is a FVElementalKernel and introduces res...
const Moose::Functor< ADReal > & _f_d
Dispersed phase fraction.
virtual ADReal computeSegregatedContribution() override
Compute the contribution which goes into the residual of the segregated system.
Adds drift flux kernel coming for two-phase mixture model.
const Moose::Functor< ADReal > & _rho_d
Dispersed phase density.
ADReal _ae
The a coefficient for the element.