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